AgentSkillsCN

documentation-writer

更新此VS Code扩展的文档。在被要求编写或更新README、CHANGELOG、架构文档、DI指南,或任何Markdown文档文件时使用此功能。

SKILL.md
--- frontmatter
name: documentation-writer
description: Updating documentation for this VS Code extension. Use when asked to write or update README, CHANGELOG, architecture docs, DI guides, or any Markdown documentation files.

Documentation Writing Guide

Documentation Files

FilePurpose
README.mdUser-facing: features, installation, quick start, configuration
CHANGELOG.mdVersion history with Keep a Changelog format
CONTRIBUTING.mdDeveloper setup, build commands, PR process
docs/ARCHITECTURE.mdSystem design, component diagram, data flow
docs/DI_GUIDE.mdDI patterns, token system, composition root
docs/TESTING.mdTest infrastructure, mocking patterns, coverage
docs/WORKTREES_AND_MERGING.mdGit worktree strategy, merge phases
docs/COPILOT_INTEGRATION.mdMCP protocol, agent delegation
docs/GROUPS.mdNode grouping and visual composition
docs/INSTRUCTION_ENRICHMENT.mdAgent skill enrichment pipeline design

Changelog Format

markdown
## [0.10.0] - 2026-02-15

### Added
- Feature description (#PR)

### Changed
- Behavior change description

### Fixed
- Bug fix description (#issue)

### Security
- Security improvement description

Architecture Documentation Rules

  • Include Mermaid diagrams for component relationships
  • Document the DI token → interface → implementation mapping
  • Show the 7-phase execution pipeline with data flow
  • Keep diagrams in sync with code (src/composition.ts is source of truth)

Style

  • User-facing docs (README, CHANGELOG): Clear, concise, no internal jargon
  • Developer docs (ARCHITECTURE, DI_GUIDE): Technical depth, code examples, rationale
  • All docs: Use present tense, active voice
  • Code examples: Must be valid TypeScript that compiles

What NOT to Include

  • No agent/AI-generated planning notes or investigation logs
  • No internal task tracking or debugging notes
  • No credentials, secrets, or environment-specific paths
  • No TODO comments that should be GitHub issues instead