sync-docs
Use after writing code, implementing features, or fixing bugs to update feature documentation in docs/features/ and keep project documentation in sync.
от J-StaR-Films-Studios★ 27 звёзд на GitHub
Установить sync-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Sync Docs Skill
Update docs/features/ after major code changes.
When to Use
- After completing a feature or fix
- When documentation is mentioned as outdated
- After significant refactoring
- When user asks to "update docs"
Prerequisites
- You have just completed a code change
- You know which files were modified
Process
1. Identify Changed Components
Focus on:
src/main/(backend logic)src/renderer/(UI components)src/shared/(types, constants)src/features/(feature modules)
2. List Existing Docs
ls docs/features/
head -20 docs/features/*.md
3. Determine Action
For each changed component:
- UPDATE: Feature already has documentation
- CREATE: New feature, needs new doc
- SKIP: Minor change, already covered
4. Documentation Template
# Feature Name
## Overview
One paragraph explaining what this feature does.
## Architecture
- **Service/File:** `src/main/path/to/file.ts`
- **Dependencies:** List key dependencies
## Key Components
### Component 1
Explanation...
### Component 2
Explanation...
## Data Flow (optional)
```mermaid
flowchart LR
A --> B --> C
Configuration (if applicable)
| Setting | Type | Default | Description |
|---|---|---|---|
| ... | ... | ... | ... |
Hotfixes / Changelog (optional)
Hotfix YYYY-MM-DD: Brief Title
- Problem: What was broken
- Solution: How it was fixed
### 5. Write Updates
- **UPDATE**: Use `view_file` → `replace_file_content`
- **CREATE**: Use `write_to_file` with template
### 6. Verify Links
Ensure file paths in docs are correct (use backticks).
### 7. Summary
Report what was done:
- Updated: `docs/features/foo.md` (added XYZ section)
- Created: `docs/features/bar.md` (new feature doc)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sync-docs?
Use after writing code, implementing features, or fixing bugs to update feature documentation in docs/features/ and keep project documentation in sync.
Как установить скилл sync-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sync-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…