Skip to content
doc-consistency logo

Documentation Consistency Skill

doc-consistency

This skill provides guidance for maintaining documentation consistency with implementation in the vscode-sidebar-terminal project. Use this skill when creating or updating documentation, verifying documentation accuracy, preparing releases, or when the codebase has changed and documentation may n...

SKILL.md

Full skill instructions

Documentation Consistency Skill

This skill ensures project documentation accurately reflects the current implementation.

When to Use This Skill

  • After implementing a new feature
  • After fixing a bug that changes behavior
  • Before creating a release
  • When adding or modifying configuration options
  • When adding or modifying keyboard shortcuts
  • When updating architecture or patterns
  • When reviewing documentation quality

Documentation Update Workflow

1. Identify Changed Components

After code changes, determine which documentation needs updates:

Change TypeDocuments to Update
New featureREADME.md, CHANGELOG.md
Bug fixCHANGELOG.md
Config changeREADME.md (Configuration), CHANGELOG.md
Shortcut changeREADME.md (Keyboard Shortcuts), CHANGELOG.md
Architecture changeCLAUDE.md, possibly domain CLAUDE.md files
WebView changesrc/​webview/​CLAUDE.md, CLAUDE.md
Test pattern changesrc/​test/​CLAUDE.md

2. Update Documentation in Order

  1. CHANGELOG.md - Always update first

    • Add entry under [Unreleased] section
    • Use correct section (Added/​Changed/​Fixed/​etc.)
    • Include issue/​PR number if applicable
  2. README.md - If user-visible changes

    • Features table if new feature
    • Configuration section if settings changed
    • Keyboard Shortcuts if bindings changed
  3. CLAUDE.md - If development process affected

    • Commands section if new npm scripts
    • Architecture section if patterns changed
    • Guidelines if best practices updated
  4. Domain-specific docs - If specialized area changed

    • src/​webview/​CLAUDE.md for WebView changes
    • src/​test/​CLAUDE.md for testing changes

3. Verify Consistency

Run verification checks from references/​verification-checklist.md:

# Version check
node -p "require('./​package.json').version"

# Commands check
node -p "require('./​package.json').contributes.commands.map(c => c.command).join('\n')"

# Config check
node -p "Object.keys(require('./​package.json').contributes.configuration.properties).join('\n')"

Pre-Release Documentation Checklist

Before each release, verify:

  • CHANGELOG.md has entry for new version with correct date
  • All new features documented in README.md
  • All changed configurations documented correctly
  • All keyboard shortcuts documented with correct platforms
  • Version numbers consistent across files
  • No TODO items left in documentation
  • Links are working

Quick Reference Commands

Check Undocumented Commands

node -e "
const pkg = require('./​package.json');
const fs = require('fs');
const readme = fs.readFileSync('README.md', 'utf8');
pkg.contributes.commands.forEach(cmd => {
  const shortName = cmd.command.replace('secondaryTerminal.', '');
  if (!readme.includes(shortName)) {
    console.log('Undocumented:', cmd.command);
  }
});
"

Check Undocumented Configs

node -e "
const pkg = require('./​package.json');
const fs = require('fs');
const readme = fs.readFileSync('README.md', 'utf8');
Object.keys(pkg.contributes.configuration.properties).forEach(key => {
  if (!readme.includes(key)) {
    console.log('Undocumented config:', key);
  }
});
"

Check CHANGELOG Version

VERSION=$(node -p "require('./​package.json').version")
grep -q "## \[$VERSION\]" CHANGELOG.md && echo "Version documented" || echo "Version missing in CHANGELOG"

Document Structures

README.md Structure

# Product Name
[Badges]
**Description**
[Hero Image]
## Quick Start
## Key Features
## Keyboard Shortcuts
## Command Palette
## Configuration
## Architecture
## Performance
## Troubleshooting
## Development
## Known Limitations
## Privacy
## Contributing
## Links
## License

CHANGELOG.md Entry Format

## [X.Y.Z] - YYYY-MM-DD

### Added
- **Feature Name**: Description (#issue-number)

### Fixed
- **Bug Name**: Fix description (#issue-number)
  - Technical detail if helpful

### Changed
- **Component Name**: What changed

CLAUDE.md Structure

## Development Flow
## Essential Development Commands
## Architecture Overview
## Development Guidelines
## Known Issues & Workarounds
## Performance Optimization
## Testing Strategy
## Emergency Response

Reference Files

For detailed information, read the following reference files:

ReferenceUse When
references/​documentation-structure.mdUnderstanding project documentation layout
references/​verification-checklist.mdRunning consistency checks
references/​writing-guidelines.mdWriting or improving documentation

Common Issues and Solutions

Issue: Feature in code but not documented

Solution:

  1. Add feature description to README.md Key Features table
  2. Add CHANGELOG.md entry under appropriate section
  3. If architecture changed, update CLAUDE.md

Issue: Configuration default changed

Solution:

  1. Update README.md Configuration section
  2. Add CHANGELOG.md entry under Changed
  3. Verify package.json description matches

Issue: Keyboard shortcut modified

Solution:

  1. Update README.md Keyboard Shortcuts table
  2. Include both Mac and Win/​Linux bindings
  3. Add CHANGELOG.md entry

Issue: Japanese docs out of sync

Solution:

  1. Compare README.md with docs/​README_ja.md
  2. Update Japanese version with new content
  3. Consider whether domain CLAUDE.md files should be translated

Writing Style Quick Reference

  • Concise: Users skim documentation
  • Accurate: Match current implementation exactly
  • User-centric: Focus on "how to use" not "how it works"
  • Consistent: Follow existing patterns in each file
  • Actionable: Include commands and examples

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View