adopt
Add docflow to a repo that already has docs, without rewriting them. Adds missing config, folders, helpers, agent guidance, and an adoption review. Use when docs already exist or doctor recommends ado
SKILL.mdplugins/MedAdemBHA/docflow/skills/adopt/SKILL.md
GitHubadopt
Goal: preserve existing docs, add missing docflow infrastructure.
Steps
Run doctor:
bash scripts/docflow-doctor.sh --target <REPO ROOT>Choose docs root:
- Use detected docs root if present.
- Else use
docs.
Choose project name:
- Prefer README H1.
- Else repo folder name.
Run adopt:
bash scripts/docflow-adopt.sh --target <REPO ROOT> --docs-root <DOCS_ROOT> --project "<PROJECT NAME>"Report created/skipped files and point at the adoption review doc.
Rules
- Never move/delete/rewrite existing docs.
- Existing root guidance files are preserved.
- Run
/docflow:repairafter manual cleanup.