<< All versions
Skill v1.0.1
currentAutomated scan96/100eliyce/paqad-ai/diff-doc-sync
+11 new
──Details
PublishedNovember 5, 2026 at 12:00 PM
Content Hashsha256:cd9e62a859326d96...
Git SHA205ca3a58d40
Bump Typepatch
──Files
Files (1 file, 2.1 KB)
SKILL.md2.1 KBactive
SKILL.md · 50 lines · 2.1 KB
name: diff-doc-sync description: 'Lists only the canonical docs the current diff made stale. Use when implementation or validation is done, the changed files are known, and only the stale doc set is needed.' metadata: version: "1.0.1" model_tier: fast cacheable: 'true' output_format: json paqad-meta: skill.meta.yaml
What It Does
Narrows documentation follow-up to only the canonical docs made stale by the current diff, avoiding full documentation refreshes when differential_refresh is enabled.
Use This When
After implementation or validation when you already know which files changed and only want the stale canonical documentation set.
Inputs
- Read the changed file list from
changed_files. Fill it from theChanged fileslist in the header of.paqad/session/review-digest.md(runpaqad-ai review digestto refresh it), or straight from git:git status --porcelainplusgit diff --name-only $(git merge-base HEAD main)..HEAD. - Read
references/diff-sync-rules.mdfor project-specific override rules before deciding whether a doc can be safely skipped.
Procedure
- Pipe the changed file list into
scripts/detect-stale-docs.sh: it cross-references against existing canonical docs and emits candidate paths. - Drop any paths that
references/diff-sync-rules.mddeclares safe to skip in this scenario. - Format as a JSON array exactly matching
assets/output.template.json(sorted, duplicate-free). - Validate with
scripts/lint-output.sh: it enforces JSON shape, sortedness, dedupe, and.mdsuffix.
Output Contract
- Match
assets/output.template.json: a JSON array of canonical doc paths.[]exactly when none are stale. - Output must pass
scripts/lint-output.sh(exit 0).
Escalate / Stop Conditions
- Ask when the changed file list is missing or incomplete.
- Warn when the stale doc detector is unavailable or returns non-canonical paths.
- Do not widen the result to a full documentation workflow unless the detector evidence requires it.
Resources
references/diff-sync-rules.mdscripts/detect-stale-docs.shscripts/lint-output.shassets/output.template.jsonagents/openai.yaml