From sd0x-dev-flow
Researches current code state and updates feature documentation under docs/features/ to keep docs in sync with code changes after commits or manually.
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowThis skill is limited to using the following tools:
- Keywords: update docs, sync docs, docs out of date, update-docs
Implements two-phase workflow to analyze code changes via git diff and update project documentation. Use before merging branches, after features/bugfixes, or when docs stale.
Updates only affected docs/ files after code changes to ensure consistency with code behavior. Includes checklists for API docs, README, ARCHITECTURE.md; update principles; dispatcher verification.
Updates project documentation (README, API docs, auto-detect) based on recent git changes. Asks scope, analyzes diffs, spawns docs-keeper agent, verifies links/examples.
Share bugs, ideas, or general feedback.
/codex-review-doc)/tech-spec or /create-request)/doc-refactor)Auto-triggered after precommit Pass, only when the change maps to a feature under docs/features/ (see @rules/auto-loop.md Doc Sync Note). Can also be invoked manually.
Key principle: can't find target → ## Gate: ⚠️ Need Human — don't guess or create new docs.
Use the shared feature context resolution algorithm (see @skills/tech-spec/references/feature-context-resolution.md):
| Confidence | Action |
|---|---|
| high/medium | Proceed with detected feature |
| low | Proceed with warning |
| null (not found) | Output ## Gate: ⚠️ Need Human — do not guess |
Key research items:
| Item | Doc Description | Current Code | Status |
|---|
Update document content based on differences:
After update:
After doc sync, compare code diff against pre-sync baseline. If new code changes exist (e.g., lint:fix modified code), return to review loop.
## Doc Update Report
| Document | Sections Updated | Status |
|----------|-----------------|--------|
## Changes Made
- <summary of each update>
## Verification
- [ ] New modules documented
- [ ] Removed modules cleaned
- [ ] Diagrams updated