Uh oh!
There was an error while loading. Please reload this page.
refactor: ブラウザ自動テストの Skill を 9 個から 4 個へ集約 (0-5) - #71
Merged
takemi-ohama merged 3 commits intoAug 8, 2026
Conversation
Task 0-5。ブラウザ自動テスト関連の 9 Skill を工程単位で 4 個に集約する。 - playwright-planning ← playwright-test-planning + playwright-scenario-test - playwright-authoring ← playwright-script-creation + playwright-execution + browser-test + playwright-browser-connect - playwright-evidence ← playwright-report + playwright-evidence-drive - playwright-kit-ops は実行環境ディレクトリを持つため単独で維持 単純連結ではなく重複記述を落として再構成し、SKILL.md 合計は 1,381 行から 662 行へ削減した。playwright-browser-connect の CDP 接続手順は playwright-authoring/references/browser-connection.md へ分割し、 全 SKILL.md を 500 行以内に収めた。 manifest は claude / kiro の browser-test を playwright-authoring に置換し、 codex の playwright 系 5 個を統合後の 4 個へ置換した。 旧 Skill 名への参照 (README / plugin.json / issue-plan-strategy / playwright_kit の docstring とテンプレート) をすべて更新した。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AGejnYyYFuSkQjBhW2KQNy
takemi-ohama
commented
Aug 8, 2026
takemi-ohama
left a comment
ContributorAuthor
There was a problem hiding this comment.
🤖 cross-review | round 1 | codex | APPROVE
修正必須の指摘はありません。
takemi-ohama
commented
Aug 8, 2026
takemi-ohama
left a comment
ContributorAuthor
There was a problem hiding this comment.
🤖 cross-review | round 1 | gemini | APPROVE
Skill 統合・削除の網羅性、および 3 ランタイム (Claude Code / Codex / Kiro) への配布物・manifest 反映を重点的に確認しました。
削除・統合対象の参照漏れはなく、manifest の更新も正確に行われています。修正が必要な点はありません。
takemi-ohama
commented
Aug 8, 2026
takemi-ohama
left a comment
ContributorAuthor
There was a problem hiding this comment.
🤖 cross-review | round 2 | codex | APPROVE
修正必須の指摘はありません。旧 Skill 名の参照漏れ、3 runtime の manifest / 生成物同期、Markdown link、runtime plugin validation を確認しました。
takemi-ohama
commented
Aug 8, 2026
takemi-ohama
left a comment
ContributorAuthor
There was a problem hiding this comment.
🤖 cross-review | round 2 | gemini | APPROVE
Skill の統合・削除による不要ファイルのパージと、それに伴う各ランタイム向け plugin.json やマニフェストファイル (codex-skills.txt, claude-skills.txt, kiro-skills.txt) の整合性を確認しました。
- 削除された古い Skill (
browser-testやpython-execution等) への参照漏れがないことを確認済みです。 playwright_kitへのリネーム、および配布先ごとの Skill 選別がマニフェストおよびドキュメントに正しく反映されており、設計や仕様に矛盾や問題はありません。
takemi-ohama
marked this pull request as ready for review
August 8, 2026 03:36
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama added a commit
that referenced
this pull request
Aug 8, 2026
release ブランチ側の削除 (PR #71 ブラウザ自動テスト集約 / PR #72 Skill 削除) と 本ブランチ側の統合 (review / fix) の双方を反映した。 - manifest 3 種と plugin.json は両者の削除を反映した積集合にした (claude 24 / codex 24 / kiro 23、shared 33) - browser-test は playwright-authoring へ統合済みのため削除し、 同 Skill に残っていた /ndf:review-branch 参照を /ndf:review --branch へ更新 - README の Skill 一覧と個数を実体に一致させた
takemi-ohama added a commit
that referenced
this pull request
Aug 8, 2026
並行 PR (#68 review/fix 系統合、#71 ブラウザ自動テスト集約、#72 Skill 削除) が 先に release へ入ったため、本ブランチの external-ai 統合と競合していた。 競合解消方針: - manifest / plugin.json の skills は両ブランチの削除を両方反映 (積集合)。 release が消した review-branch / review-pr-comments / resolve-pr-comments / browser-test と、本ブランチが消した codex / gemini をいずれも除去し、 release が追加した playwright-authoring と本ブランチの external-ai を残した。 - review / cross-review SKILL.md は release 側の再構成をベースに採用し、 本ブランチの /ndf:codex /ndf:gemini → /ndf:external-ai 参照差し替えを再適用。 - README.md の Skill 一覧と個数は plugins/ndf-shared/skills/ と manifest の 実数から数え直した (元Skills 32個 / Claude 23・Kiro 23・Codex 25)。 - plugins/ndf-{claude,codex,kiro}/skills/ は共有側を直したうえで scripts/build-runtime-plugins.sh で再生成。
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Task 0-5。ブラウザ自動テスト関連の 9 Skill を工程単位で 4 個へ集約する。単純連結ではなく、重複記述を落として再構成した。
統合後の Skill 名と対応
playwright-planningplaywright-test-planning+playwright-scenario-testplaywright-authoringplaywright-script-creation+playwright-execution+browser-test+playwright-browser-connectplaywright-evidenceplaywright-report+playwright-evidence-driveplaywright-kit-opsplaywright-kit-ops(改名せず単独で維持)playwright-kit-opsは playwright_kit パッケージ本体・tests/・scripts/・templates/を持つため他へ吸収せず、ディレクトリ配置も変更していない。scripts/build-runtime-plugins.shの除外パターン(.venv/.pytest_cache/__pycache__/*.pyc/*.pyoをfindで除去)は Skill ディレクトリを丸ごと走査するため、この配置のまま従来どおり効く。playwright-scenario-testが担っていた orchestrator の役割(大原則・全体ワークフロー・クイックスタート)は、工程の入口であるplaywright-planningへ移した。統合前後の行数
SKILL.mdの行数。playwright-planningplaywright-test-planning97 +playwright-scenario-test68playwright-authoringplaywright-script-creation108 +playwright-execution101 +browser-test159 +playwright-browser-connect484playwright-evidenceplaywright-report55 +playwright-evidence-drive190playwright-kit-opsplaywright-kit-ops119SKILL.md合計は 1,381 → 662 行(-52%)。統合元に 484 行(上限 500 行間際)のplaywright-browser-connectがあったため、CDP 接続の手順をplaywright-authoring/references/browser-connection.md(326 行)へ分割した。補助ファイルを含めても 1,381 → 988 行(-28%) で、統合前合計を下回る。全SKILL.mdは 500 行以内(最大 250 行)に収まっている。playwright-browser-connectでは Chrome 起動コマンドが Windows で 3 回・macOS で 2 回重複し、--remote-allow-origins=*の説明も 3 箇所にあった。これらをフラグ表 1 つへ集約したことが削減の主因である。manifest の判断
claude-skills.txtbrowser-test→playwright-authoring(用途順の同位置を維持、29 個で不変)kiro-skills.txtcodex-skills.txtplaywright-execution/playwright-kit-ops/playwright-report/playwright-script-creation/playwright-test-planningの 5 個 →playwright-authoring/playwright-evidence/playwright-kit-ops/playwright-planningの 4 個(アルファベット順、30 → 29 個)判断理由:
playwright-authoringのみを載せる: 統合前に両 runtime へ配布していたのはbrowser-test1 個だけで、pytest ベースの一式は codex 限定だった。browser-testの内容は「MCP でのブラウザ動作確認」節としてplaywright-authoringに入ったため、この 1 個を置き換えれば従来の配布範囲を過不足なく引き継げる。playwright-kit-opsを追加すると Python パッケージ一式が両 runtime の配布物に加わり、配布範囲の拡大という別判断になるため本 PR では行わない。playwright-evidenceを載せる: 統合元のうちplaywright-reportは codex に載っており、playwright-evidence-driveは載っていなかった。統合後は Drive 連携の記述を含むが、playwright-kit-opsが既に「Codex 公開セットにはgoogle-authskill を同梱しないためGOOGLE_AUTH_SCRIPTSを設定する」と optional dependency として案内済みで、同じ扱いで整合する。レポート生成という codex に必要な機能を落とさないことを優先した。playwright-authoringの「関連 Skill」に、他の 3 個が codex 公開セット同梱であり claude / kiro ではplugins/ndf-shared/skills/を参照する旨を注記した。frontmatter
descriptionは二重引用符で囲み、最初の 1 文に「何をするか + 主要トリガ」を置いた。when_to_useには追加トリガのみを残している。<>は含まない。descriptionwhen_to_useplaywright-planningplaywright-authoringplaywright-evidenceplaywright-kit-opsいずれも運用目標 300 文字以内 / 合計 1,536 文字以内に収まる。
disable-model-invocationの付け外しは Task 0-7 の担当範囲のため行っていないが、統合元 4 個のうちbrowser-testだけがこれを持っていたため、統合により結果として外れている(残る 3 個は自動発動可)。3 個分の自動発動を失う方が損失が大きいと判断した。browser-testのargument-hint: "[url]"は URL 指定のスモーク確認で使うため引き継いだ。Task 0-7 で再評価する。更新した参照箇所
plugins/ndf-shared/manifests/{claude,codex,kiro}-skills.txtplugins/ndf-claude/.claude-plugin/plugin.json./skills/browser-test→./skills/playwright-authoringREADME.mdstatuslineを運用カテゴリへ追加し、内訳の合計を総数と一致させたplugins/ndf-shared/skills/issue-plan-strategy/SKILL.md/ndf:playwright-scenario-test→/ndf:playwright-planning(2 箇所)plugins/ndf-shared/skills/playwright-kit-ops/SKILL.mdplaywright-kit-ops/templates/conftest.py.template/templates/scenario.config.yaml/ndf:playwright-browser-connect→/ndf:playwright-authoringplaywright-kit-ops/playwright_kit/pytest_plugin.py/playwright_kit/fixtures/__init__.pyplaywright-scenario-testを除去plugins/ndf-{claude,codex,kiro}/skills/はbash scripts/build-runtime-plugins.shで同期した生成物であり、直接編集していない。issues/配下のプラン文書、docs/superpowers/plans|specs/、docs/external-reviews/は当時の記録であるため書き換えていない。Test plan
bash scripts/build-runtime-plugins.sh— 生成物を同期bash scripts/build-runtime-plugins.sh --check—runtime plugin generated files are up to date(差異なし)python3 scripts/check-markdown-links.py --root .—Markdown local links are validbash scripts/validate-runtime-plugins.sh—runtime plugin validation passed(claude plugin validate2 件、manifest / 生成パス検査、Kiro installer の dry-run を含む)issues//docs/superpowers//docs/external-reviews/)以外に残存参照なしSKILL.mdが 500 行以内(最大playwright-authoring250 行)SKILL.md合計 662 行 < 統合前合計 1,381 行release PR: #66