update-docs
БесплатноБез исполняемых скриптовНе проверенUpdate and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs/, READMEs, JSDoc, and API…
от NeoLabHQ★ 1 866 звёзд на GitHubОб этом скилле
Update Documentation for Local Changes
User Arguments
User can provide specific focus areas or documentation types:
$ARGUMENTS
If nothing is provided, focus on all documentation needs for uncommitted changes. If everything is committed, cover the latest commit.
Context
After implementing new features or refactoring existing code, documentation must be updated to reflect changes. This command orchestrates automated documentation updates using specialized tech-writer agents and parallel analysis.
Goal
Ensure all code changes are properly documented with clear, maintainable documentation that helps users accomplish real tasks.
Important Constraints
- Focus on user-facing impact - not every code change needs documentation
- Preserve existing documentation style - follow established patterns
- Analyse complexity of changes:
- If there are 3+ changed files affecting documentation, or significant API changes → Use multi-agent workflow
- If there are 1-2 simple changes → Write documentation yourself
- Documentation must justify its existence - avoid bloat and maintenance overhead
Workflow Steps
Preparation
Read SADD skill if available
- If available, read the SADD skill to understand best practices for managing agents
Discover documentation infrastructure
- CRITICAL: You MUST read root README.md and project config (package.json, pyproject.toml, etc.)
- Identify existing documentation structure (docs/, README files, JSDoc)
- Understand project conventions and documentation patterns
- Check for documentation generation tools (OpenAPI, JSDoc, TypeDoc)
Inventory existing documentation
# Find all documentation files
find . -name "*.md" -o -name "*.rst" | grep -E "(README|CHANGELOG|CONTRIBUTING|docs/)"
# Check for generated docs
find . -name "openapi.*" -o -name "*.graphql" -o -name "swagger.*"
Analysis
Do steps 4-5 in parallel using haiku agents:
Analyze documentation structure
- Launch haiku agent to map existing documentation:
- Identify docs/ folder structure and organization
- Find all README.md files and their purposes
- Locate API documentation (generated or manual)
- Note JSDoc/TSDoc patterns in codebase
- Output: Documentation map with locations and types
- Launch haiku agent to map existing documentation:
Analyze local changes
- Run
git status -uto identify all changed files (including untracked)- If no uncommitted changes, run
git show --name-statusfor latest commit
- If no uncommitted changes, run
- Filter to identify documentation-impacting changes:
- New/modified public APIs
- Changed module structures
- Updated configuration options
- New features or workflows
- Launch separate haiku agents per changed file to:
- Analyze the file and its documentation impact
- Identify what documentation needs to be created/updated
- Identify index documents that need updates (see Index Documents section)
- Prepare short summary of documentation requirements
- Extract list of documentation tasks
- Run
Documentation Planning
- Group changes by documentation area
- Aggregate analysis results from haiku agents
- Group changes that can be covered by same documentation update:
- API Documentation: All API changes → single agent
- Module READMEs: Changes in same module → single agent
- User Guides: Related feature changes → single agent
- JSDoc/Code Comments: Complex logic changes → per-file agents
- Index Documents: Updates to navigation and discovery docs → single agent
- Identify index documents requiring updates:
- Root
README.md- if new modules/features affect project overview, High probability of needing update. - Module
README.md- if module's purpose, exports, or usage changed docs/index files - if documentation structure changed
- Root
- Create documentation task assignments
Documentation Writing
Simple Change Flow (1-2 files, minor updates)
If changes are simple, write documentation yourself following this guideline:
- Read Tech Writer Agent guidelines from @/plugins/sdd/agents/tech-writer.md
- Review the changed files and understand the impact
- Identify which documentation needs updates
- Make targeted updates following project conventions
- Verify all links and examples work
- Ensure documentation serves real user needs
Ensure documentation:
- Follows proj
Установить update-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл update-docs?
Update and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs/, READMEs, JSDoc, and API documentation.
Как установить скилл update-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic