Maintain project documentation synchronized with code. Keep feature specs, API contracts, and README current with init-project standards...
All documentation follows init-project conventions:
docs/feature-specs/F-##-slug.yaml, docs/user-stories/US-###-slug.yamltitle, status, last_updated fieldsReference /file-templates/init-project/CLAUDE.md for full conventions.
Required docs (from init-project template):
docs/product-requirements.yaml - Project goals, scope, features, success metricsdocs/feature-specs/F-##-*.yaml - One per F-## featuredocs/user-stories/US-###-*.yaml - One per user storydocs/user-flows/*.yaml - Primary user flowsdocs/api-contracts.yaml - API endpointsdocs/system-design.yaml - Architecturedocs/data-plan.yaml - Metrics and data storagedocs/design-spec.yaml - UI/UX specificationsBefore making changes, understand what exists:
docs/product-requirements.yaml for feature list and current statusdocs/feature-specs/ for existing feature documentationdocs/api-contracts.yaml for API coverageFor feature changes:
docs/feature-specs/F-##-*.yaml with new requirementsdocs/api-contracts.yamldocs/product-requirements.yaml if scope changedFor new features:
docs/feature-specs/F-##-slug.yaml following init-project templatedocs/api-contracts.yaml if applicabledocs/user-stories/US-###-slug.yaml if neededChecklist before finalizing:
title, status, last_updated)Keep main README current:
Update specific documentation:
/manage-project/update/update-feature # Update feature specs
/manage-project/add/add-api # Add API endpoints
/manage-project/update/update-design # Update system design
/manage-project/update/update-requirements # Update success metrics
Validation commands:
/manage-project/validate/check-consistency # Verify all IDs linked correctly
/manage-project/validate/check-coverage # Verify no orphaned docs
/manage-project/validate/check-api-alignment # Verify API alignment
Bash utilities (from docs/ directory):
./check-project.sh # Full validation
./list-features.sh # Show all features
./list-stories.sh # Show all stories
./list-apis.sh # Show all API endpoints
F-##-slug.yaml following templateapi-contracts.yaml and corresponding feature specs