Keep documentation in sync with code changes. Use when implementing features, modifying APIs, changing architecture, adding configuration, updating security, or making any changes that affect user-facing or developer-facing documentation.
This skill ensures documentation in the docs/ directory remains synchronized with codebase changes, maintaining accuracy and completeness for both users and developers.
Documentation is part of the definition of done. No code change is complete until the relevant documentation is updated.
Activate this skill when:
| File | Purpose | Update When |
| ----------------------- | ------------------------------- | ---------------- |
| docs/api-endpoints.md | REST/GraphQL endpoints, schemas | API changes |
| docs/user-guide.md | User-facing features | Feature changes |
| docs/security.md | Auth, authorization | Security changes |
| File | Purpose | Update When |
| --------------------------------- | ----------------------- | -------------------- |
| docs/design-and-architecture.md | System design, patterns | Architecture changes |
| docs/developer-guide.md | Dev patterns, examples | Dev workflow changes |
| docs/glossary.md | Domain terminology | New domain concepts |
| File | Purpose | Update When |
| -------------------------------- | ------------------- | -------------- |
| docs/advanced-configuration.md | Env vars, config | Config changes |
| docs/getting-started.md | Setup, installation | Setup changes |
| docs/operational.md | Monitoring, logging | Ops changes |
| File | Purpose | Update When |
| --------------------- | ------------------------- | ---------------- |
| docs/testing.md | Test strategies | Test changes |
| docs/performance.md | Benchmarks, optimizations | Performance work |
| docs/onboarding.md | New dev onboarding | Process changes |
| File | Purpose | Update When |
| ----------------------- | ------------ | ------------------- |
| docs/versioning.md | Version info | Version bumps |
| docs/release-notes.md | Changelog | Significant changes |
For each code change:
| Change Type | Primary Docs | Commands | Guide |
| --------------------- | ------------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------------- |
| REST Endpoint | api-endpoints.md | make generate-openapi-spec | api-endpoints.md |
| GraphQL Operation | api-endpoints.md | make generate-graphql-spec | api-endpoints.md |
| Database Schema | design-and-architecture.md | - | database-and-architecture.md |
| Domain Model | design-and-architecture.md, glossary.md | - | database-and-architecture.md |
| Configuration | advanced-configuration.md | - | configuration-and-operations.md |
| Authentication | security.md, api-endpoints.md | - | configuration-and-operations.md |
| Testing | testing.md | - | configuration-and-operations.md |
| Performance | performance.md | - | configuration-and-operations.md |
See detailed guides: update-scenarios/ directory
docs/glossary.mdSee detailed standards: reference/quality-standards.md
Before committing code with documentation updates:
make generate-openapi-spec or make generate-graphql-spec if neededSee complete workflow: reference/workflow-checklist.md
Documentation is code:
Reviewers check:
Automated checks:
For detailed guides, examples, and standards:
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer