A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
Docflow
Documentation memory for AI coding agents, route project knowledge, reduce repeated context loading, and validate living Markdown docs.
Install: /plugin marketplace add https://github.com/MedAdemBHA/docflow
Works with Claude Code, Codex · 44 GitHub stars
Install
/plugin marketplace add https://github.com/MedAdemBHA/docflowInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →docflow
Why DocFlow · Install · Demo · Context proof · Example repo · Security
DocFlow gives AI coding agents durable project memory. It organizes what the product does, how it works, why decisions were made, what is planned, and what shipped—then routes the agent to the smallest relevant document.
Plain Markdown. Small Bash helpers. No database, hosted service, or source-code rewrite.
Status: early MVP. Claude Code plugin setup works today. Codex works through repository guidance and local plugin development; a public Codex directory listing is not published yet.
Why DocFlow
| Without DocFlow | With DocFlow |
|---|---|
| Every new session rediscovers the documentation layout | The agent starts from one compact path → purpose map |
| Product behavior, implementation, and decisions are mixed together | WHAT, HOW, and WHY have stable homes |
| Existing docs may need a risky manual migration | doctor chooses init, adopt, or repair; adoption preserves existing docs |
| Recent shipped work depends on chat history or memory | An append-only monthly changelog carries outcomes into later sessions |
| Broken links and stale indexes are found by accident | Validation checks links, headings, map freshness, and required structure |
| Large documentation sets may be read broadly | The agent opens one routed document first; measured initial docs context stayed below 1% in two established repositories |
What changes in your repository
your-repo/
├── AGENTS.md # agent start and routing rules
├── GEMINI.md # points Gemini to the same rules
├── .cursorrules # points Cursor to the same rules
├── docflow.json # docs root + validation profile
├── docs/
│ ├── README.md # human documentation hub
│ ├── INDEX.md # compact map agents read first
│ ├── product-spec/ # WHAT the product does
│ ├── specs/ # HOW it is implemented
│ ├── decisions/ # WHY choices were made
│ ├── plans/ # planned and in-progress work
│ ├── reviews/ # audits, quality, and known bugs
│ └── changelog/ # shipped outcomes by month
└── scripts/ # doctor, repair, map, links, validation
DocFlow does not move existing documentation during adoption, edit application source code, call a remote service, or silently fix user-authored content.
Install And Run
Claude Code — plugin setup
Run these inside Claude Code:
/plugin marketplace add https://github.com/MedAdemBHA/docflow
/plugin install docflow
/reload-plugins
Then open the target repository:
/docflow:doctor
Run the one next command it recommends. Type /docflow: to browse commands, or ask naturally: “is DocFlow ready here?”, “where is authentication documented?”, or “add this release to the changelog.”
Codex, Gemini, Cursor, or any agent — repository setup
This is the verified portable path today:
git clone https://github.com/MedAdemBHA/docflow.git
cd docflow
# Read-only diagnosis first
bash scripts/docflow-doctor.sh --target /path/to/your-repo
# Empty/new documentation
bash scripts/scaffold.sh --target /path/to/your-repo --docs-root docs --project "My App"
# OR: preserve and adopt existing documentation
bash scripts/docflow-adopt.sh --target /path/to/your-repo --docs-root docs --project "My App"
Similar plugs
A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progress
Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP…
Memori is agent-native memory infrastructure. A LLM-agnostic layer that turns agent execution and conversation into structured, persistent state for production systems. Built…