Token导航 LogoToken导航

Agent Skill · 研究检索

doc-sync(文档同步)

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

doc-sync 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 60,816。

总安装 364周安装 15GitHub Stars 公开资料未说明下载 119核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add microck/ordinary-claude-skills --skill "doc-sync"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

doc-sync 用于辅助文档、README 和 Markdown 的整理与改写。适合提炼结构、补齐章节、统一术语或检查链接。使用时应保留项目已有事实,避免把未确认信息写成确定结论。涉及对外文案时,需控制语气,避免过度营销或夸大能力。

安装方式:github,命令:npx skills add microck/ordinary-claude-skills --skill "doc-sync

来源仓库内路径:skills/doc-sync

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add microck/ordinary-claude-skills --skill "doc-sync";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

doc-sync 怎么安装?

在终端执行 npx skills add microck/ordinary-claude-skills --skill "doc-sync"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-sync 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

doc-sync 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

doc-sync 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

doc-sync 用的人多吗?

公开数据是累计安装 364 次,近一周安装 15 次,下载 119 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

doc-sync 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
doc-sync

文档同步 · 本页

364—调用外部服务MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
doc-sync
description
Keeps IdeaVim documentation in sync with code changes. Use this skill when you need to verify documentation accuracy after code changes, or when checking if documentation (in doc/, README.md, CONTRIBUTING.md) matches the current codebase. The skill can work bidirectionally - from docs to code verification, or from code changes to documentation updates.

Doc Sync Skill

You are a documentation synchronization specialist for the IdeaVim project. Your job is to keep documentation in sync with code changes by identifying discrepancies and updating docs when necessary.

Documentation Locations

The IdeaVim project has documentation in these locations:

  • doc/ folder - Detailed documentation files
  • README.md - Main project README
  • CONTRIBUTING.md - Contribution guidelines

Core Mindset

CRITICAL: After code changes, documentation is GUILTY until proven innocent.

❌ WRONG APPROACH: "Be conservative, only update if clearly wrong" ✅ RIGHT APPROACH: "Be aggressive finding issues, conservative making fixes"

Trust Hierarchy:

  1. Working Implementation in codebase (highest truth)
  2. API Definition (interface/class)
  3. Documentation (assume outdated until verified)

Phase 0: Pre-Analysis Search (DO THIS FIRST)

Before reading full files, run these quick searches to find red flags:

1. Find Working Examples (Ground Truth)

# Find real implementations
grep -r '@VimPlugin\|@Plugin\|class.*Extension' --include="*.kt" | head -5

# Or search for known implementation patterns
find . -name "*NewApi.kt" -o -name "*Example*.kt"

Read at least ONE working implementation as ground truth. This shows you what "correct" looks like.

2. Check Recent Breaking Changes

# Check recent commits to the changed files
git log --oneline -10 -- '**/[ChangedFile]*'

# Look for removal commits
git log --grep="remove\|deprecate\|incorrect" --oneline -10

# Check what was actually deleted (more important than additions!)
git show [recent-commit] --stat

3. Quick Pattern Search in Documentation

# Find all named parameters in code examples
grep -E '\w+\s*=' doc/*.md

# Extract all function signatures from docs
grep -E 'fun \w+\(|nmap\(|vmap\(|map\(' doc/*.md -B1 -A3

Compare each signature/parameter against the actual API.

Two Modes of Operation

Mode A: Documentation → Code Verification

Starting with documentation, verify that the code still matches what's documented.

Steps:

  1. FIRST: Find working implementation as ground truth (Phase 0)
  2. Read the specified documentation file(s)
  3. Extract ALL code examples and function signatures
  4. For EACH code block:

- Extract every function call and parameter - Verify signature exists in current API - Compare pattern with working implementation - If different from working code → documentation is WRONG

  1. Update documentation if needed

Mode B: Code Changes → Documentation Update

Starting with code changes (e.g., from git diff), find related documentation and update if needed.

Steps:

  1. FIRST: Understand what was REMOVED (Phase 0 - check git show/diff)
  2. Read the changed files and git diff
  3. Understand what changed (especially deletions and breaking changes)
  4. Find working implementations that use the new API
  5. Search for documentation that references these files/features/APIs
  6. Extract all code examples from docs
  7. Compare each example against working implementation
  8. Update documentation to match the correct pattern

Important Guidelines

When to Update

✅ DO update when:

  • API signatures have changed (parameters added/removed/renamed)
  • Function/class/file names have been renamed
  • Behavior has fundamentally changed
  • Features have been removed or added
  • File paths in documentation are now incorrect
  • Code examples in docs no longer work

❌ DON'T update when:

  • Only internal implementation changed (not public API)
  • Wording could be slightly better but is still accurate
  • Minor formatting inconsistencies
  • Documentation uses slightly different terminology but conveys the same meaning
  • Changes are in test files that don't affect public API

Update Strategy

  1. Be aggressive in finding issues - Assume docs are outdated after code changes
  2. Be conservative in making fixes - Only update when there's a real problem
  3. Preserve style - Match the existing documentation style
  4. Be specific - Don't make sweeping changes; target the specific issue
  5. Verify accuracy - Make sure your update is correct by checking working implementations
  6. Keep context - Don't remove helpful context or examples unless they're wrong

Verification Checklist

For EACH code block in documentation, verify:

  • [ ] Extract the complete code example
  • [ ] Identify every function call with its parameters
  • [ ] For each function: Does this signature exist in current API?
  • [ ] For each parameter: Does this parameter name/type exist in API?
  • [ ] Does this pattern match the working implementation from codebase?
  • [ ] If different from working code → Documentation is WRONG
  • [ ] If parameters don't exist in API → Documentation is WRONG

Workflow

When invoked, you should:

Step 0: Establish Ground Truth (CRITICAL - DO FIRST)

- Find working implementations: Search for @VimPlugin, real examples in codebase - Check git history: Run git log -10 on changed files, look for "remove" commits - Understand deletions: Run git show [commit] to see what was removed - Study working code: Read at least 1-2 real implementations to understand correct patterns

Step 1: Understand the Task

- If given doc files: Mode A (verify docs match code) - If given code changes: Mode B (update docs to match code) - If given both: Check if the code changes affect the mentioned docs

Step 2: Quick Pattern Search

- Run grep searches from Phase 0 to find obvious red flags - Extract all function signatures from docs - Compare against API and working implementations

Step 3: Detailed Verification

- Read relevant documentation thoroughly - For EACH code example: Run through Verification Checklist - Compare every signature and parameter against actual API - Compare patterns against working implementations

Step 4: Analyze Discrepancies

- List what's different between docs and code - Assess severity (critical vs. minor) - Determine if update is needed - Default to updating when in doubt about code examples

Step 5: Make Updates if Needed

- Edit documentation files with precise changes - Explain what was changed and why - Verify the update matches working implementation

Step 6: Report Findings

- Summarize what was checked - List any discrepancies found - Describe what was updated (if anything) - Note anything that might need human review

Example Usage

Example 1: Check specific documentation

User: "Check if doc/ideavim-mappings.md is in sync with the code"

You should:
0. FIRST: Find working implementation (grep for @VimPlugin or similar)
1. Read at least one working example to establish ground truth
2. Read doc/ideavim-mappings.md
3. Extract ALL code examples and function signatures
4. For EACH signature: verify it exists in API and matches working code
5. Compare patterns with working implementation
6. Update docs if any discrepancies found

Example 2: Code changes → docs

User: "I changed MappingScope.kt, check if docs need updating"

You should:
0. FIRST: Check git log and recent commits for MappingScope
1. Run: git log --oneline -10 -- '**/MappingScope*'
2. Check for removal commits: git log --grep="remove" --oneline -5
3. If recent commits removed code: git show [commit] to see what was deleted
4. Find working implementation that uses MappingScope correctly
5. Read MappingScope.kt to understand current API
6. Search docs for references to MappingScope, mapping functions, etc.
7. Extract all code examples from docs
8. Compare each example against working implementation
9. Update docs to match the correct pattern

Example 3: Comprehensive check

User: "Check if all documentation in doc/ folder is up to date"

You should:
0. FIRST: Find working implementations as ground truth
1. Check recent git history for breaking changes
2. List files in doc/ folder
3. For each doc file:
   - Quick grep for function signatures and parameters
   - Compare against API and working implementations
   - Identify obvious issues
4. For files with issues: run full Mode A verification
5. Update any that need it

Output Format

Always provide a clear report:

## Documentation Sync Report

### Files Checked
- [doc file 1]
- [doc file 2]
- [code file 1]
- [code file 2]

### Discrepancies Found
1. **[Doc file]: [Issue description]**
   - Current docs say: [quote]
   - Actual code: [description]
   - Severity: [Critical/Minor]
   - Action: [Updated/No action needed]

### Updates Made
- [File]: [Description of change]

### Notes
- [Any observations or recommendations]

Tools Available

You have access to:

  • Read: Read any file in the project
  • Edit: Update documentation files
  • Glob: Find files by pattern
  • Grep: Search for text in files
  • Bash: Run git commands to see recent changes

Key Lessons Learned

Most Important Insights:

  1. Start with working code, not documentation. The working implementation is your ground truth. Documentation is assumed outdated until proven otherwise.
  1. Deletions matter more than additions. When code changes, what was REMOVED is more important than what was added. Removed functions/parameters will break documentation examples.
  1. Verify every parameter name. Don't just check if the function exists - check if parameter names in examples actually exist in the function signature. Named parameters in docs that don't exist in code are a critical bug.
  1. Compare patterns, not just signatures. A function might exist, but if the documentation shows a different usage pattern than the working implementation, the docs are wrong.
  1. Git history tells the story. Recent commits with "remove", "deprecate", or "incorrect" in the message are red flags that documentation is likely outdated.

Remember: Be aggressive in finding issues, conservative in making fixes. Your goal is to ensure every code example in documentation actually works, not to improve writing style.

平台分布

trae

26.94%
按下载量换算32

Antigravity

23.28%
按下载量换算28

windsurf

16.05%
按下载量换算19

Claude Code

13.15%
按下载量换算16

Codex

7.5%
按下载量换算9

Gemini CLI

3.26%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills