bmad-document-project

Generate AI-ready Markdown documentation from brownfield repositories.

Updated May 17, 2026
One-click install
npx skills add https://github.com/thuantan2060/facebook-sale-tracking --skill bmad-document-project-thuantan2060
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-document-project
Source: https://github.com/thuantan2060/facebook-sale-tracking/tree/main/.agents/skills/bmad-document-project
Command: npx skills add https://github.com/thuantan2060/facebook-sale-tracking --skill bmad-document-project-thuantan2060

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns an existing, messy (“brownfield”) codebase into clear, AI-consumable project documentation so planning and implementation can move faster without guessing.

Core Features & Use Cases

  • Resumable documentation workflow: Supports fresh scans, full rescans, and deep-dive runs with state tracking and resume prompts.
  • Context loading + configuration: Resolves a customizable workflow (customize.toml + _bmad overrides) and loads persistent facts and runtime config from _bmad/bmm/config.yaml.
  • Brownfield documentation outputs: Produces a master index plus generated artifacts like source-tree analysis, architecture docs, development/deployment guides, and optional API/data-model documentation depending on detected requirements.

Quick Start

Ask an AI agent to run the bmad-document-project skill and generate brownfield documentation for this repository, using a deep scan and writing results into the project knowledge directory.

Frequently Asked Questions about bmad-document-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI-ready documentation for an existing brownfield codebase?

To generate AI-ready documentation for a brownfield codebase, you run a project scanning workflow that analyzes your source tree and outputs Markdown artifacts like architecture docs and master indexes. It turns messy existing code into clear, AI-consumable context.

What is the best way to document API contracts and data models for AI context?

The best way to document API contracts and data models for AI context is using an exhaustive deep-dive scan. This process detects project requirements and produces validated Markdown outputs, ensuring AI agents can understand your architecture without guessing.

Can I resume a brownfield documentation workflow if my project scanning is interrupted?

Yes, you can resume a brownfield documentation workflow if project scanning is interrupted. The process supports state tracking and resume prompts, allowing you to pause and continue fresh scans, full rescans, or deep-dive runs without losing progress.

Does this brownfield project documentation approach support configurable scan depth?

Yes, brownfield project documentation supports configurable scan depth. You can resolve runtime configuration and workflow customization to select your scan mode, controlling whether you perform a quick initial scan or an exhaustive deep-dive documentation run.

What outputs are generated when mapping architecture for an existing repository?

When mapping architecture for an existing repository, the generated outputs include a master index, source-tree analysis, architecture docs, and development or deployment guides. It optionally produces API contracts and data models depending on detected project requirements.

When should I not use an automated project scanner for brownfield documentation?

You should not use an automated project scanner for brownfield documentation if your repository lacks persistent facts or requires manual architectural interpretation. The workflow relies on resolving runtime config and loading workflow customization to generate accurate AI context.