docs-update
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "docs-update":https://skillpi.com/zh/skills/deepskill-25a8d6eae75482a92ae25787d1bd989f655e91610bd1a44ac24d2b12c4c54213。安装前核对上游来源和版本:https://github.com/jellydn/my-ai-tools。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在代码变更时更新面向用户的文档。审查提交并将文档与代码更改同步,保证用户文档反映最新实现。
介绍来源: third_party · jellydn · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
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
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决代码变更时文档同步的实际痛点
- 适用于多种文档平台和仓库结构
- 具有明确的过滤机制避免过度更新
亮点
- 触发词清晰完整,覆盖多种使用场景
- description 准确描述了核心功能
- hint 提供了明确的调用指引
亮点
- 文档结构完整,包含详细的工作流程
- frontmatter 信息完整且规范
- 提供了边缘情况处理和关键原则说明
亮点
- 提供了测试模式和执行模式两种选择
- 包含异常情况处理说明
- 执行流程清晰,有明确的分支和PR创建策略
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。