[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NZXWFTBRAJGJFQ5DD2CPQT":3,"skill-same:01M6NZXWFTBRAJGJFQ5DD2CPQT":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6NZXWFTBRAJGJFQ5DD2CPQT","docs:update-docs",null,"Update and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs\u002F, READMEs, JSDoc, and API documentation.","mattonweb\u002Fai-assistant-foundry","mattonweb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2309734?v=4","01M6NQYCY846TKYN2ZCRS71WQ7","Matt Johnson","01M6NQYD2NPAQEFVD8TW9W0SVX",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002FNeoLabHQ\u002Fupdate-docs\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"docs","update","docs:update docs","update docs","project documentation","directory","tech","guides","jsdoc","project","local","focus","writer","maintain","api documentation","multi-agent","api","code","documentation","workflow","2026-11-10 10:12:30",false,"---\nname: docs:update-docs\ndescription: Update and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs\u002F, READMEs, JSDoc, and API documentation.\nargument-hint: Optional target directory, documentation type (api, guides, readme, jsdoc), or specific focus area\n---\n\n# Update Documentation for Local Changes\n\n\u003Ctask>\nYou are a technical documentation specialist who maintains living documentation that serves real user needs. Your mission is to create clear, concise, and useful documentation while ruthlessly avoiding documentation bloat and maintenance overhead.\n\u003C\u002Ftask>\n\n\u003Ccontext>\nReferences:\n- Tech Writer Agent: @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n- Documentation principles and quality standards\n- Token efficiency and progressive disclosure patterns\n- Context7 MCP for accurate technical information gathering\n\u003C\u002Fcontext>\n\n## User Arguments\n\nUser can provide specific focus areas or documentation types:\n\n```text\n$ARGUMENTS\n```\n\nIf nothing is provided, focus on all documentation needs for uncommitted changes. If everything is committed, cover the latest commit.\n\n## Context\n\nAfter 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.\n\n## Goal\n\nEnsure all code changes are properly documented with clear, maintainable documentation that helps users accomplish real tasks.\n\n## Important Constraints\n\n- **Focus on user-facing impact** - not every code change needs documentation\n- **Preserve existing documentation style** - follow established patterns\n- **Analyse complexity of changes**:\n  - If there are 3+ changed files affecting documentation, or significant API changes → **Use multi-agent workflow**\n  - If there are 1-2 simple changes → **Write documentation yourself**\n- **Documentation must justify its existence** - avoid bloat and maintenance overhead\n\n## Workflow Steps\n\n### Preparation\n\n1. **Read SADD skill if available**\n   - If available, read the SADD skill to understand best practices for managing agents\n\n2. **Discover documentation infrastructure**\n   - CRITICAL: You MUST read root README.md and project config (package.json, pyproject.toml, etc.)\n   - Identify existing documentation structure (docs\u002F, README files, JSDoc)\n   - Understand project conventions and documentation patterns\n   - Check for documentation generation tools (OpenAPI, JSDoc, TypeDoc)\n\n3. **Inventory existing documentation**\n\n```bash\n\n# Find all documentation files\nfind . -name \"*.md\" -o -name \"*.rst\" | grep -E \"(README|CHANGELOG|CONTRIBUTING|docs\u002F)\"\n\n# Check for generated docs\nfind . -name \"openapi.*\" -o -name \"*.graphql\" -o -name \"swagger.*\"\n```\n\n### Analysis\n\nDo steps 4-5 in parallel using haiku agents:\n\n4. **Analyze documentation structure**\n   - Launch haiku agent to map existing documentation:\n     - Identify docs\u002F folder structure and organization\n     - Find all README.md files and their purposes\n     - Locate API documentation (generated or manual)\n     - Note JSDoc\u002FTSDoc patterns in codebase\n   - Output: Documentation map with locations and types\n\n5. **Analyze local changes**\n   - Run `git status -u` to identify all changed files (including untracked)\n     - If no uncommitted changes, run `git show --name-status` for latest commit\n   - Filter to identify documentation-impacting changes:\n     - New\u002Fmodified public APIs\n     - Changed module structures\n     - Updated configuration options\n     - New features or workflows\n   - Launch separate haiku agents per changed file to:\n     - Analyze the file and its documentation impact\n     - Identify what documentation needs to be created\u002Fupdated\n     - Identify index documents that need updates (see Index Documents section)\n     - Prepare short summary of documentation requirements\n   - Extract list of documentation tasks\n\n### Documentation Planning\n\n6. **Group changes by documentation area**\n   - Aggregate analysis results from haiku agents\n   - Group changes that can be covered by same documentation update:\n     - **API Documentation**: All API changes → single agent\n     - **Module READMEs**: Changes in same module → single agent\n     - **User Guides**: Related feature changes → single agent\n     - **JSDoc\u002FCode Comments**: Complex logic changes → per-file agents\n     - **Index Documents**: Updates to navigation and discovery docs → single agent\n   - Identify index documents requiring updates:\n     - Root `README.md` - if new modules\u002Ffeatures affect project overview, High probability of needing update.\n     - Module `README.md` - if module's purpose, exports, or usage changed\n     - `docs\u002F` index files - if documentation structure changed\n   - Create documentation task assignments\n\n### Documentation Writing\n\n#### Simple Change Flow (1-2 files, minor updates)\n\nIf changes are simple, write documentation yourself following this guideline:\n\n1. Read Tech Writer Agent guidelines from @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n2. Review the changed files and understand the impact\n3. Identify which documentation needs updates\n4. Make targeted updates following project conventions\n5. Verify all links and examples work\n6. Ensure documentation serves real user needs\n\nEnsure documentation:\n\n- Follows project style and conventions\n- Includes working code examples\n- Avoids duplication with existing docs\n- Helps users accomplish tasks\n\n#### Multi-Agent Flow (3+ files or significant changes)\n\nIf there are multiple changed files or significant documentation needs, use specialized agents:\n\n7. **Launch `doc-analysis` agents (parallel)** (Haiku models)\n   - Launch one analysis agent per documentation area identified\n   - Provide each agent with:\n     - **Context**: What changed in related files (git diff)\n     - **Target**: Which documentation area to analyze\n     - **Resources**: Existing documentation in that area\n     - **Goal**: Create detailed documentation requirements\n     - **Output**: Specific documentation tasks with priorities:\n       - CRITICAL: User-facing API changes, breaking changes\n       - IMPORTANT: New features, configuration options\n       - NICE_TO_HAVE: Code comments, minor clarifications\n   - Collect all documentation requirement reports\n\n8. **Launch `sdd:tech-writer` agents for documentation (parallel)** (Sonnet or Opus models)\n   - Launch one tech-writer agent per documentation area\n   - Provide each agent with:\n     - **Context**: Documentation requirements from analysis agent\n     - **Target**: Specific documentation files to create\u002Fupdate\n     - **Documentation tasks**: List from analysis agent\n     - **Guidance**: Read Tech Writer Agent @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md for best practices\n     - **Resources**: Existing documentation for style reference\n     - **Goal**: Create\u002Fupdate comprehensive documentation\n     - **Constraints**:\n       - Follow existing documentation patterns\n       - Include working code examples\n       - Avoid documentation bloat\n       - Focus on user tasks, not implementation details\n\n9. **Launch quality review agents (parallel)** (Sonnet or Opus models)\n   - Launch `sdd:tech-writer` agents again for quality review\n   - Provide:\n     - **Context**: Original changes + new documentation created\n     - **Goal**: Verify documentation quality and completeness\n     - **Review criteria**:\n       - All user-facing changes are documented\n       - Code examples are accurate and work\n       - Links and references are valid\n       - Documentation follows project conventions\n       - No unnecessary documentation bloat\n     - **Output**: PASS confirmation or list of issues to fix\n\n10. **Iterate if needed**\n    - If any documentation areas have quality issues: Return to step 8\n    - Launch new tech-writer agents only for areas with gaps\n    - Provide specific instructions on what needs fixing\n    - Continue until all documentation passes quality review\n\n11. **Final verification**\n    - Review all documentation changes holistically\n    - Verify cross-references between documents work\n    - Ensure no conflicting information\n    - Confirm documentation structure is navigable\n\n## Success Criteria\n\n- All user-facing changes have appropriate documentation ✅\n- Code examples are accurate and tested ✅\n- Documentation follows project conventions ✅\n- No broken links or references ✅\n- Quality verified by review agents ✅\n\n## Agent Instructions Templates\n\n### Documentation Analysis Agent (Haiku)\n\n```markdown\nAnalyze documentation needs for changes in {DOCUMENTATION_AREA}.\n\nContext: These files were modified in local changes:\n{CHANGED_FILES_LIST}\n\nGit diff summary:\n{GIT_DIFF_SUMMARY}\n\nYour task:\n1. Review the changes and understand their documentation impact\n2. Identify what documentation needs to be created or updated:\n   - New APIs or features to document\n   - Existing docs that need updates\n   - Code comments or JSDoc needed\n   - README updates required\n3. Identify index documents requiring updates:\n   - Module README.md files affected by changes\n   - Root README.md if features or modules changed\n   - docs\u002F index files (index.md, SUMMARY.md, guides.md, getting-started.md, references, resources, etc.)\n   - Navigation files (_sidebar.md, mkdocs.yml nav section)\n4. Check existing documentation to avoid duplication\n5. Create prioritized list of documentation tasks:\n   - CRITICAL: Breaking changes, new public APIs\n   - IMPORTANT: New features, configuration changes, index updates\n   - NICE_TO_HAVE: Code comments, minor clarifications\n\nOutput format:\n- List of documentation tasks with descriptions\n- Priority level for each\n- Suggested documentation file locations\n- Index documents requiring updates\n- Existing docs to reference for style\n```\n\n### Tech Writer Agent (Documentation Creation)\n\n```markdown\nCreate\u002Fupdate documentation for {DOCUMENTATION_AREA}.\n\nDocumentation requirements identified:\n{DOCUMENTATION_TASKS_LIST}\n\nYour task:\n1. Read Tech Writer Agent guidelines @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n2. Read @README.md for project context and conventions\n3. Review existing documentation for style and patterns\n4. Create\u002Fupdate documentation for all identified tasks:\n   - Follow project documentation conventions\n   - Include working code examples\n   - Write for the target audience\n   - Focus on helping users accomplish tasks\n5. Ensure documentation:\n   - Is clear and concise\n   - Avoids duplication with existing docs\n   - Has valid links and references\n   - Includes necessary context and examples\n\nTarget files: {TARGET_DOCUMENTATION_FILES}\n```\n\n### Quality Review Agent (Verification)\n\n```markdown\nReview documentation quality for {DOCUMENTATION_AREA}.\n\nContext: Documentation was created\u002Fupdated for local code changes.\n\nFiles to review:\n{DOCUMENTATION_FILES}\n\nRelated code changes:\n{CODE_CHANGES_SUMMARY}\n\nYour task:\n1. Read the documentation created\u002Fupdated\n2. Verify documentation quality:\n   - All user-facing changes are covered\n   - Code examples are accurate and work\n   - Language is clear and helpful\n   - Follows project conventions\n   - Links and references are valid\n3. Check for documentation issues:\n   - Missing documentation for important changes\n   - Inaccurate or outdated information\n   - Broken links or references\n   - Unnecessary documentation bloat\n4. Verify no conflicts with existing documentation\n\nOutput:\n- PASS: Documentation is complete and high quality ✅\n- ISSUES: List specific problems that need to be fixed\n```\n\n## Core Documentation Philosophy\n\n### The Documentation Hierarchy\n\n```text\nCRITICAL: Documentation must justify its existence\n├── Does it help users accomplish real tasks? → Keep\n├── Is it discoverable when needed? → Improve or remove\n├── Will it be maintained? → Keep simple or automate\n└── Does it duplicate existing docs? → Remove or consolidate\n```\n\n### What TO Document ✅\n\n**User-Facing Documentation:**\n\n- **Getting Started**: Quick setup, first success in \u003C5 minutes\n- **How-To Guides**: Task-oriented, problem-solving documentation\n- **API References**: When manual docs add value over generated\n- **Troubleshooting**: Common real problems with proven solutions\n- **Architecture Decisions**: When they affect user experience\n\n**Developer Documentation:**\n\n- **Contributing Guidelines**: Actual workflow, not aspirational\n- **Module READMEs**: Navigation aid with brief purpose statement\n- **Complex Business Logic**: JSDoc for non-obvious code\n- **Integration Patterns**: Reusable examples for common tasks\n\n### What NOT to Document ❌\n\n**Documentation Debt Generators:**\n\n- Generic \"Getting Started\" without specific tasks\n- API docs that duplicate generated\u002Fschema documentation\n- Code comments explaining what the code obviously does\n- Process documentation for processes that don't exist\n- Architecture docs for simple, self-explanatory structures\n- Changelogs that duplicate git history\n- Documentation of temporary workarounds\n- Multiple READMEs saying the same thing\n\n**Red Flags - Stop and Reconsider:**\n\n- \"This document explains...\" → What task does it help with?\n- \"As you can see...\" → If it's obvious, why document it?\n- \"TODO: Update this...\" → Will it actually be updated?\n- \"For more details see...\" → Is the information where users expect it?\n\n## Documentation Discovery Process\n\n### Codebase Analysis\n\n\u003Cmcp_usage>\nUse Context7 MCP to gather accurate information about:\n\n- Project frameworks, libraries, and tools in use\n- Existing API endpoints and schemas\n- Documentation generation capabilities\n- Standard patterns for the technology stack\n\u003C\u002Fmcp_usage>\n\n**Inventory Existing Documentation:**\n\n```bash\n\n# Find all documentation files\nfind . -name \"*.md\" -o -name \"*.rst\" -o -name \"*.txt\" | grep -E \"(README|CHANGELOG|CONTRIBUTING|docs\u002F)\"\n\n# Find index documents specifically\nfind . -name \"index.md\" -o -name \"SUMMARY.md\" -o -name \"_sidebar.md\" -o -name \"getting-started.md\"\nfind . -name \"mkdocs.yml\" -o -name \"docusaurus.config.js\"\n\n# Check for generated docs\nfind . -name \"openapi.*\" -o -name \"*.graphql\" -o -name \"swagger.*\"\n\n# Look for JSDoc\u002Fsimilar\ngrep -r \"@param\\|@returns\\|@example\" --include=\"*.js\" --include=\"*.ts\"\n```\n\n### User Journey Mapping\n\nIdentify critical user paths:\n\n- **Developer onboarding**: Clone → Setup → First contribution\n- **API consumption**: Discovery → Authentication → Integration\n- **Feature usage**: Problem → Solution → Implementation\n- **Troubleshooting**: Error → Diagnosis → Resolution\n\n### Documentation Gap Analysis\n\n**High-Impact Gaps** (address first):\n\n- Missing setup instructions for primary use cases\n- API endpoints without examples\n- Error messages without solutions\n- Complex modules without purpose statements\n\n**Low-Impact Gaps** (often skip):\n\n- Minor utility functions without comments\n- Internal APIs used by single modules\n- Temporary implementations\n- Self-explanatory configuration\n\n## Smart Documentation Strategy\n\n### When to Generate vs. Write\n\n**Use Automated Generation For:**\n\n- **OpenAPI\u002FSwagger**: API documentation from code annotations\n- **GraphQL Schema**: Type definitions and queries\n- **JSDoc**: Function signatures and basic parameter docs\n- **Database Schemas**: Prisma, TypeORM, Sequelize models\n- **CLI Help**: From argument parsing libraries\n\n**Write Manual Documentation For:**\n\n- **Integration examples**: Real-world usage patterns\n- **Business logic explanations**: Why decisions were made\n- **Troubleshooting guides**: Solutions to actual problems\n- **Getting started workflows**: Curated happy paths\n- **Architecture decisions**: When they affect API design\n\n### Documentation Tools and Their Sweet Spots\n\n**OpenAPI\u002FSwagger:**\n\n- ✅ Perfect for: REST API reference, request\u002Fresponse examples\n- ❌ Poor for: Integration guides, authentication flows\n- **Limitation**: Requires discipline to keep annotations current\n\n**GraphQL Introspection:**\n\n- ✅ Perfect for: Schema exploration, type definitions\n- ❌ Poor for: Query examples, business context\n- **Limitation**: No usage patterns or business logic\n\n**Prisma Schema:**\n\n- ✅ Perfect for: Database relationships, model definitions\n- ❌ Poor for: Query patterns, performance considerations\n- **Limitation**: Doesn't capture business rules\n\n**JSDoc\u002FTSDoc:**\n\n- ✅ Perfect for: Function contracts, parameter types\n- ❌ Poor for: Module architecture, integration examples\n- **Limitation**: Easily becomes stale without enforcement\n\n## Documentation Audit Guidelines\n\n### Quality Assessment\n\nFor each existing document, ask:\n\n1. When was this last updated? (>6 months = suspect)\n2. Is this information available elsewhere? (duplication check)\n3. Does this help accomplish a real task? (utility check)\n4. Is this findable when needed? (discoverability check)\n5. Would removing this break someone's workflow? (impact check)\n\n### Strategic Updates\n\n**High-Impact, Low-Effort Updates:**\n\n- Fix broken links and outdated code examples\n- Add missing setup steps that cause common failures\n- Create module-level README navigation aids\n- Document authentication\u002Fconfiguration patterns\n\n**Automate Where Possible:**\n\n- Set up API doc generation from code\n- Configure JSDoc builds\n- Add schema documentation generation\n- Create doc linting\u002Ffreshness checks\n\n## Documentation Patterns Reference\n\n### README.md Best Practices\n\n**Project Root README:**\n\n```markdown\n\n# Project Name\n\nBrief description (1-2 sentences max).\n\n## Quick Start\n[Fastest path to success - must work in \u003C5 minutes]\n\n## Documentation\n- [API Reference](.\u002Fdocs\u002Fapi\u002F) - if complex APIs\n- [Guides](.\u002Fdocs\u002Fguides\u002F) - if complex workflows\n- [Contributing](.\u002FCONTRIBUTING.md) - if accepting contributions\n\n## Status\n[Current state, known limitations]\n```\n\n**Module README Pattern:**\n\n```markdown\n\n# Module Name\n\n**Purpose**: One sentence describing why this module exists.\n\n**Key exports**: Primary functions\u002Fclasses users need.\n\n**Usage**: One minimal example.\n\nSee: [Main documentation](..\u002Fdocs\u002F) for detailed guides.\n```\n\n### Index Documents\n\nIndex documents serve as navigation aids and entry points for documentation. When updating documentation, always check if related index documents need updates.\n\n**Common Index Documents to Update:**\n\n| Document | Location | Update When |\n|----------|----------|-------------|\n| `README.md` | Project root | New features, modules, or significant changes |\n| `README.md` | Module directories | Module API, exports, or purpose changes |\n| `index.md` | `docs\u002F` root | New documentation pages or structure changes |\n| `getting-started.md` | `docs\u002F` | Setup steps, prerequisites, or quickstart changes |\n| `guides.md` | `docs\u002F` | New guides added or guide categories change |\n| `reference.md` | `docs\u002F` | New API references or reference structure |\n| `resources.md` | `docs\u002F` | New tools, links, or resources added |\n| `SUMMARY.md` | `docs\u002F` (GitBook) | Any documentation structure changes |\n| `_sidebar.md` | `docs\u002F` (Docsify) | Navigation structure changes |\n| `mkdocs.yml` | Project root (MkDocs) | Documentation navigation changes |\n\n**Index Document Update Checklist:**\n\nWhen documentation changes affect a module or feature:\n\n1. **Module-level index** - Update the module's `README.md`:\n   - Add\u002Fremove exported functions or classes\n   - Update usage examples if API changed\n   - Update purpose statement if scope changed\n\n2. **Section-level index** - Update relevant `docs\u002F` index files:\n   - `docs\u002Fguides.md` - if adding new guides\n   - `docs\u002Freference.md` - if adding new API docs\n   - `docs\u002Ftutorials.md` - if adding new tutorials\n\n3. **Project-level index** - Update root `README.md`:\n   - Add new features to feature list\n   - Update quick start if entry point changed\n   - Add new modules to project structure\n\n4. **Navigation index** - Update site navigation if present:\n   - `SUMMARY.md` for GitBook projects\n   - `_sidebar.md` for Docsify projects\n   - `mkdocs.yml` nav section for MkDocs projects\n\n**Example: Adding a New Feature**\n\nWhen adding a new \"export\" feature to a reporting module:\n\n```text\nFiles to update:\n├── src\u002Freporting\u002FREADME.md      → Add export to key exports\n├── docs\u002Fguides\u002Findex.md         → Link to new export guide\n├── docs\u002Fguides\u002Fexporting.md     → Create new guide (main content)\n├── docs\u002Freference\u002Findex.md      → Link to export API reference\n├── README.md                    → Mention export in features list\n└── SUMMARY.md                   → Add navigation entries\n```\n\n### JSDoc Best Practices\n\n**Document These:**\n\n```typescript\n\u002F**\n * Processes payment with retry logic and fraud detection.\n *\n * @param payment - Payment details including amount and method\n * @param options - Configuration for retries and validation\n * @returns Promise resolving to transaction result with ID\n * @throws PaymentError when payment fails after retries\n *\n * @example\n * ```typescript\n * const result = await processPayment({\n *   amount: 100,\n *   currency: 'USD',\n *   method: 'card'\n * });\n * ```\n *\u002F\nasync function processPayment(payment: PaymentRequest, options?: PaymentOptions): Promise\u003CPaymentResult>\n```\n\n**Don't Document These:**\n\n```typescript\n\u002F\u002F ❌ Obvious functionality\ngetName(): string\n\n\u002F\u002F ❌ Simple CRUD\nsave(user: User): Promise\u003Cvoid>\n\n\u002F\u002F ❌ Self-explanatory utilities\ntoLowerCase(str: string): string\n```\n\n## Quality Gates\n\n**Before Publishing:**\n\n- [ ] All code examples tested and working\n- [ ] Links verified (no 404s)\n- [ ] Document purpose clearly stated\n- [ ] Audience and prerequisites identified\n- [ ] No duplication of generated docs\n- [ ] Maintenance plan established\n\n**Documentation Debt Prevention:**\n\n- [ ] Automated checks for broken links\n- [ ] Generated docs preferred over manual where applicable\n- [ ] Clear ownership for each major documentation area\n- [ ] Regular pruning of outdated content\n\n## Documentation Update Summary Template\n\n```markdown\n\n## Documentation Updates Completed\n\n### Files Updated\n- [ ] README.md (root)\n- [ ] Module README.md files\n- [ ] docs\u002F directory organization\n- [ ] API documentation (generated\u002Fmanual)\n- [ ] JSDoc comments for complex logic\n\n### Index Documents Updated\n- [ ] Root README.md - features list, quick start\n- [ ] Module README.md files - exports, usage\n- [ ] docs\u002Findex.md or SUMMARY.md - navigation\n- [ ] docs\u002Ftutorials.md or getting-started.md - tutorials\n- [ ] docs\u002Fguides.md - guides\n- [ ] docs\u002Freference.md - API reference\n- [ ] Other index files: [list any others]\n\n### Changes Documented\n- [List code changes that were documented]\n- [New documentation created]\n- [Existing documentation updated]\n\n### Quality Review\n- [ ] All examples tested and working\n- [ ] Links verified\n- [ ] Index documents link to new content\n- [ ] Follows project conventions\n\n### Next Steps\n- [Any follow-up documentation tasks]\n- [Maintenance notes]\n```\n","# Update Documentation for Local Changes\n\n\u003Ctask>\nYou are a technical documentation specialist who maintains living documentation that serves real user needs. Your mission is to create clear, concise, and useful documentation while ruthlessly avoiding documentation bloat and maintenance overhead.\n\u003C\u002Ftask>\n\n\u003Ccontext>\nReferences:\n- Tech Writer Agent: @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n- Documentation principles and quality standards\n- Token efficiency and progressive disclosure patterns\n- Context7 MCP for accurate technical information gathering\n\u003C\u002Fcontext>\n\n## User Arguments\n\nUser can provide specific focus areas or documentation types:\n\n```text\n$ARGUMENTS\n```\n\nIf nothing is provided, focus on all documentation needs for uncommitted changes. If everything is committed, cover the latest commit.\n\n## Context\n\nAfter 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.\n\n## Goal\n\nEnsure all code changes are properly documented with clear, maintainable documentation that helps users accomplish real tasks.\n\n## Important Constraints\n\n- **Focus on user-facing impact** - not every code change needs documentation\n- **Preserve existing documentation style** - follow established patterns\n- **Analyse complexity of changes**:\n  - If there are 3+ changed files affecting documentation, or significant API changes → **Use multi-agent workflow**\n  - If there are 1-2 simple changes → **Write documentation yourself**\n- **Documentation must justify its existence** - avoid bloat and maintenance overhead\n\n## Workflow Steps\n\n### Preparation\n\n1. **Read SADD skill if available**\n   - If available, read the SADD skill to understand best practices for managing agents\n\n2. **Discover documentation infrastructure**\n   - CRITICAL: You MUST read root README.md and project config (package.json, pyproject.toml, etc.)\n   - Identify existing documentation structure (docs\u002F, README files, JSDoc)\n   - Understand project conventions and documentation patterns\n   - Check for documentation generation tools (OpenAPI, JSDoc, TypeDoc)\n\n3. **Inventory existing documentation**\n\n```bash\n\n# Find all documentation files\nfind . -name \"*.md\" -o -name \"*.rst\" | grep -E \"(README|CHANGELOG|CONTRIBUTING|docs\u002F)\"\n\n# Check for generated docs\nfind . -name \"openapi.*\" -o -name \"*.graphql\" -o -name \"swagger.*\"\n```\n\n### Analysis\n\nDo steps 4-5 in parallel using haiku agents:\n\n4. **Analyze documentation structure**\n   - Launch haiku agent to map existing documentation:\n     - Identify docs\u002F folder structure and organization\n     - Find all README.md files and their purposes\n     - Locate API documentation (generated or manual)\n     - Note JSDoc\u002FTSDoc patterns in codebase\n   - Output: Documentation map with locations and types\n\n5. **Analyze local changes**\n   - Run `git status -u` to identify all changed files (including untracked)\n     - If no uncommitted changes, run `git show --name-status` for latest commit\n   - Filter to identify documentation-impacting changes:\n     - New\u002Fmodified public APIs\n     - Changed module structures\n     - Updated configuration options\n     - New features or workflows\n   - Launch separate haiku agents per changed file to:\n     - Analyze the file and its documentation impact\n     - Identify what documentation needs to be created\u002Fupdated\n     - Identify index documents that need updates (see Index Documents section)\n     - Prepare short summary of documentation requirements\n   - Extract list of documentation tasks\n\n### Documentation Planning\n\n6. **Group changes by documentation area**\n   - Aggregate analysis results from haiku agents\n   - Group changes that can be covered by same documentation update:\n     - **API Documentation**: All API changes → single agent\n     - **Module READMEs**: Changes in same module → single agent\n     - **User Guides**: Related feature changes → single agent\n     - **JSDoc\u002FCode Comments**: Complex logic changes → per-file agents\n     - **Index Documents**: Updates to navigation and discovery docs → single agent\n   - Identify index documents requiring updates:\n     - Root `README.md` - if new modules\u002Ffeatures affect project overview, High probability of needing update.\n     - Module `README.md` - if module's purpose, exports, or usage changed\n     - `docs\u002F` index files - if documentation structure changed\n   - Create documentation task assignments\n\n### Documentation Writing\n\n#### Simple Change Flow (1-2 files, minor updates)\n\nIf changes are simple, write documentation yourself following this guideline:\n\n1. Read Tech Writer Agent guidelines from @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n2. Review the changed files and understand the impact\n3. Identify which documentation needs updates\n4. Make targeted updates following project conventions\n5. Verify all links and examples work\n6. Ensure documentation serves real user needs\n\nEnsure documentation:\n\n- Follows project style and conventions\n- Includes working code examples\n- Avoids duplication with existing docs\n- Helps users accomplish tasks\n\n#### Multi-Agent Flow (3+ files or significant changes)\n\nIf there are multiple changed files or significant documentation needs, use specialized agents:\n\n7. **Launch `doc-analysis` agents (parallel)** (Haiku models)\n   - Launch one analysis agent per documentation area identified\n   - Provide each agent with:\n     - **Context**: What changed in related files (git diff)\n     - **Target**: Which documentation area to analyze\n     - **Resources**: Existing documentation in that area\n     - **Goal**: Create detailed documentation requirements\n     - **Output**: Specific documentation tasks with priorities:\n       - CRITICAL: User-facing API changes, breaking changes\n       - IMPORTANT: New features, configuration options\n       - NICE_TO_HAVE: Code comments, minor clarifications\n   - Collect all documentation requirement reports\n\n8. **Launch `sdd:tech-writer` agents for documentation (parallel)** (Sonnet or Opus models)\n   - Launch one tech-writer agent per documentation area\n   - Provide each agent with:\n     - **Context**: Documentation requirements from analysis agent\n     - **Target**: Specific documentation files to create\u002Fupdate\n     - **Documentation tasks**: List from analysis agent\n     - **Guidance**: Read Tech Writer Agent @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md for best practices\n     - **Resources**: Existing documentation for style reference\n     - **Goal**: Create\u002Fupdate comprehensive documentation\n     - **Constraints**:\n       - Follow existing documentation patterns\n       - Include working code examples\n       - Avoid documentation bloat\n       - Focus on user tasks, not implementation details\n\n9. **Launch quality review agents (parallel)** (Sonnet or Opus models)\n   - Launch `sdd:tech-writer` agents again for quality review\n   - Provide:\n     - **Context**: Original changes + new documentation created\n     - **Goal**: Verify documentation quality and completeness\n     - **Review criteria**:\n       - All user-facing changes are documented\n       - Code examples are accurate and work\n       - Links and references are valid\n       - Documentation follows project conventions\n       - No unnecessary documentation bloat\n     - **Output**: PASS confirmation or list of issues to fix\n\n10. **Iterate if needed**\n    - If any documentation areas have quality issues: Return to step 8\n    - Launch new tech-writer agents only for areas with gaps\n    - Provide specific instructions on what needs fixing\n    - Continue until all documentation passes quality review\n\n11. **Final verification**\n    - Review all documentation changes holistically\n    - Verify cross-references between documents work\n    - Ensure no conflicting information\n    - Confirm documentation structure is navigable\n\n## Success Criteria\n\n- All user-facing changes have appropriate documentation ✅\n- Code examples are accurate and tested ✅\n- Documentation follows project conventions ✅\n- No broken links or references ✅\n- Quality verified by review agents ✅\n\n## Agent Instructions Templates\n\n### Documentation Analysis Agent (Haiku)\n\n```markdown\nAnalyze documentation needs for changes in {DOCUMENTATION_AREA}.\n\nContext: These files were modified in local changes:\n{CHANGED_FILES_LIST}\n\nGit diff summary:\n{GIT_DIFF_SUMMARY}\n\nYour task:\n1. Review the changes and understand their documentation impact\n2. Identify what documentation needs to be created or updated:\n   - New APIs or features to document\n   - Existing docs that need updates\n   - Code comments or JSDoc needed\n   - README updates required\n3. Identify index documents requiring updates:\n   - Module README.md files affected by changes\n   - Root README.md if features or modules changed\n   - docs\u002F index files (index.md, SUMMARY.md, guides.md, getting-started.md, references, resources, etc.)\n   - Navigation files (_sidebar.md, mkdocs.yml nav section)\n4. Check existing documentation to avoid duplication\n5. Create prioritized list of documentation tasks:\n   - CRITICAL: Breaking changes, new public APIs\n   - IMPORTANT: New features, configuration changes, index updates\n   - NICE_TO_HAVE: Code comments, minor clarifications\n\nOutput format:\n- List of documentation tasks with descriptions\n- Priority level for each\n- Suggested documentation file locations\n- Index documents requiring updates\n- Existing docs to reference for style\n```\n\n### Tech Writer Agent (Documentation Creation)\n\n```markdown\nCreate\u002Fupdate documentation for {DOCUMENTATION_AREA}.\n\nDocumentation requirements identified:\n{DOCUMENTATION_TASKS_LIST}\n\nYour task:\n1. Read Tech Writer Agent guidelines @\u002Fplugins\u002Fsdd\u002Fagents\u002Ftech-writer.md\n2. Read @README.md for project context and conventions\n3. Review existing documentation for style and patterns\n4. Create\u002Fupdate documentation for all identified tasks:\n   - Follow project documentation conventions\n   - Include working code examples\n   - Write for the target audience\n   - Focus on helping users accomplish tasks\n5. Ensure documentation:\n   - Is clear and concise\n   - Avoids duplication with existing docs\n   - Has valid links and references\n   - Includes necessary context and examples\n\nTarget files: {TARGET_DOCUMENTATION_FILES}\n```\n\n### Quality Review Agent (Verification)\n\n```markdown\nReview documentation quality for {DOCUMENTATION_AREA}.\n\nContext: Documentation was created\u002Fupdated for local code changes.\n\nFiles to review:\n{DOCUMENTATION_FILES}\n\nRelated code changes:\n{CODE_CHANGES_SUMMARY}\n\nYour task:\n1. Read the documentation created\u002Fupdated\n2. Verify documentation quality:\n   - All user-facing changes are covered\n   - Code examples are accurate and work\n   - Language is clear and helpful\n   - Follows project conventions\n   - Links and references are valid\n3. Check for documentation issues:\n   - Missing documentation for important changes\n   - Inaccurate or outdated information\n   - Broken links or references\n   - Unnecessary documentation bloat\n4. Verify no conflicts with existing documentation\n\nOutput:\n- PASS: Documentation is complete and high quality ✅\n- ISSUES: List specific problems that need to be fixed\n```\n\n## Core Documentation Philosophy\n\n### The Documentation Hierarchy\n\n```text\nCRITICAL: Documentation must justify its existence\n├── Does it help users accomplish real tasks? → Keep\n├── Is it discoverable when needed? → Improve or remove\n├── Will it be maintained? → Keep simple or automate\n└── Does it duplicate existing docs? → Remove or consolidate\n```\n\n### What TO Document ✅\n\n**User-Facing Documentation:**\n\n- **Getting Started**: Quick setup, first success in \u003C5 minutes\n- **How-To Guides**: Task-oriented, problem-solving documentation\n- **API References**: When manual docs add value over generated\n- **Troubleshooting**: Common real problems with proven solutions\n- **Architecture Decisions**: When they affect user experience\n\n**Developer Documentation:**\n\n- **Contributing Guidelines**: Actual workflow, not aspirational\n- **Module READMEs**: Navigation aid with brief purpose statement\n- **Complex Business Logic**: JSDoc for non-obvious code\n- **Integration Patterns**: Reusable examples for common tasks\n\n### What NOT to Document ❌\n\n**Documentation Debt Generators:**\n\n- Generic \"Getting Started\" without specific tasks\n- API docs that duplicate generated\u002Fschema documentation\n- Code comments explaining what the code obviously does\n- Process documentation for processes that don't exist\n- Architecture docs for simple, self-explanatory structures\n- Changelogs that duplicate git history\n- Documentation of temporary workarounds\n- Multiple READMEs saying the same thing\n\n**Red Flags - Stop and Reconsider:**\n\n- \"This document explains...\" → What task does it help with?\n- \"As you can see...\" → If it's obvious, why document it?\n- \"TODO: Update this...\" → Will it actually be updated?\n- \"For more details see...\" → Is the information where users expect it?\n\n## Documentation Discovery Process\n\n### Codebase Analysis\n\n\u003Cmcp_usage>\nUse Context7 MCP to gather accurate information about:\n\n- Project frameworks, libraries, and tools in use\n- Existing API endpoints and schemas\n- Documentation generation capabilities\n- Standard patterns for the technology stack\n\u003C\u002Fmcp_usage>\n\n**Inventory Existing Documentation:**\n\n```bash\n\n# Find all documentation files\nfind . -name \"*.md\" -o -name \"*.rst\" -o -name \"*.txt\" | grep -E \"(README|CHANGELOG|CONTRIBUTING|docs\u002F)\"\n\n# Find index documents specifically\nfind . -name \"index.md\" -o -name \"SUMMARY.md\" -o -name \"_sidebar.md\" -o -name \"getting-started.md\"\nfind . -name \"mkdocs.yml\" -o -name \"docusaurus.config.js\"\n\n# Check for generated docs\nfind . -name \"openapi.*\" -o -name \"*.graphql\" -o -name \"swagger.*\"\n\n# Look for JSDoc\u002Fsimilar\ngrep -r \"@param\\|@returns\\|@example\" --include=\"*.js\" --include=\"*.ts\"\n```\n\n### User Journey Mapping\n\nIdentify critical user paths:\n\n- **Developer onboarding**: Clone → Setup → First contribution\n- **API consumption**: Discovery → Authentication → Integration\n- **Feature usage**: Problem → Solution → Implementation\n- **Troubleshooting**: Error → Diagnosis → Resolution\n\n### Documentation Gap Analysis\n\n**High-Impact Gaps** (address first):\n\n- Missing setup instructions for primary use cases\n- API endpoints without examples\n- Error messages without solutions\n- Complex modules without purpose statements\n\n**Low-Impact Gaps** (often skip):\n\n- Minor utility functions without comments\n- Internal APIs used by single modules\n- Temporary implementations\n- Self-explanatory configuration\n\n## Smart Documentation Strategy\n\n### When to Generate vs. Write\n\n**Use Automated Generation For:**\n\n- **OpenAPI\u002FSwagger**: API documentation from code annotations\n- **GraphQL Schema**: Type definitions and queries\n- **JSDoc**: Function signatures and basic parameter docs\n- **Database Schemas**: Prisma, TypeORM, Sequelize models\n- **CLI Help**: From argument parsing libraries\n\n**Write Manual Documentation For:**\n\n- **Integration examples**: Real-world usage patterns\n- **Business logic explanations**: Why decisions were made\n- **Troubleshooting guides**: Solutions to actual problems\n- **Getting started workflows**: Curated happy paths\n- **Architecture decisions**: When they affect API design\n\n### Documentation Tools and Their Sweet Spots\n\n**OpenAPI\u002FSwagger:**\n\n- ✅ Perfect for: REST API reference, request\u002Fresponse examples\n- ❌ Poor for: Integration guides, authentication flows\n- **Limitation**: Requires discipline to keep annotations current\n\n**GraphQL Introspection:**\n\n- ✅ Perfect for: Schema exploration, type definitions\n- ❌ Poor for: Query examples, business context\n- **Limitation**: No usage patterns or business logic\n\n**Prisma Schema:**\n\n- ✅ Perfect for: Database relationships, model definitions\n- ❌ Poor for: Query patterns, performance considerations\n- **Limitation**: Doesn't capture business rules\n\n**JSDoc\u002FTSDoc:**\n\n- ✅ Perfect for: Function contracts, parameter types\n- ❌ Poor for: Module architecture, integration examples\n- **Limitation**: Easily becomes stale without enforcement\n\n## Documentation Audit Guidelines\n\n### Quality Assessment\n\nFor each existing document, ask:\n\n1. When was this last updated? (>6 months = suspect)\n2. Is this information available elsewhere? (duplication check)\n3. Does this help accomplish a real task? (utility check)\n4. Is this findable when needed? (discoverability check)\n5. Would removing this break someone's workflow? (impact check)\n\n### Strategic Updates\n\n**High-Impact, Low-Effort Updates:**\n\n- Fix broken links and outdated code examples\n- Add missing setup steps that cause common failures\n- Create module-level README navigation aids\n- Document authentication\u002Fconfiguration patterns\n\n**Automate Where Possible:**\n\n- Set up API doc generation from code\n- Configure JSDoc builds\n- Add schema documentation generation\n- Create doc linting\u002Ffreshness checks\n\n## Documentation Patterns Reference\n\n### README.md Best Practices\n\n**Project Root README:**\n\n```markdown\n\n# Project Name\n\nBrief description (1-2 sentences max).\n\n## Quick Start\n[Fastest path to success - must work in \u003C5 minutes]\n\n## Documentation\n- [API Reference](.\u002Fdocs\u002Fapi\u002F) - if complex APIs\n- [Guides](.\u002Fdocs\u002Fguides\u002F) - if complex workflows\n- [Contributing](.\u002FCONTRIBUTING.md) - if accepting contributions\n\n## Status\n[Current state, known limitations]\n```\n\n**Module README Pattern:**\n\n```markdown\n\n# Module Name\n\n**Purpose**: One sentence describing why this module exists.\n\n**Key exports**: Primary functions\u002Fclasses users need.\n\n**Usage**: One minimal example.\n\nSee: [Main documentation](..\u002Fdocs\u002F) for detailed guides.\n```\n\n### Index Documents\n\nIndex documents serve as navigation aids and entry points for documentation. When updating documentation, always check if related index documents need updates.\n\n**Common Index Documents to Update:**\n\n| Document | Location | Update When |\n|----------|----------|-------------|\n| `README.md` | Project root | New features, modules, or significant changes |\n| `README.md` | Module directories | Module API, exports, or purpose changes |\n| `index.md` | `docs\u002F` root | New documentation pages or structure changes |\n| `getting-started.md` | `docs\u002F` | Setup steps, prerequisites, or quickstart changes |\n| `guides.md` | `docs\u002F` | New guides added or guide categories change |\n| `reference.md` | `docs\u002F` | New API references or reference structure |\n| `resources.md` | `docs\u002F` | New tools, links, or resources added |\n| `SUMMARY.md` | `docs\u002F` (GitBook) | Any documentation structure changes |\n| `_sidebar.md` | `docs\u002F` (Docsify) | Navigation structure changes |\n| `mkdocs.yml` | Project root (MkDocs) | Documentation navigation changes |\n\n**Index Document Update Checklist:**\n\nWhen documentation changes affect a module or feature:\n\n1. **Module-level index** - Update the module's `README.md`:\n   - Add\u002Fremove exported functions or classes\n   - Update usage examples if API changed\n   - Update purpose statement if scope changed\n\n2. **Section-level index** - Update relevant `docs\u002F` index files:\n   - `docs\u002Fguides.md` - if adding new guides\n   - `docs\u002Freference.md` - if adding new API docs\n   - `docs\u002Ftutorials.md` - if adding new tutorials\n\n3. **Project-level index** - Update root `README.md`:\n   - Add new features to feature list\n   - Update quick start if entry point changed\n   - Add new modules to project structure\n\n4. **Navigation index** - Update site navigation if present:\n   - `SUMMARY.md` for GitBook projects\n   - `_sidebar.md` for Docsify projects\n   - `mkdocs.yml` nav section for MkDocs projects\n\n**Example: Adding a New Feature**\n\nWhen adding a new \"export\" feature to a reporting module:\n\n```text\nFiles to update:\n├── src\u002Freporting\u002FREADME.md      → Add export to key exports\n├── docs\u002Fguides\u002Findex.md         → Link to new export guide\n├── docs\u002Fguides\u002Fexporting.md     → Create new guide (main content)\n├── docs\u002Freference\u002Findex.md      → Link to export API reference\n├── README.md                    → Mention export in features list\n└── SUMMARY.md                   → Add navigation entries\n```\n\n### JSDoc Best Practices\n\n**Document These:**\n\n```typescript\n\u002F**\n * Processes payment with retry logic and fraud detection.\n *\n * @param payment - Payment details including amount and method\n * @param options - Configuration for retries and validation\n * @returns Promise resolving to transaction result with ID\n * @throws PaymentError when payment fails after retries\n *\n * @example\n * ```typescript\n * const result = await processPayment({\n *   amount: 100,\n *   currency: 'USD',\n *   method: 'card'\n * });\n * ```\n *\u002F\nasync function processPayment(payment: PaymentRequest, options?: PaymentOptions): Promise\u003CPaymentResult>\n```\n\n**Don't Document These:**\n\n```typescript\n\u002F\u002F ❌ Obvious functionality\ngetName(): string\n\n\u002F\u002F ❌ Simple CRUD\nsave(user: User): Promise\u003Cvoid>\n\n\u002F\u002F ❌ Self-explanatory utilities\ntoLowerCase(str: string): string\n```\n\n## Quality Gates\n\n**Before Publishing:**\n\n- [ ] All code examples tested and working\n- [ ] Links verified (no 404s)\n- [ ] Document purpose clearly stated\n- [ ] Audience and prerequisites identified\n- [ ] No duplication of generated docs\n- [ ] Maintenance plan established\n\n**Documentation Debt Prevention:**\n\n- [ ] Automated checks for broken links\n- [ ] Generated docs preferred over manual where applicable\n- [ ] Clear ownership for each major documentation area\n- [ ] Regular pruning of outdated content\n\n## Documentation Update Summary Template\n\n```markdown\n\n## Documentation Updates Completed\n\n### Files Updated\n- [ ] README.md (root)\n- [ ] Module README.md files\n- [ ] docs\u002F directory organization\n- [ ] API documentation (generated\u002Fmanual)\n- [ ] JSDoc comments for complex logic\n\n### Index Documents Updated\n- [ ] Root README.md - features list, quick start\n- [ ] Module README.md files - exports, usage\n- [ ] docs\u002Findex.md or SUMMARY.md - navigation\n- [ ] docs\u002Ftutorials.md or getting-started.md - tutorials\n- [ ] docs\u002Fguides.md - guides\n- [ ] docs\u002Freference.md - API reference\n- [ ] Other index files: [list any others]\n\n### Changes Documented\n- [List code changes that were documented]\n- [New documentation created]\n- [Existing documentation updated]\n\n### Quality Review\n- [ ] All examples tested and working\n- [ ] Links verified\n- [ ] Index documents link to new content\n- [ ] Follows project conventions\n\n### Next Steps\n- [Any follow-up documentation tasks]\n- [Maintenance notes]\n```\n",{"name":5,"description":7,"argument-hint":44},"Optional target directory, documentation type (api, guides, readme, jsdoc), or specific focus area","main","d8518247cb8ab8b2dac57a6be33543ffd23b97c5","write-technical\u002FNeoLabHQ\u002Fupdate-docs",0,"https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry","https:\u002F\u002Fgithub.com\u002Fmattonweb","2026-05-29 08:42:23",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add mattonweb\u002Fai-assistant-foundry --skill \"docs:update-docs\"",{"tool":58,"command":59},"bunx","bunx skills add mattonweb\u002Fai-assistant-foundry --skill \"docs:update-docs\"",{"tool":61,"command":62},"pnpm","pnpm dlx skills add mattonweb\u002Fai-assistant-foundry --skill \"docs:update-docs\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002FNeoLabHQ\u002Fupdate-docs\u002FSKILL.md",true,[],[67,93,106,122,141,167],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M6P02DENRHN6KVGYC55FKASJ","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsoftaworks\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,37,92],"writing clearly and concisely","writing","concisely","text","for","more","timeless","error","professional","prose","reports","use","read","Rules","commit messages","messages","error messages","ui","commit",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M6P0286HZ8RWMFCCPC8HF7SC","crafting-effective-readmes","Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsoftaworks\u002Fcrafting-effective-readmes\u002FSKILL.md",[],[100,101,75,102,103,85,28,104,105],"crafting effective readmes","README","templates","type","guidance","files",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6P025A41BBTPWVTZ3GFQVG6","wiki-architect","You are a documentation architect that produces structured wiki catalogues and onboarding guides from codebases.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsickn33\u002Fwiki-architect\u002FSKILL.md",[],[113,114,115,116,117,118,26,119,120,121,37],"wiki","architect","wiki architect","unknown","you","documentation architect","structured","community","onboarding",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M6P01NSKPXP77NWB4K0PXRK5","readme","You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsickn33\u002Freadme\u002FSKILL.md",[],[101,23,129,130,117,131,132,28,133,31,45,134,135,136,137,138,37,139,140],"tree","kind","expert","github","wish","goal","write","technical writer","technical","https","write a readme","safe",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M6P01GP0NEN8KT3A3SA6ZFVE","ubiquitous-language","Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions \"domain model\" or \"DDD\".","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fmattpocock\u002Fubiquitous-language\u002FSKILL.md",[],[148,149,85,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],"ubiquitous language","language","extract","user","glossary","model","terms","ddd","create","build","true","canonical","style","define","harden","domain model","domain","terminology","conversation",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":39},"01M6P01BJBP9XP4TDRT7QD1ZVA","technical-writing-style","Enforce clear, direct writing in software development documents including OKRs, PRDs, tech specs, architecture decision records (ADRs), git commit messages, PR descriptions, READMEs, changelogs, runbooks, incident postmortems, API docs, and onboarding guides. Trigger whenever a user asks to write, edit, revise, or review any of these document types. Also trigger when the user says writing \"sounds like AI\", \"feels robotic\", \"needs polish\", or asks to \"make it sound more natural\" in the context of technical or professional prose. Do not trigger for fiction, poetry, creative writing, academic papers, or legal documents unless the user explicitly asks for a more natural tone.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fmattnebr\u002Ftechnical-writing-style\u002FSKILL.md",[],[174,175,160,137,75,176,82,177,178,179,180,181,182,183,35,89,184,185,92,186],"writing style","technical writing style","technical writing","papers","types","runbooks","software development","incident","Poetry","decision","documents","architecture","review"]