Bmad Document Projectのロゴ

Bmad Document Project

コミュニティ
aj-geddes
bmad-document-project

BROWNFIELDの計画用インプットです。既存のコードベースを読み取り専用でスキャンし、project-documentation.mdを作成します。これは、技術スタック、構成、主要なフロー、規約、統合ポイントを示す正確な資料となり、後続のBMAD計画スキルが実態に即して作業を始められます。コードは変更せず、ドキュメントのアーティファクトのみを作成します。ユーザーが「document this codebase」「document the project」「document my app」「scan the existing code」「brownfield planning」「we have existing code, start planning」「map what's already built」「document current state」「capture the current architecture」「understand the existing system before planning」「write project-documentation.md」と言った場合、またはすでにコードがある状態でPRDやアーキテクチャ文書を作る前に使用します。インテントは3つです。Create(初回スキャン)、Update(変更箇所を再スキャン)、Validate(網羅性をチェック)。計画のみを行います。コードは読み取りますが、書き込みは行いません。テスト、リンター、ビルドツール、アプリケーションコードも実行・作成しません。

Add to TypingMind

概要

公開者aj-geddes
リポジトリclaude-code-bmad-skills
スキル名bmad-document-project
スター
492
フォーク
77
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    aj-geddesがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Bmad Document Project」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-document-project
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aj-geddes/claude-code-bmad-skills.git /tmp/claude-code-bmad-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-bmad-skills/bmad-planning-orchestrator/skills/bmad-document-project .claude/skills/bmad-document-project
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBmad Document Projectを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBmad Document Projectを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bmad Document Projectは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

BMAD Document Project

BROWNFIELD entry point. When a project already has code, planning skills need ground truth — not guesses about the stack or conventions. This skill performs a systematic, READ-ONLY codebase scan and emits project-documentation.md, the authoritative current-state snapshot that every downstream BMAD planning skill loads.

No code is written, modified, or executed. Allowed tools are Read, Glob, Grep, Write (for the output document only), and TodoWrite (to track scan progress).


Output

bmad-output/project-documentation.md
(or the user-configured output folder — honor it)

Load bmad-output/project-context.md if it exists; merge any constraints already recorded there rather than rediscovering them from scratch.


Three Intents

Ask which intent applies if ambiguous; never silently regenerate an existing document.

Create — initial scan

Use TodoWrite to track the six scan passes below. Complete every pass before writing the final document.

Pass 1 — Repository skeleton

Glob: **/* (depth ≤ 3, exclude node_modules, .git, dist, build, __pycache__, .venv)
Glob: *.md, *.txt, *.rst at root and docs/

Capture: directory tree shape, presence of monorepo markers (packages/, apps/, libs/), top-level config files, documentation roots.

Pass 2 — Stack and toolchain

Read whichever of these exist (don't fail on missing files):

FileWhat to extract
package.json / package-lock.jsonruntime + dev deps, scripts
pyproject.toml / requirements*.txt / PipfilePython stack
go.modGo module + dependencies
Cargo.tomlRust crate
pom.xml / build.gradleJVM stack
GemfileRuby stack
composer.jsonPHP stack
*.csproj / *.sln.NET stack
Dockerfile / docker-compose*.ymlcontainer strategy
.github/workflows/*.yml / *.gitlab-ci.yml / JenkinsfileCI/CD chain
*.tf / *.bicep / *.yaml (in infra/)IaC / cloud provider

Record: primary language, frameworks, major libraries, runtime version pins, test frameworks (note them — do NOT run them), build tool, package manager.

Pass 3 — Entry points and key flows

Grep: "main\|entrypoint\|app\.listen\|createServer\|handler\|router\|routes"
Grep: "export default\|module\.exports\|@app\.route\|@Controller\|@RestController"

Read the top-level entry files surfaced (max 5–8 files; skim, don't exhaustively read).

Capture: how the app starts, primary routing layer, authentication/middleware chain (names only), background workers or queues detected.

Pass 4 — Module / domain structure

Read directory names and index.* / __init__.* files one level down from src/, app/, lib/, or the equivalent.

Glob: src/**/index.{ts,js,py,go,rb}
Glob: app/**/__init__.py

Capture: module names and inferred responsibility, layer boundaries (controllers / services / repositories / models / utils), shared utilities.

Pass 5 — Conventions and patterns

Sample 3–5 representative files per layer (prefer recently modified if discernible from file names / path depth):

Grep: "class \|interface \|type \|enum " — naming style
Grep: "async \|await \|Promise\|goroutine\|concurrent" — concurrency pattern
Grep: "import \|require\|from " — module resolution style
Grep: "console\.log\|logger\.\|log\." — logging approach
Grep: "\.env\|process\.env\|os\.environ\|config\." — config/secrets pattern

Capture: naming conventions (casing style for files, classes, functions), error handling style, logging approach, config/secrets management, test file location convention (name only — no execution).

Pass 6 — Integration points

Grep: "http[s]\?://\|fetch(\|axios\.\|requests\.\|http\.Get\|RestTemplate"
Grep: "database\|db\.\|pool\.\|prisma\.\|mongoose\.\|sqlx\.\|gorm\."
Grep: "redis\|kafka\|rabbitmq\|sqs\|pubsub\|queue\|event"
Grep: "s3\.\|storage\.\|blob\.\|bucket"

Capture: external HTTP APIs called (domains/service names, not secrets), database type and ORM/driver, message queues or event buses, object storage, third-party services (payment, email, auth providers — names only).

Write the document

Fill ${CLAUDE_PLUGIN_ROOT}/skills/bmad-document-project/templates/project-documentation.template.md → bmad-output/project-documentation.md.

Use the Write tool. Leave sections with a <!-- not detected --> comment rather than inventing content. Accuracy over completeness.


Update — re-scan changed areas

  1. Read existing project-documentation.md.
  2. Ask the user which areas changed (new module? new dependency? refactor?).
  3. Re-run only the relevant passes above for those areas.
  4. Edit the document surgically with precise rewrites of changed sections.
  5. Append a dated update note at the bottom of the document.

Do NOT regenerate the full document from scratch if only part has changed.


Validate — check completeness

Read the existing project-documentation.md and verify:

  • All six scan areas have content (not blank or "not detected" for everything)
  • Stack section names the primary language, framework, and major deps
  • Entry points section names at least one bootstrap/start file
  • Module structure lists recognizable domain names
  • Conventions covers naming style and error handling
  • Integration points lists external dependencies (or explicitly states "none")
  • No fabricated file paths (cross-check one or two with Glob)

Report a pass/fail checklist. Offer to fill gaps rather than silently editing.


Scope Boundary

This skill is READ-ONLY except for its single output document. It:

  • Does NOT modify any source file.
  • Does NOT run tests, build scripts, linters, or coverage tools.
  • Does NOT generate application code, migration files, or fixtures.
  • Does NOT implement features or review diffs.

If a scan reveals something worth fixing, record it as a planning note in the document — do not fix it.


Handoff

Once project-documentation.md is written, it becomes the brownfield input for:

  • bmad-init — seed project-context.md with the detected stack and constraints.
  • bmad-prd — ground truth for existing capabilities and integration constraints.
  • bmad-architecture — baseline architecture to evolve rather than design from scratch.
  • bmad-tech-spec (Quick Flow) — concrete starting point for a focused spec.

State the recommended next step when the document is ready.


Persona Note

This analysis role aligns with Mary (Business Analyst) in the BMAD Method — start with what exists before prescribing what should change. The document is her field notes: precise, sourced, free of conjecture.



Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of bmad-document-project. All methodology credit belongs to the BMAD Code Organization.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Bmad Document Project」では何ができますか?

BROWNFIELDの計画用インプットです。既存のコードベースを読み取り専用でスキャンし、project-documentation.mdを作成します。これは、技術スタック、構成、主要なフロー、規約、統合ポイントを示す正確な資料となり、後続のBMAD計画スキルが実態に即して作業を始められます。コードは変更せず、ドキュメントのアーティファクトのみを作成します。ユーザーが「document this codebase」「document the project」「document my app」「scan the existing code」「brownfield planning」「we have existing code, start planning」「map what's already built」「document current state」「capture the current architecture」「understand the existing system before planning」「write project-documentation.md」と言った場合、またはすでにコードがある状態でPRDやアーキテクチャ文書を作る前に使用します。インテントは3つです。Create(初回スキャン)、Update(変更箇所を再スキャン)、Validate(網...

TypingMindでBmad Document Projectを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bmad Document Projectはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBmad Document Projectをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-document-projectを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Bmad Document Projectを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Bmad Document Projectで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBmad Document Projectを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bmad Document Project」は無料ですか?

aj-geddesがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇