AGENT SKILL

项目文档维护与同步

doc-maintenance

使项目文档与近期的代码和功能变更保持一致 — 检测文档偏移、更新受影响的页面,并添加与发布相关的说明,而不重写未变更的部分。

License 许可
MIT
最近更新
2026-10-30
Stars
★ 1
Forks
2

01 前言 Front Matter

key
paperclipai/bundled/docs/doc-maintenance
name
doc-maintenance
tags
[ "docs", "documentation", "release-notes" ]
description
Keep project docs aligned with recent code and feature changes — detect drift, update affected pages, and add release-relevant notes without rewriting unchanged sections.
recommendedForRoles
[ "engineer", "product", "devrel" ]

03 SKILL.md 正文

Doc Maintenance

Keep the documentation honest with minimum churn. The goal is alignment between docs and behavior, not stylistic rewrites or cosmetic re-organization. Reviewers should be able to read a diff and see "this updates docs to match recent behavior changes".

When to use

  • A PR or recent set of merges changed user-visible behavior: CLI flags, API shapes, default values, configuration keys, endpoints, environment variables, supported versions.
  • A user-reported bug traced back to outdated documentation.
  • A release is being cut and the docs need a pass against the merged commits.
  • A new feature shipped but only the engineer's PR description describes how to use it.

When not to use

  • The change is internal-only (private helper rename, refactor) with no user-visible impact.
  • You want to "improve the docs" without a behavior anchor. That is a separate scoped project, not maintenance — make a plan first.

The pass

  1. Establish the baseline. Get the commit range you are documenting against (since last release tag, since last merged-doc commit, or since a specific PR).
  2. Enumerate user-visible changes. Read commits and PR descriptions. List, for each change, what a user can now do differently.
  3. Map changes to docs. For each change, find every page that mentions the affected concept. Common targets: README, CLI reference, API reference, configuration reference, migration guide, FAQ, examples.
  4. Update precisely. Edit only the lines that need to change. Do not rewrap paragraphs you did not modify — it pollutes the diff.
  5. Add new entries where needed. New CLI flag → CLI reference entry. New env var → configuration reference entry. New endpoint → API reference entry. Don't only add it to the changelog.
  6. Update examples and snippets. Code blocks in docs are wrong faster than prose. Re-run any example that touches new behavior.
  7. Write the release note. One sentence per user-visible change. Group by Added / Changed / Fixed / Deprecated / Removed. Link to the relevant PRs and docs section.
  8. Cross-check. Search the docs for the old behavior wording and remove or update stragglers.

Style baseline

  • Voice: second person ("you can pass --json to ..."). Avoid "we" except in narrative pages.
  • Tense: present, not future. The behavior exists once shipped.
  • Headings: imperative ("Configure the cache") or noun-phrase ("Cache configuration"), match the surrounding page.
  • Code blocks: include the language tag so syntax highlighting works.
  • Cross-links: link the first mention of a concept on each page; do not link every occurrence.
  • Avoid promising future behavior. If something is unreleased, mark it experimental or omit it.

Drift detection

A doc page is drifting if any of these are true:

  • It documents a flag, key, or endpoint that no longer exists.
  • An example does not run as written.
  • A default value in the docs does not match the code.
  • A supported-versions list excludes a version the project actually supports, or includes one it dropped.
  • A "Coming soon" section references a feature that shipped or was cancelled.

When you find drift, fix it in the same pass and note it in the release note's Fixed group.

Release-note rules

  • One sentence per item. If two sentences are needed, the item is likely two items.
  • User impact first, internal cause second. Faster cold start (avoid full bundle download on first run) beats Refactor bootstrap loader.
  • Link the PR for engineering readers and the docs page for users.
  • Mark breaking changes explicitly: **Breaking:** prefix. Include migration steps inline or via link.

Anti-patterns

  • Massive doc PRs that bundle stylistic rewrites with real updates. Reviewers cannot tell which lines reflect actual behavior changes.
  • "Updated docs" commit messages with no detail. Make the commit say what changed and why.
  • Adding to the changelog without updating the reference docs the changelog points to.
  • Marking a feature as available before its code lands. Documentation must follow behavior, not promise it.

04 同仓库更多 Skills

microsoft
microsoft/amplifier-app-paperclip

Terminal-Bench 循环迭代修复诊断

terminal-bench-loop

通过 Paperclip,以有界、人工参与的改进循环运行单个 Terminal-Bench 题目,直到冒烟测试通过、评审委员会拒绝下一项修复、迭代预算耗尽,或明确指出真正的阻塞点。每次迭代都会针对隔离的 Paperclip App 工作树运行有界冒烟测试、捕获产物、使用 `/diagnose-why-work-stopped` 诊断确切的停止点、在任何产品修复前请求评审委员会确认,然后在同一工作树上重新运行。当某个 issue 要求“循环运行 Terminal-Bench”“驱动 Terminal-Bench 直到通过”“通过 Paperclip 循环修复 fix-git”,或以其他方式指向 Terminal-Bench 任务并要求带诊断的有界迭代时使用。

测试工程师测试与质量保障
★ 1
microsoft
microsoft/amplifier-app-paperclip

PARA 记忆文件管理

para-memory-files

基于文件的记忆系统,采用 Tiago Forte 的 PARA 方法。当你需要跨会话存储、检索、更新或组织知识时使用此技能。涵盖三个记忆层:(1) PARA 文件夹中的知识图谱与原子化 YAML 事实,(2) 作为原始时间线的每日笔记,(3) 关于用户行为模式的隐性知识。还处理计划文件、记忆衰减、每周综合以及通过 qmd 进行的检索。在任何记忆操作时触发:保存事实、写每日笔记、创建实体、运行每周综合、回忆过去的上下文或管理计划。

知识工作者知识管理与沉淀
★ 1
microsoft
microsoft/amplifier-app-paperclip

Paperclip 任务协调管理

paperclip

与 Paperclip 控制平面 API 交互,以管理任务、与其他智能体协调并遵循公司治理。当你需要检查任务分配、更新任务状态、委派工作、发布评论、设置或管理例程(周期性计划任务),或调用任何 Paperclip API 端点时使用。请勿将其用于实际的领域工作本身(编写代码、研究等)——仅用于 Paperclip 协调。

项目经理编码任务委派
★ 1
microsoft
microsoft/amplifier-app-paperclip

Paperclip 本地实例开发运维

paperclip-dev

开发并运维本地 Paperclip 实例——启动和停止服务器、从 master 拉取更新、运行构建和测试、管理工作树、备份数据库以及诊断问题。当你需要在 Paperclip 代码库本身上工作,或需要保持运行中的实例健康时使用。

软件开发工程师开发环境与工具链管理
★ 1
microsoft
microsoft/amplifier-app-paperclip

Paperclip 插件创建开发

paperclip-create-plugin

使用 CLI 优先的工作流创建和开发外部 Paperclip 插件。适用于搭建新插件、针对运行中的 Paperclip 实例开发本地插件,或更新插件编写文档。涵盖 `paperclipai plugin init`、通过 `paperclipai plugin install <path>` 进行的本地安装循环、worker/UI 的重建与重新加载语义,以及必需的成功检查清单。

软件开发工程师插件与技能管理
★ 1
microsoft
microsoft/amplifier-app-paperclip

Paperclip 智能体创建

paperclip-create-agent

在 Paperclip 中以治理感知的方式创建新智能体(招聘)。当你需要检查适配器配置选项、对比现有智能体配置、起草新的智能体提示/配置并提交招聘请求时使用。

AI 工程师智能体开发
★ 1