From dev-workflow
リポジトリのコードベースを自動調査し、project-context.md を生成する。新しいリポジトリで dev-workflow プラグインを使い始めるときや、プロジェクト構成が大きく変わったときに使用する。「project-context を作って」「セットアップして」などのリクエストでも発動すること。
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:setup-project-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
リポジトリのコードベースを自動調査し、`.claude/skills/references/project-context.md` を生成する。
リポジトリのコードベースを自動調査し、.claude/skills/references/project-context.md を生成する。
テンプレート(project-context-template.md)の各セクションにある HTML コメント(<!-- -->)を、調査結果に基づくプロジェクト固有の情報で置き換える。
プラグイン内のテンプレートファイルを読み込む。
plugins/dev-workflow/skills/references/project-context-template.md
テンプレートの構造を把握し、各セクションで何を記述すべきかを理解する。
以下の観点でリポジトリを網羅的に調査する。調査は推測ではなく、実際にファイルを読んで確認した事実に基づくこと。
package.json, go.mod, build.gradle.kts, Cargo.toml, pom.xml 等のプロジェクト定義ファイルpnpm-workspace.yaml, settings.gradle.kts, go.work など)src/, lib/, internal/, pkg/, app/, cmd/ などの主要ディレクトリの役割を把握する.github/workflows/, .circleci/ など)を確認し、CI で実行される検証項目を把握するgh label list が使える場合)自動調査だけでは把握しきれない情報をユーザーに確認する。以下の観点でまとめて質問し、回答を生成内容に反映する。
質問は箇条書きでまとめて一度に提示し、やり取りの往復を最小限にする。ユーザーが「特にない」と回答した場合は自動調査の結果のみで生成を進める。
テンプレートの各セクションを調査結果とヒアリング内容で埋め、.claude/skills/references/project-context.md に出力する。
<!-- -->)はすべて削除し、実際の内容に置き換えるgo fmt ではなく gofumpt を使う)も記載するmkdir -p .claude/skills/references
生成した内容を .claude/skills/references/project-context.md に書き込む。
.claude/skills/references/project-context.md.new に書き込む生成した project-context.md の内容をユーザーに報告する。以下を含めること:
npx claudepluginhub bright-room/br-claude-plugins --plugin dev-workflowAnalyzes project structure, tech stack, test frameworks, code conventions, and architecture to generate a compact context file for downstream dev-* skills.
Discovers git state, project structure, language/framework, and dev tooling in unfamiliar codebases. Provides structured summary with risk flags and recommendations for onboarding.
Analyzes unfamiliar codebases to generate structured onboarding guides with architecture maps, key entry points, conventions, and starter CLAUDE.md.