doc-consistency
БесплатноБез исполняемых скриптовНе проверенThis skill provides guidance for maintaining documentation consistency with implementation in the vscode-sidebar-terminal project. Use this skill when…
от s-hiraoku★ 21 звезда на GitHubОб этом скилле
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 Type | Documents to Update |
|---|---|
| New feature | README.md, CHANGELOG.md |
| Bug fix | CHANGELOG.md |
| Config change | README.md (Configuration), CHANGELOG.md |
| Shortcut change | README.md (Keyboard Shortcuts), CHANGELOG.md |
| Architecture change | CLAUDE.md, possibly domain CLAUDE.md files |
| WebView change | src/webview/CLAUDE.md, CLAUDE.md |
| Test pattern change | src/test/CLAUDE.md |
2. Update Documentation in Order
CHANGELOG.md - Always update first
- Add entry under
[Unreleased]section - Use correct section (Added/Changed/Fixed/etc.)
- Include issue/PR number if applicable
- Add entry under
README.md - If user-visible changes
- Features table if new feature
- Configuration section if settings changed
- Keyboard Shortcuts if bindings changed
CLAUDE.md - If development process affected
- Commands section if new npm scripts
- Architecture section if patterns changed
- Guidelines if best practices updated
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:
| Reference | Use When |
|---|---|
references/documentation-structure.md |
Understanding project documentation layout |
references/verification-checklist.md |
Running consistency checks |
references/writing-guidelines.md |
Writing or improving documentation |
Common Issues and Solutions
Issue: Feature in code but not documented
Solution:
- Add feature description to README.md Key Features table
- Add CHANGELOG.md entry under appropriate section
- If architecture changed, update CLAUDE.md
Issue: Configuration default changed
Solution:
- Update
Установить doc-consistency в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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 need updates. This skill should be used proactively after implementing features or bug fixes.
Как установить скилл doc-consistency?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-consistency запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic