/vibe:ghcopilot-instr-update-docs-on-code-changefrom vibe
Detects when code changes require documentation updates (README, API docs, config guides) and keeps them synchronized.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ensure documentation stays synchronized with code changes by automatically detecting when README.md, API documentation, configuration guides, and other documentation files need updates based on code modifications.
The following parts of this section, Instruction Sections and Configurable Instruction Sections
and Instruction Configuration are only relevant to THIS instruction file, and are meant to be a
method to easily modify how the Copilot instructions are implemented. Essentially the two parts
are meant to turn portions or sections of the actual Copilot instructions on or off, and allow for
custom cases and conditions for when and how to implement certain sections of this document.
There are several instruction sections in this document. The start of an instruction section is indicated by a level two header. Call this an INSTRUCTION SECTION. Some instruction sections are configurable. Some are not configurable and will always be used.
Instruction sections that ARE configurable are not required, and are subject to additional context and/or conditions. Call these CONFIGURABLE INSTRUCTION SECTIONS.
Configurable instruction sections will have the section's configuration property appended to
the level two header, wrapped in backticks (e.g., apply-this). Call this the
CONFIGURABLE PROPERTY.
The configurable property will be declared and defined in the Instruction Configuration
portion of this section. They are booleans. If true, then apply, utilize, and/or follow the
instructions in that section.
Each configurable instruction section will also have a sentence that follows the section's level two header with the section's configuration details. Call this the CONFIGURATION DETAIL.
The configuration detail is a subset of rules that expand upon the configurable instruction section. This allows for custom cases and/or conditions to be checked that will determine the final implementation for that configurable instruction section.
Before resolving on how to apply a configurable instruction section, check the
configurable property for a nested and/or corresponding apply-condition, and utilize the apply-condition when settling on the final approach for the configurable instruction section. By
default the apply-condition for each configurable property is unset, but an example of a set
apply-condition could be something like:
- **apply-condition** :
` this.parent.property = (git.branch == "master") ? this.parent.property = true : this.parent.property = false; `
The sum of all the constant instructions sections, and configurable instruction sections will determine the complete instructions to follow. Call this the COMPILED INSTRUCTIONS.
The compiled instructions are dependent on the configuration. Each instruction section included in the compiled instructions will be interpreted and utilized AS IF a separate set of instructions that are independent of the entirety of this instruction file. Call this the FINAL PROCEDURE.
Automatically check if documentation updates are needed when:
Always update README.md when:
Adding new features or capabilities
Modifying installation or setup process
Adding new CLI commands or options
Changing configuration options
Sync API documentation when:
New endpoints are added
Endpoint signatures change
Authentication or authorization changes
Verify and update code examples when:
Function signatures change
API interfaces change
Best practices evolve
Update configuration docs when:
New environment variables are added
Config file structure changes
Deployment configuration changes
Create migration guides when:
Breaking API changes occur
Major version updates
Deprecating features
apply-doc-file-structureIf apply-doc-file-structure == true, then apply the following configurable instruction section.
Maintain these documentation files and update as needed:
installation.md: Setup and installation guideconfiguration.md: Configuration options and examplesapi.md: API reference documentationcontributing.md: Contribution guidelinesmigration-guides/: Version migration guidesAdd changelog entries for:
Changelog format:
```markdown
## [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
```
apply-doc-verificationIf apply-doc-verification == true, then apply the following configurable instruction section.
Check documentation completeness:
Include documentation validation:
Verify code examples in docs compile/run
Check for broken internal/external links
Validate configuration examples against schemas
Ensure API examples match current implementation
# Example validation commands
npm run docs:check # Verify docs build
npm run docs:test-examples # Test code examples
npm run docs:lint # Check for issues
apply-doc-quality-standardIf apply-doc-quality-standard == true, then apply the following configurable instruction section.
```markdown
### 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
\`\`\`
```
```markdown
### `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 why error is thrown
```
apply-automation-toolingIf apply-automation-tooling == true, then apply the following configurable instruction section.
Use automated tools when available:
Validate documentation with:
Add pre-commit checks for:
apply-doc-patternsIf apply-doc-patterns == true, then apply the following configurable instruction section.
```markdown
## Feature Name
Brief description of the feature.
### Usage
Basic usage example with code snippet.
### Configuration
Configuration options with examples.
### Advanced Usage
Complex scenarios and edge cases.
### Troubleshooting
Common issues and solutions.
```
```markdown
### `HTTP_METHOD /api/endpoint`
Description of what the endpoint does.
**Request:**
\`\`\`json
{
"param": "value"
}
\`\`\`
**Response:**
\`\`\`json
{
"result": "value"
}
\`\`\`
**Status Codes:**
- 200: Success
- 400: Bad request
- 401: Unauthorized
```
apply-best-practicesIf apply-best-practices == true, then apply the following configurable instruction section.
apply-validation-commandsIf apply-validation-commands == true, then apply the following configurable instruction section.
Example scripts to apply to your project for documentation validation:
{
"scripts": {
"docs:build": "Build documentation",
"docs:test": "Test code examples in docs",
"docs:lint": "Lint documentation files",
"docs:links": "Check for broken links",
"docs:spell": "Spell check documentation",
"docs:validate": "Run all documentation checks"
}
}
apply-maintenance-scheduleIf apply-maintenance-schedule == true, then apply the following configurable instruction section.
When deprecating features:
apply-git-integrationIf apply-git-integration == true, then apply the following configurable instruction section.
Documentation must be updated in the same PR as code changes:
During code review, verify:
Before considering documentation complete, and concluding on the final procedure:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job