docs-update
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "docs-update" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-25a8d6eae75482a92ae25787d1bd989f655e91610bd1a44ac24d2b12c4c54213. Verify the upstream source and version against https://github.com/jellydn/my-ai-tools before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Update user-facing documentation when code changes. Review commits and synchronize documentation with code changes to ensure user docs reflect the current implementation.
Introduction source: third_party · jellydn · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Update docs when code changes — reviews commits and syncs user-facing documentation
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- When source code and documentation are in separate repositories, identify changes in the source repo, then switch to the docs repo and follow the workflow above. Reference source commits in the PR description.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: docs-update
description: "Update docs when code changes — reviews commits and syncs user-facing documentation"
license: MIT
compatibility: cline, claude, opencode, amp, codex, gemini, cursor, pi
hint: Use when updating documentation, reviewing docs, or handling documentation changes after code changes
user-invocable: true
disable-model-invocation: true
metadata:
audience: all
workflow: documentationDocumentation Bot
Automatically review code changes and update user-facing documentation to keep it synchronized with the codebase. Works across documentation platforms (Mintlify, Docusaurus, GitBook, Fumadocs, etc.) and supports both monorepo and multi-repo setups.
Workflow
1. Identify Significant Code Changes
Determine which commits need documentation updates:
- Find the default branch
- Get recent commits (default: last 24 hours, or accept user-specified timeframe)
- Examine each commit's changes to understand what was modified
Filter for significant changes:
- New features or capabilities
- API changes (new endpoints, parameters, return values)
- Breaking changes
- New configuration options
- New CLI commands or flags
- Changes to user-facing behavior
Skip documentation for:
- Internal refactoring
- Test-only changes
- Minor bug fixes
- Typo corrections in code
- Performance optimizations without user impact
Be conservative: quality over quantity. When in doubt about significance, skip the update.
2. Analyze Documentation Context
Locate documentation:
- Check for documentation directory in current repo (monorepo pattern)
- Look for separate documentation repository in environment
Identify documentation platform: Determine the platform by examining configuration files and directory structure (e.g., Mintlify, Docusaurus, GitBook, Fumadocs, or generic markdown).
Understand documentation style: Read several existing documentation files to identify tone, voice, structure, code example patterns, terminology, and formatting conventions. Check for style guides or contribution documentation.
3. Determine Documentation Updates
Map code changes to documentation needs (new content, modifications, or additions to existing content).
Guidelines:
- Prioritize user-facing changes over implementation details
- Match existing documentation verbosity (some docs are comprehensive, others minimal)
- Preserve existing accurate content—be strictly additive when possible
- Keep content focused and avoid generic advice
4. Generate Documentation Changes
Match existing style:
- Use the same tone, voice, and formality level identified in step 2
- Follow the same heading structure and hierarchy
- Use consistent terminology
- Match code block formatting (language tags, highlighting)
- Follow platform conventions (frontmatter, special syntax, custom components)
5. Execute or Report
Testing mode (when user asks to "see what would change"):
Output a text summary describing:
- What changes were detected in commits
- Which documentation files would be modified
- What content would be added or changed
- Rationale for why these updates are needed
Execution mode (when running as automation):
-
Create a descriptive branch name (e.g.,
docs/auto-update-YYYYMMDD) -
Make documentation changes to appropriate files
-
Push branch and create PR with description linking to relevant commits:
- List which code changes triggered which documentation updates
- Include commit references or URLs from source repository
- Request review for accuracy and completeness
Multi-Repository Setup
When source code and documentation are in separate repositories, identify changes in the source repo, then switch to the docs repo and follow the workflow above. Reference source commits in the PR description.
Edge Cases
- If no significant changes found, report that no documentation updates are needed
- If documentation platform is unclear, default to standard markdown syntax
- If conflicting with existing content, preserve existing information and note conflicts for human review
Key Principles
- Conservative: Better to skip than clutter documentation
- Consistent: Match existing style, tone, and structure exactly
- Contextual: Consider the full documentation landscape, not just individual files
- Clear: Explain significance of changes and rationale for updates
- Practical: Focus on helping users accomplish tasks, not describing implementation
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决代码变更时文档同步的实际痛点
- 适用于多种文档平台和仓库结构
- 具有明确的过滤机制避免过度更新
Highlights
- 触发词清晰完整,覆盖多种使用场景
- description 准确描述了核心功能
- hint 提供了明确的调用指引
Highlights
- 文档结构完整,包含详细的工作流程
- frontmatter 信息完整且规范
- 提供了边缘情况处理和关键原则说明
Highlights
- 提供了测试模式和执行模式两种选择
- 包含异常情况处理说明
- 执行流程清晰,有明确的分支和PR创建策略
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
When source code and documentation are in separate repositories, identify changes in the source repo, then switch to the docs repo and follow the workflow above. Reference source commits in the PR description.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.