Skip to content
Skills Library
Documents & office · Writing

documentation-sync-recipe

/documentation-sync-recipe

The method for the documentation sync stage of a full-lane change: find the docs the diff made stale, update each surface, and name what stays. Use when you are the paqad documentation sync stage agent.

Repository
paqad-ai ↗
Licence
MIT
Last repository change
12.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/stale-docs.mjs

What it does and when to use it

The method for the documentation sync stage of a full-lane change: find the docs the diff made stale, update each surface, and name what stays. Use when you are the paqad documentation sync stage agent.

Original author description

The method for the documentation sync stage of a full-lane change: find the docs the diff made stale, update each surface, and name what stays. Use when you are the paqad documentation sync stage agent.

How it works

  1. What It Does
  2. Use This When
  3. Inputs
  4. Procedure
  5. Read This Path
  6. Output Contract
  7. Escalate / Stop Conditions
Original SKILL.md headings · 36 lines, 320 words
SKILL.md preview
---
name: documentation-sync-recipe
description: 'The method for the documentation sync stage of a full-lane change: find the docs the diff made stale, update each surface, and name what stays. Use when you are the paqad documentation sync stage agent.'
metadata:
  model_tier: reasoning
  cacheable: 'false'
  output_format: markdown
  paqad-meta: skill.meta.yaml
---

## What It Does

Gives the documentation sync stage one method and a script that lists the stale docs.

## Use This When

You are the paqad stage agent for this stage. Your injected copy is the truth for this stage; the source skills it copies stay for their other workflows.

## Inputs

- The request and `review.json` from `paqad-ai stage begin documentation_sync`.
- The list of changed files.

## Procedure

1. Restate the request and its acceptance criteria in two lines at the top of your return.
2. Work quickly: skip anything this stage doesn't need, and return as soon as the result is correct.
3. Sync canonical docs affected by the feature diff after verification passes.
4. List the candidates: pipe the changed files into `node <dir>/base/skills/documentation-sync-recipe/scripts/stale-docs.mjs`, where `<dir>` is the install directory that `.paqad/framework-path.txt` names, or read them from the refusal of `stage end`.
5. Update behaviour docs, module docs and registries together, never only one surface. Prefer generated inventories for routes, events and error codes.
6. End with `paqad-ai stage end documentation_sync --agent paqad-documentation-sync`. It runs the `stale-docs.mjs` check itself and refuses while a candidate has no change. Name a doc that truly needs none with `--stale-ok <path>`, one per doc, and say why in your return.

## Read This Path

- For the full diff rules, read `base/skills/diff-doc-sync/SKILL.md` under the install directory that `.paqad/framework-path.txt` names.
- For every doc surface, read `base/skills/canonical-doc-sync/SKILL.md` under the install directory that `.paqad/framework-path.txt` names.

## Output Contract

- The updated docs, and a return that names each doc left alone and why.

## Escalate / Stop Conditions

- A doc you cannot update without a decision: run `paqad-ai decision create`, on `earlier_check` scan the titles, read up to 5 with `decision check <id> --read` and run `decision suggest`, on `"reused": true` carry on as your rules say, and unless it was reused return `paused: D-<id>`. A recipe never resolves it.
Files in this package (4)
  • SKILL.md 2 KB
  • skill.meta.yaml 1 KB
  • agents/openai.yaml 1 KB
  • scripts/stale-docs.mjs 4 KB

Versions

The database has no other skills named documentation-sync-recipe.

Database snapshot: 13.11.2026 · package version 7ebe45bcacf5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90checks-recipe
    The method for the checks stage of a full-lane change: read the plan, run the project checks once, and report each failure. Use when you are the paqad checks stage agent.
  • 90review-recipe
    The method for the review stage of a full-lane change: read the machine digest, judge the diff against the frozen spec, and record ordered findings. Use when you are the paqad review stage agent.
  • 90nth-doc-sync
    Use when the user asks to check, audit, or sync documentation after a completed code, architecture, schema, workflow, or API change: finds stale, missing, duplicated, or contradictory docs and keeps each concern in one owning place. Not before the change exists, for changes…
  • 90codex-docs-change-sync
    Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.
  • 90sync-docs
    Synchronize existing project documentation after a scoped code or behavior change. Update affected use cases, rules, test definitions, data models and usage guides while reporting unresolved differences between intended and implemented behavior. Use for post-development…
  • 100sync-docs-site
    Bring the user documentation in docs-site/ up to date with Folio's released features, from CHANGELOG.md, the README and the code. Use when the user asks to update, sync or check the docs site, after a release, or when a feature change should be reflected in the user docs.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.