[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73AARX730D4XWN102NABV4Q":3,"skill-same:01M73AARX730D4XWN102NABV4Q":68},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M73AARX730D4XWN102NABV4Q","documentation-authoring",null,"Create structured docs from scratch — PRDs, technical specs, design docs, decision records, knowledge bases. Use when drafting documentation, writing proposals, defining requirements, or planning features.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fdocumentation-authoring\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fdocumentation-authoring\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: documentation-authoring\nversion: \"2.0\"\nlast_updated: 2026-09-08\ntags: [documentation, authoring, docs, writing, quality]\ndescription: \"Create structured docs from scratch — PRDs, technical specs, design docs, decision records, knowledge bases. Use when drafting documentation, writing proposals, defining requirements, or planning features.\"\n---\n# Documentation Authoring Master\n\nExpert guidance for creating structured, high-quality documentation across all types of technical and business documents.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Trigger Conditions:**\n- User mentions writing documentation: \"write a doc\", \"draft a proposal\", \"create a spec\", \"write up\"\n- User mentions specific doc types: \"PRD\", \"design doc\", \"decision doc\", \"RFC\"\n- User asks to \"create an implementation plan\", \"document requirements\", \"plan a feature\"\n- Creating technical specifications or business requirements\n- Starting a new product or feature development cycle\n- Translating vague ideas into concrete technical specifications\n- Stakeholders need unified \"source of truth\" for project scope\n\n## Part 2: Context Gathering\n\n### Initial Questions\n\nStart by asking for meta-context about the document:\n\n1. **What type of document is this?**\n   - Technical spec, decision doc, proposal, RFC, PRD, knowledge base\n\n2. **Who's the primary audience?**\n   - Developers, executives, stakeholders, end-users? Understanding affects tone and depth\n\n3. **What's the desired impact when someone reads this?**\n   - Make a decision, implement a feature, understand a concept?\n\n4. **Is there a template or specific format to follow?**\n   - Company templates, industry standards, regulatory requirements\n\n5. **Any other constraints or context to know?**\n   - Deadlines, sensitive information, existing related documents\n\n**Inform them they can answer in shorthand or dump information however works best for them.**\n\n### Template Handling\n\n**If user provides a template:**\n- Analyze structure and requirements\n- Adapt co-authoring workflow to template format\n- Ensure all required sections are covered\n\n**If user mentions editing an existing document:**\n- Fetch the existing document\n- Understand current state and gaps\n- Plan revisions strategically\n\n---\n\n## Part 3: Refinement & Structure\n\n### Collaborative Building\n\n**Process:**\n1. **Brainstorm each section** together - let ideas flow without judgment\n2. **Organize and refine** - structure ideas into coherent sections\n3. **Edit for clarity** - improve readability and flow\n4. **Add professional polish** - formatting, consistency, tone\n\n**Guiding Principles:**\n- **Active voice**: Use direct, clear language\n- **Show, don't just tell**: Use examples and scenarios\n- **Progressive disclosure**: Start with overview, then dive deeper\n- **Visual aids**: Include diagrams, tables, and examples where helpful\n\n### Section-by-Section Approach\n\nWork through document methodically:\n\n```markdown\n## Recommended Section Structure\n\n### 1. Executive Summary (for decision-makers)\n- What is this about?\n- Why does it matter?\n- What are we recommending\u002Fdeciding?\n\n### 2. Background & Context (for implementers)\n- What led us here?\n- What problem are we solving?\n- What constraints exist?\n\n### 3. Requirements\u002FObjectives\n- What must we achieve?\n- What are success criteria?\n- What are non-goals?\n\n### 4. Proposed Solution\u002FDesign\n- What are we proposing?\n- How does it work?\n- What are alternatives considered?\n\n### 5. Implementation Plan\n- How do we build this?\n- What are the steps?\n- Who needs to do what?\n\n### 6. Risks & Considerations\n- What could go wrong?\n- How do we mitigate?\n- What decisions are still needed?\n```\n\n---\n\n## Part 4: Reader Testing\n\n### The Fresh Eye Test\n\nBefore finalizing, put yourself in the reader's shoes:\n\n**Test Questions:**\n1. Can I understand the goal without knowing context?\n2. Are technical terms explained or linked?\n3. Is there a logical flow from problem to solution?\n4. Would a skeptical reader be convinced?\n5. Is action clear - what should I do next?\n\n### Blind Spot Detection\n\nCommon issues to catch:\n- **Context assumptions**: \"We already discussed this\" but wasn't documented\n- **Missing alternatives**: Only one option presented (shows lack of thoroughness)\n- **Unanswered questions**: Reader left with \"what about X?\"\n- **Unclear responsibilities**: Who needs to do what is vague\n- **Missing examples**: Abstract concepts without concrete illustration\n\n---\n\n## Part 5: Product Requirements Document (PRD)\n\n### PRD Structure\n\nWhen users specifically request PRDs or feature planning, use this structure:\n\n```markdown\n# [Feature\u002FProduct Name] - PRD\n\n## Executive Summary\n**Goal**: [What problem are we solving?]\n**Impact**: [Why does this matter now?]\n**Success Metrics**: [How will we know it worked?]\n\n## Background\n**Current State**: [What's the situation today?]\n**Problem Statement**: [What pain points exist?]\n**Constraints**: [Budget, timeline, tech stack limitations?]\n\n## Requirements\n\n### Functional Requirements\n- User stories with acceptance criteria\n- Core features and capabilities\n- Integration requirements\n\n### Non-Functional Requirements\n- Performance requirements\n- Security requirements\n- Compliance and regulatory needs\n\n### User Stories\n```\nAs a [persona],\nI want to [action],\nSo that [benefit].\n```\n**Acceptance Criteria**:\n- [ ] [Specific, measurable criterion]\n- [ ] [Another criterion]\n```\n\n## Proposed Solution\n\n### Architecture Overview\n[High-level system architecture or approach]\n\n### Technical Specifications\n[API contracts, data models, interfaces]\n\n### UI\u002FUX Requirements\n[Wireframes or flow descriptions if applicable]\n\n## Implementation Plan\n\n### Phases\n| Phase | Tasks | Owners | Timeline |\n|-------|--------|---------|----------|\n| Phase 1 | | | |\n| Phase 2 | | | |\n\n### Dependencies\n- [ ] External APIs or services\n- [ ] Other teams or systems\n- [ ] Third-party libraries\n\n## Risk Analysis\n\n| Risk | Impact | Probability | Mitigation |\n|-------|---------|--------------|-------------|\n| [Risk] | High\u002FMed\u002FLow | High\u002FMed\u002FLow | [Mitigation] |\n\n## Alternatives Considered\n\n| Option | Pros | Cons | Why Not Chosen |\n|--------|-------|-------|-----------------|\n| Alt 1 | | | |\n\n## Success Criteria\n\n### Quantitative\n- [ ] [Measurable metric: e.g., \"reduce load time by 50%\"]\n- [ ] [Another metric]\n\n### Qualitative\n- [ ] [User feedback threshold]\n- [ ] [Stakeholder alignment]\n\n## Open Questions\n- [ ] [Decision still needed]\n- [ ] [Information to gather]\n```\n\n### PRD Creation Workflow\n\n**Phase 1: Discovery (The Interview)**\nBefore writing a single line, you **MUST** interrogate user to fill knowledge gaps. Do not assume context.\n\n**Ask about:**\n- **The Core Problem**: Why are we building this now?\n- **Success Metrics**: How do we know it worked?\n- **Constraints**: Budget, tech stack, or deadline?\n- **Stakeholders**: Who needs to approve? Who will use?\n\n**Phase 2: Analysis & Scoping**\nSynthesize user input. Identify dependencies and hidden complexities.\n- **Map out User Flow**\n- **Define Non-Goals** to protect timeline\n\n**Phase 3: Technical Drafting**\nGenerate document using strict structure above.\n\n---\n\n## Part 6: Common Document Types\n\n### Implementation Plans\n\n**Purpose**: Guide building process with clear phases, responsibilities, and timeline.\n\n**Structure:**\n- **Overview**: What are we building and why?\n- **Phases**: Break into logical chunks with dependencies\n- **Tasks**: Trackable, specific implementation items\n- **Timeline**: Realistic dates with buffers\n- **Dependencies**: What must happen before what?\n\n### Design Docs\n\n**Purpose**: Document technical decisions and architecture.\n\n**Structure:**\n- **Problem Statement**: What problem are we solving?\n- **Alternatives**: What did we consider?\n- **Decision**: What did we choose and why?\n- **Implications**: What does this mean for the system?\n- **Risks**: What could go wrong?\n\n### Decision Records\n\n**Purpose**: Capture important decisions for future reference.\n\n**Template:**\n```markdown\n### Decision - [DATE]\n**Decision**: [What was decided]\n**Context**: [Situation and driving data]\n**Options**: [Alternatives with pros\u002Fcons]\n**Rationale**: [Why selected option is superior]\n**Impact**: [Anticipated consequences]\n**Review**: [Reassessment conditions\u002Ftrigger]\n```\n\n### Knowledge Base Articles\n\n**Purpose**: Reusable reference material, not project-specific docs.\n\n**Structure:**\n- **Quick Reference**: TL;DR summary at top\n- **Problem**: What question does this answer?\n- **Solution**: How do you solve it?\n- **Examples**: Concrete, runnable examples\n- **Common Pitfalls**: What mistakes do people make?\n- **Related Topics**: Links to related info\n\n---\n\n## Part 7: Best Practices\n\n### For All Documentation\n\n✅ **DO**:\n- Use active voice and clear language\n- Structure information progressively (simple to complex)\n- Include examples and concrete scenarios\n- Define terms before using them\n- Add diagrams for complex systems\n- Maintain consistent formatting and style\n\n❌ **DON'T**:\n- Write without clear audience in mind\n- Mix jargon without explanation\n- Skip alternatives or trade-offs analysis\n- Assume readers have context they don't\n- Create long paragraphs without breaks\n\n### For Technical Docs\n\n- Include code snippets that actually run\n- Link to external references for deeper dives\n- Use standard terminology when possible\n- Version specific code\u002Fcommands (e.g., \"for node v16+\")\n\n### For Business\u002FStakeholder Docs\n\n- Start with executive summary\n- Use business impact metrics\n- Hide unnecessary technical detail\n- Include clear next steps or approvals needed\n- Highlight risks and mitigations prominently\n\n---\n\n## Part 8: Action Documentation Format\n\nUse this format for tracking implementation work and decisions:\n\n### [TYPE] - [ACTION] - [TIMESTAMP]\n\n**Objective**: [Goal being accomplished]\n\n**Context**: [Current state, requirements, reference to prior steps]\n\n**Decision**: [Approach chosen and rationale]\n\n**Execution**: [Steps taken with parameters and commands]\n\n**Output**: [Complete results, logs, metrics]\n\n**Validation**: [Success verification and results]\n\n**Next**: [Continuation plan to next action]\n\n---\n\n## Part 9: Summary Formats\n\n### Streamlined Action Log (for changelogs)\n`[TYPE][TIMESTAMP] Goal: [X] → Action: [Y] → Result: [Z] → Next: [W]`\n\n### Quick Summary (for updates)\n**What**: [Brief description]\n**Why**: [Context\u002Frationale]\n**How**: [Approach taken]\n**Status**: [Current state]\n**Next**: [Upcoming step]\n\n---\n\n## Documentation Stack Reference\n\nInherit the shared stack from [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md#shared-documentation-stack): source-of-truth discovery, audience framing, structure selection, verification, and freshness checks. Keep this skill focused on drafting and refinement instead of restating the full stack.\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fdocumentation-authoring` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: None required\n\n- Fallback prompt: \"Use the Documentation Authoring Master skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding.\"\n- Do not claim an MCP operation was used when the active host does not expose it.\n- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.\n- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.\n- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Documentation Authoring output identifies audience, purpose, source of truth, and freshness requirements.\n2. Pass\u002Ffail: Shared documentation-stack guidance is referenced instead of duplicating another documentation skill.\n3. Pass\u002Ffail: Claims, links, commands, examples, and screenshots are verified or explicitly marked unverified.\n4. Pressure-test scenario: Apply the skill to a doc request with a stale command, missing owner, and conflicting audience.\n5. Success metric: Zero undocumented assumptions; every reader-facing claim is sourced or scoped.\n\n## Documentation Quality Checklist\n\n### Completeness\n- [ ] All required sections filled\n- [ ] Context and background provided\n- [ ] Alternatives considered where applicable\n- [ ] Examples and diagrams included where helpful\n\n### Clarity\n- [ ] Language is clear and direct\n- [ ] Technical terms defined or linked\n- [ ] Flowlogical and easy to follow\n- [ ] Active voice used consistently\n\n### Accuracy\n- [ ] Technical details are correct\n- [ ] Links work and are up-to-date\n- [ ] Code examples actually run\n- [ ] No contradictory information\n\n### Accessibility\n- [ ] Multiple levels of detail for different readers\n- [ ] Executive summary for decision-makers\n- [ ] Deep-dive sections for implementers\n- [ ] Visual aids for complex concepts\n\n---\n\n## References & Resources\n\n### Documentation\n- [Document Templates](.\u002Freferences\u002Fdocument-templates.md) — Templates for PRD, RFC, ADR, Tech Spec, Design Doc, Runbook, Postmortem, KB Article\n- [Writing Style Guide](.\u002Freferences\u002Fwriting-style-guide.md) — Technical writing best practices, formatting conventions, and readability\n\n### Scripts\n- [Doc Structure Validator](.\u002Fscripts\u002Fdoc-structure-validator.py) — Python script to validate markdown document quality\n\n### Examples\n- [PRD Example](.\u002Fexamples\u002Fprd-example.md) — Complete PRD for Recipe Search Enhancement in Kitchen Odyssey\n\n---\n\n## Cross-Skill Workflow\n\n- Start in this skill when you need to draft or reshape the document itself.\n- Pull in [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md) when the structure or template is the main decision.\n- Finish with [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md) when the draft needs an explicit review against quality bars.\n\n## Agent Prompt Template\n\n```text\nUse the documentation-authoring skill to draft a [document type] for [audience].\nGoal: [decision, rollout, implementation, or explanation target].\nRequired sections: [list].\nConstraints: [scope, timeline, compliance, or tooling notes].\nInclude open questions, trade-offs, and next steps at the end.\n```\n\n## Related Skills\n\n- [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md): Use it when the workflow also needs reusable documentation structures and templates.\n- [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md): Use it when the workflow also needs documentation review standards and quality gates.\n- [documentation-verification](..\u002Fdocumentation-verification\u002FSKILL.md): Use it when the workflow also needs final documentation validation before publishing.\n- [notion-docs](..\u002Fnotion-docs\u002FSKILL.md): Use it when the workflow also needs Notion page and database publishing workflows.\n","# Documentation Authoring Master\n\nExpert guidance for creating structured, high-quality documentation across all types of technical and business documents.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Trigger Conditions:**\n- User mentions writing documentation: \"write a doc\", \"draft a proposal\", \"create a spec\", \"write up\"\n- User mentions specific doc types: \"PRD\", \"design doc\", \"decision doc\", \"RFC\"\n- User asks to \"create an implementation plan\", \"document requirements\", \"plan a feature\"\n- Creating technical specifications or business requirements\n- Starting a new product or feature development cycle\n- Translating vague ideas into concrete technical specifications\n- Stakeholders need unified \"source of truth\" for project scope\n\n## Part 2: Context Gathering\n\n### Initial Questions\n\nStart by asking for meta-context about the document:\n\n1. **What type of document is this?**\n   - Technical spec, decision doc, proposal, RFC, PRD, knowledge base\n\n2. **Who's the primary audience?**\n   - Developers, executives, stakeholders, end-users? Understanding affects tone and depth\n\n3. **What's the desired impact when someone reads this?**\n   - Make a decision, implement a feature, understand a concept?\n\n4. **Is there a template or specific format to follow?**\n   - Company templates, industry standards, regulatory requirements\n\n5. **Any other constraints or context to know?**\n   - Deadlines, sensitive information, existing related documents\n\n**Inform them they can answer in shorthand or dump information however works best for them.**\n\n### Template Handling\n\n**If user provides a template:**\n- Analyze structure and requirements\n- Adapt co-authoring workflow to template format\n- Ensure all required sections are covered\n\n**If user mentions editing an existing document:**\n- Fetch the existing document\n- Understand current state and gaps\n- Plan revisions strategically\n\n---\n\n## Part 3: Refinement & Structure\n\n### Collaborative Building\n\n**Process:**\n1. **Brainstorm each section** together - let ideas flow without judgment\n2. **Organize and refine** - structure ideas into coherent sections\n3. **Edit for clarity** - improve readability and flow\n4. **Add professional polish** - formatting, consistency, tone\n\n**Guiding Principles:**\n- **Active voice**: Use direct, clear language\n- **Show, don't just tell**: Use examples and scenarios\n- **Progressive disclosure**: Start with overview, then dive deeper\n- **Visual aids**: Include diagrams, tables, and examples where helpful\n\n### Section-by-Section Approach\n\nWork through document methodically:\n\n```markdown\n## Recommended Section Structure\n\n### 1. Executive Summary (for decision-makers)\n- What is this about?\n- Why does it matter?\n- What are we recommending\u002Fdeciding?\n\n### 2. Background & Context (for implementers)\n- What led us here?\n- What problem are we solving?\n- What constraints exist?\n\n### 3. Requirements\u002FObjectives\n- What must we achieve?\n- What are success criteria?\n- What are non-goals?\n\n### 4. Proposed Solution\u002FDesign\n- What are we proposing?\n- How does it work?\n- What are alternatives considered?\n\n### 5. Implementation Plan\n- How do we build this?\n- What are the steps?\n- Who needs to do what?\n\n### 6. Risks & Considerations\n- What could go wrong?\n- How do we mitigate?\n- What decisions are still needed?\n```\n\n---\n\n## Part 4: Reader Testing\n\n### The Fresh Eye Test\n\nBefore finalizing, put yourself in the reader's shoes:\n\n**Test Questions:**\n1. Can I understand the goal without knowing context?\n2. Are technical terms explained or linked?\n3. Is there a logical flow from problem to solution?\n4. Would a skeptical reader be convinced?\n5. Is action clear - what should I do next?\n\n### Blind Spot Detection\n\nCommon issues to catch:\n- **Context assumptions**: \"We already discussed this\" but wasn't documented\n- **Missing alternatives**: Only one option presented (shows lack of thoroughness)\n- **Unanswered questions**: Reader left with \"what about X?\"\n- **Unclear responsibilities**: Who needs to do what is vague\n- **Missing examples**: Abstract concepts without concrete illustration\n\n---\n\n## Part 5: Product Requirements Document (PRD)\n\n### PRD Structure\n\nWhen users specifically request PRDs or feature planning, use this structure:\n\n```markdown\n# [Feature\u002FProduct Name] - PRD\n\n## Executive Summary\n**Goal**: [What problem are we solving?]\n**Impact**: [Why does this matter now?]\n**Success Metrics**: [How will we know it worked?]\n\n## Background\n**Current State**: [What's the situation today?]\n**Problem Statement**: [What pain points exist?]\n**Constraints**: [Budget, timeline, tech stack limitations?]\n\n## Requirements\n\n### Functional Requirements\n- User stories with acceptance criteria\n- Core features and capabilities\n- Integration requirements\n\n### Non-Functional Requirements\n- Performance requirements\n- Security requirements\n- Compliance and regulatory needs\n\n### User Stories\n```\nAs a [persona],\nI want to [action],\nSo that [benefit].\n```\n**Acceptance Criteria**:\n- [ ] [Specific, measurable criterion]\n- [ ] [Another criterion]\n```\n\n## Proposed Solution\n\n### Architecture Overview\n[High-level system architecture or approach]\n\n### Technical Specifications\n[API contracts, data models, interfaces]\n\n### UI\u002FUX Requirements\n[Wireframes or flow descriptions if applicable]\n\n## Implementation Plan\n\n### Phases\n| Phase | Tasks | Owners | Timeline |\n|-------|--------|---------|----------|\n| Phase 1 | | | |\n| Phase 2 | | | |\n\n### Dependencies\n- [ ] External APIs or services\n- [ ] Other teams or systems\n- [ ] Third-party libraries\n\n## Risk Analysis\n\n| Risk | Impact | Probability | Mitigation |\n|-------|---------|--------------|-------------|\n| [Risk] | High\u002FMed\u002FLow | High\u002FMed\u002FLow | [Mitigation] |\n\n## Alternatives Considered\n\n| Option | Pros | Cons | Why Not Chosen |\n|--------|-------|-------|-----------------|\n| Alt 1 | | | |\n\n## Success Criteria\n\n### Quantitative\n- [ ] [Measurable metric: e.g., \"reduce load time by 50%\"]\n- [ ] [Another metric]\n\n### Qualitative\n- [ ] [User feedback threshold]\n- [ ] [Stakeholder alignment]\n\n## Open Questions\n- [ ] [Decision still needed]\n- [ ] [Information to gather]\n```\n\n### PRD Creation Workflow\n\n**Phase 1: Discovery (The Interview)**\nBefore writing a single line, you **MUST** interrogate user to fill knowledge gaps. Do not assume context.\n\n**Ask about:**\n- **The Core Problem**: Why are we building this now?\n- **Success Metrics**: How do we know it worked?\n- **Constraints**: Budget, tech stack, or deadline?\n- **Stakeholders**: Who needs to approve? Who will use?\n\n**Phase 2: Analysis & Scoping**\nSynthesize user input. Identify dependencies and hidden complexities.\n- **Map out User Flow**\n- **Define Non-Goals** to protect timeline\n\n**Phase 3: Technical Drafting**\nGenerate document using strict structure above.\n\n---\n\n## Part 6: Common Document Types\n\n### Implementation Plans\n\n**Purpose**: Guide building process with clear phases, responsibilities, and timeline.\n\n**Structure:**\n- **Overview**: What are we building and why?\n- **Phases**: Break into logical chunks with dependencies\n- **Tasks**: Trackable, specific implementation items\n- **Timeline**: Realistic dates with buffers\n- **Dependencies**: What must happen before what?\n\n### Design Docs\n\n**Purpose**: Document technical decisions and architecture.\n\n**Structure:**\n- **Problem Statement**: What problem are we solving?\n- **Alternatives**: What did we consider?\n- **Decision**: What did we choose and why?\n- **Implications**: What does this mean for the system?\n- **Risks**: What could go wrong?\n\n### Decision Records\n\n**Purpose**: Capture important decisions for future reference.\n\n**Template:**\n```markdown\n### Decision - [DATE]\n**Decision**: [What was decided]\n**Context**: [Situation and driving data]\n**Options**: [Alternatives with pros\u002Fcons]\n**Rationale**: [Why selected option is superior]\n**Impact**: [Anticipated consequences]\n**Review**: [Reassessment conditions\u002Ftrigger]\n```\n\n### Knowledge Base Articles\n\n**Purpose**: Reusable reference material, not project-specific docs.\n\n**Structure:**\n- **Quick Reference**: TL;DR summary at top\n- **Problem**: What question does this answer?\n- **Solution**: How do you solve it?\n- **Examples**: Concrete, runnable examples\n- **Common Pitfalls**: What mistakes do people make?\n- **Related Topics**: Links to related info\n\n---\n\n## Part 7: Best Practices\n\n### For All Documentation\n\n✅ **DO**:\n- Use active voice and clear language\n- Structure information progressively (simple to complex)\n- Include examples and concrete scenarios\n- Define terms before using them\n- Add diagrams for complex systems\n- Maintain consistent formatting and style\n\n❌ **DON'T**:\n- Write without clear audience in mind\n- Mix jargon without explanation\n- Skip alternatives or trade-offs analysis\n- Assume readers have context they don't\n- Create long paragraphs without breaks\n\n### For Technical Docs\n\n- Include code snippets that actually run\n- Link to external references for deeper dives\n- Use standard terminology when possible\n- Version specific code\u002Fcommands (e.g., \"for node v16+\")\n\n### For Business\u002FStakeholder Docs\n\n- Start with executive summary\n- Use business impact metrics\n- Hide unnecessary technical detail\n- Include clear next steps or approvals needed\n- Highlight risks and mitigations prominently\n\n---\n\n## Part 8: Action Documentation Format\n\nUse this format for tracking implementation work and decisions:\n\n### [TYPE] - [ACTION] - [TIMESTAMP]\n\n**Objective**: [Goal being accomplished]\n\n**Context**: [Current state, requirements, reference to prior steps]\n\n**Decision**: [Approach chosen and rationale]\n\n**Execution**: [Steps taken with parameters and commands]\n\n**Output**: [Complete results, logs, metrics]\n\n**Validation**: [Success verification and results]\n\n**Next**: [Continuation plan to next action]\n\n---\n\n## Part 9: Summary Formats\n\n### Streamlined Action Log (for changelogs)\n`[TYPE][TIMESTAMP] Goal: [X] → Action: [Y] → Result: [Z] → Next: [W]`\n\n### Quick Summary (for updates)\n**What**: [Brief description]\n**Why**: [Context\u002Frationale]\n**How**: [Approach taken]\n**Status**: [Current state]\n**Next**: [Upcoming step]\n\n---\n\n## Documentation Stack Reference\n\nInherit the shared stack from [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md#shared-documentation-stack): source-of-truth discovery, audience framing, structure selection, verification, and freshness checks. Keep this skill focused on drafting and refinement instead of restating the full stack.\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fdocumentation-authoring` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: None required\n\n- Fallback prompt: \"Use the Documentation Authoring Master skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding.\"\n- Do not claim an MCP operation was used when the active host does not expose it.\n- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.\n- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.\n- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Documentation Authoring output identifies audience, purpose, source of truth, and freshness requirements.\n2. Pass\u002Ffail: Shared documentation-stack guidance is referenced instead of duplicating another documentation skill.\n3. Pass\u002Ffail: Claims, links, commands, examples, and screenshots are verified or explicitly marked unverified.\n4. Pressure-test scenario: Apply the skill to a doc request with a stale command, missing owner, and conflicting audience.\n5. Success metric: Zero undocumented assumptions; every reader-facing claim is sourced or scoped.\n\n## Documentation Quality Checklist\n\n### Completeness\n- [ ] All required sections filled\n- [ ] Context and background provided\n- [ ] Alternatives considered where applicable\n- [ ] Examples and diagrams included where helpful\n\n### Clarity\n- [ ] Language is clear and direct\n- [ ] Technical terms defined or linked\n- [ ] Flowlogical and easy to follow\n- [ ] Active voice used consistently\n\n### Accuracy\n- [ ] Technical details are correct\n- [ ] Links work and are up-to-date\n- [ ] Code examples actually run\n- [ ] No contradictory information\n\n### Accessibility\n- [ ] Multiple levels of detail for different readers\n- [ ] Executive summary for decision-makers\n- [ ] Deep-dive sections for implementers\n- [ ] Visual aids for complex concepts\n\n---\n\n## References & Resources\n\n### Documentation\n- [Document Templates](.\u002Freferences\u002Fdocument-templates.md) — Templates for PRD, RFC, ADR, Tech Spec, Design Doc, Runbook, Postmortem, KB Article\n- [Writing Style Guide](.\u002Freferences\u002Fwriting-style-guide.md) — Technical writing best practices, formatting conventions, and readability\n\n### Scripts\n- [Doc Structure Validator](.\u002Fscripts\u002Fdoc-structure-validator.py) — Python script to validate markdown document quality\n\n### Examples\n- [PRD Example](.\u002Fexamples\u002Fprd-example.md) — Complete PRD for Recipe Search Enhancement in Kitchen Odyssey\n\n---\n\n## Cross-Skill Workflow\n\n- Start in this skill when you need to draft or reshape the document itself.\n- Pull in [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md) when the structure or template is the main decision.\n- Finish with [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md) when the draft needs an explicit review against quality bars.\n\n## Agent Prompt Template\n\n```text\nUse the documentation-authoring skill to draft a [document type] for [audience].\nGoal: [decision, rollout, implementation, or explanation target].\nRequired sections: [list].\nConstraints: [scope, timeline, compliance, or tooling notes].\nInclude open questions, trade-offs, and next steps at the end.\n```\n\n## Related Skills\n\n- [documentation-patterns](..\u002Fdocumentation-patterns\u002FSKILL.md): Use it when the workflow also needs reusable documentation structures and templates.\n- [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md): Use it when the workflow also needs documentation review standards and quality gates.\n- [documentation-verification](..\u002Fdocumentation-verification\u002FSKILL.md): Use it when the workflow also needs final documentation validation before publishing.\n- [notion-docs](..\u002Fnotion-docs\u002FSKILL.md): Use it when the workflow also needs Notion page and database publishing workflows.\n",{"name":5,"tags":25,"version":31,"description":7,"last_updated":32},[26,27,28,29,30],"documentation","authoring","docs","writing","quality","2.0",1788825600000,"master","fd76f882a04e445e899d5cfb2732f2105ea054ee","skills\u002Fagent-skills\u002Fdocumentation-authoring",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill documentation-authoring",{"tool":49,"command":50},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill documentation-authoring",{"tool":52,"command":53},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill documentation-authoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fdocumentation-authoring\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"CHANGELOG.md","REFERENCE","参考文档",6974,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fdocumentation-authoring\u002FCHANGELOG.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",1069,[69,77,84,91,98,105],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]