Token导航 LogoToken导航TokenDH.com
前端设计可写文件github未标认证来源可访问许可证需确认审计通过

doc-consistency文档一致性

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

456

周安装

19

GitHub Stars

18

下载量

152
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-consistency(文档一致性)
来源仓库:https://github.com/s-hiraoku/vscode-sidebar-terminal
仓库路径:skills/doc-consistency
安装命令:
npx skills add https://github.com/s-hiraoku/vscode-sidebar-terminal --skill doc-consistency
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/s-hiraoku/vscode-sidebar-terminal --skill doc-consistency

简介

确保文档与当前代码实现保持一致。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适用于功能、配置与快捷键变更后的同步更新。
  • 提供变更影响分析与文档更新清单生成。
  • 需在代码修改后主动触发,避免信息滞后。
  • doc-consistency 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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

  1. README.md - If user-visible changes

- Features table if new feature - Configuration section if settings changed - Keyboard Shortcuts if bindings changed

  1. CLAUDE.md - If development process affected

- Commands section if new npm scripts - Architecture section if patterns changed - Guidelines if best practices updated

  1. 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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.86%
按下载量换算51

Claude

29.65%
按下载量换算45

Cursor

19.32%
按下载量换算29

Gemini CLI

9.36%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills