docs-updater
Living documentation updater that syncs implementation progress to product docs. Use when updating docs after task completion, changing DRAFT status to published, or ensuring documentation reflects current implementation state.
Why use this skill?
Keep your documentation in sync with your code. Use the docs-updater skill to automatically refresh your .specweave docs as you complete tasks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-docs-updaterWhat This Skill Does
The docs-updater skill acts as a specialized documentation agent for the OpenClaw ecosystem, ensuring that your project documentation evolves in lockstep with your source code. By analyzing your tasks.md file and scanning the actual implementation files within your repository, it identifies discrepancies between what you planned to build and what you have actually coded. The agent automatically modifies files located in .specweave/docs/, injects relevant code snippets, generates documentation for new API endpoints, and handles the state transition of documentation sections from [DRAFT] to [COMPLETE]. This eliminates the common developer pain point of "stale documentation" by formalizing the update process as a mandatory step in the project lifecycle.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/anton-abyzov/sw-docs-updater
Ensure that your project root contains a valid .specweave directory, as the skill relies on this structure for locating documentation targets and maintaining consistency across the project architecture.
Use Cases
- Post-Sprint Cleanup: After a series of feature increments, use this skill to reconcile your API specs and user guides with the final code state.
- Automated Documentation Status Tracking: Automatically flag pending documentation updates in your
tasks.mdand have the agent resolve them systematically. - Consistency Maintenance: Ensuring that code examples within documentation are reflective of the actual current implementation logic, preventing user errors caused by outdated docs.
- Team Handoffs: Preparing a repository for external contributors or new team members by ensuring all docs are marked
[COMPLETE]and provide accurate context.
Example Prompts
- "Check the tasks.md file and update all [DRAFT] documentation sections based on the recent changes made to the payment module."
- "I've just finished the authentication refactor. Please sync the docs in .specweave/docs/api/ to reflect the new header-based tokens."
- "Run the docs-updater to ensure the project documentation is fully up to date and mark all finished tasks as complete."
Tips & Limitations
- Timing: Always invoke this skill after you have finalized your code. Running it mid-implementation may result in incomplete documentation based on unfinished logic.
- Verification: While the agent is highly accurate, it is best practice to perform a quick review of the generated documentation, especially when handling complex code snippets or architectural diagrams.
- Structure: Maintain a clean
.specweave/docs/hierarchy; the skill is most effective when documentation is organized into clear features or modules, as it allows the agent to map implementation changes to specific files with higher precision.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anton-abyzov-sw-docs-updater": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.