Update Docs on Code Change
БесплатноБез исполняемых скриптовНе проверенAutomatically update README.md and documentation files when application code changes require documentation updates. Use when adding new features, changing…
от jhauga983 установки в других каталогахОб этом скилле
Update Documentation on Code Change
A skill for keeping documentation synchronized with code changes. Automatically detects when README.md, API documentation, configuration guides, and other documentation files need updates based on code modifications.
When to Use This Skill
- Adding new features or functionality
- Changing API endpoints, methods, or interfaces
- Introducing breaking changes
- Modifying dependencies or requirements
- Changing configuration options or environment variables
- Updating installation or setup procedures
- Modifying CLI commands or scripts
- When code examples in documentation become outdated
Prerequisites
- Understanding of the project's documentation structure
- Access to code changes being made
- Knowledge of documentation files that may need updates
Documentation Update Workflows
README.md Updates
Update README.md when:
Adding new features or capabilities
- Add feature description to "Features" section
- Include usage examples if applicable
- Update table of contents if present
Modifying installation or setup process
- Update "Installation" or "Getting Started" section
- Revise dependency requirements
- Update prerequisite lists
Adding new CLI commands or options
- Document command syntax and examples
- Include option descriptions and default values
- Add usage examples
Changing configuration options
- Update configuration examples
- Document new environment variables
- Update config file templates
API Documentation Updates
Sync API documentation when:
New endpoints are added
- Document HTTP method, path, parameters
- Include request/response examples
- Update OpenAPI/Swagger specs
Endpoint signatures change
- Update parameter lists
- Revise response schemas
- Document breaking changes
Authentication or authorization changes
- Update authentication examples
- Revise security requirements
- Update API key/token documentation
Code Example Synchronization
Verify and update code examples when:
Function signatures change
- Update all code snippets using the function
- Verify examples still compile/run
- Update import statements if needed
API interfaces change
- Update example requests and responses
- Revise client code examples
- Update SDK usage examples
Changelog Management
Add changelog entries for:
- New features (under "Added" section)
- Bug fixes (under "Fixed" section)
- Breaking changes (under "Changed" section with BREAKING prefix)
- Deprecated features (under "Deprecated" section)
- Removed features (under "Removed" section)
- Security fixes (under "Security" section)
Changelog format:
## [Version] - YYYY-MM-DD
### Added
- New feature description with reference to PR/issue
### Changed
- **BREAKING**: Description of breaking change
- Other changes
### Fixed
- Bug fix description
Migration Guides
Create migration guides when:
Breaking API changes occur
- Document what changed
- Provide before/after examples
- Include step-by-step migration instructions
Major version updates
- List all breaking changes
- Provide upgrade checklist
- Include common migration issues and solutions
Deprecating features
- Mark deprecated features clearly
- Suggest alternative approaches
- Include timeline for removal
Documentation File Structure
Maintain these documentation files and update as needed:
- README.md: Project overview, quick start, basic usage
- CHANGELOG.md: Version history and user-facing changes
- docs/: Detailed documentation
installation.md: Setup and installation guideconfiguration.md: Configuration options and examplesapi.md: API reference documentationcontributing.md: Contribution guidelinesmigration-guides/: Version migration guides
- examples/: Working code examples and tutorials
Documentation Quality Standards
Writing Guidelines
- Use clear, concise language
- Include working code examples
- Provide both basic and advanced examples
- Use consistent terminology
- Include error handling examples
- Document edge cases and limitations
Code Example Format
### Example: [Clear description of what example demonstrates]
\`\`\`language
// Include necessary imports/setup
import { function } from 'package';
// Complete, runnable example
const result = function(parameter);
console.log(result);
\`\`\`
**Output:**
\`\`\`
expected output
\`\`\`
API Documentation Format
### `functionName(param1, param2)`
Brief description of what the function does.
**Parameters:**
- `param1` (type): Description of parameter
- `param2` (type, optional): Description with default value
**Returns:**
- `type`: Description of return value
**Example:**
\`\`\`language
const result = functionName('value', 42);
\`\`\`
**Throws:**
- `ErrorType`: When and wh
Установить Update Docs on Code Change в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Update Docs on Code Change?
Automatically update README.md and documentation files when application code changes require documentation updates. Use when adding new features, changing APIs, modifying configuration options, updating installation procedures, or making breaking changes. Triggers on code modifications that affect user-facing documentation, changelog entries, migration guides, or code examples.
Как установить скилл Update Docs on Code Change?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Update Docs on Code Change запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop 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…
от Anthropicinternal-comms
A 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…
от Anthropicskill-development
This 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…
от Anthropic