sync-docs-after-edit — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sync-docs-after-edit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Keep documentation honest after local edits or commits. Distinct from sync-docs-after-git-pull (which fires after receiving remote changes) — this skill reacts to what you just changed locally.
# Uncommitted changes
git diff --name-only
# Last commit
git diff --name-only HEAD~1..HEAD
# Staged but not committed
git diff --cached --name-onlyCollect the full set of changed source files. Exclude .md files themselves from the "changed source" list — they are the targets, not the triggers.
# Find all markdown files, excluding node_modules, .git, vendor, etc.
find . -name "*.md" \
-not -path "*/.git/*" \
-not -path "*/node_modules/*" \
-not -path "*/vendor/*" \
-not -path "*/.venv/*"Read the .md file and the changed source files. Assess:
| Question | If yes → |
|---|---|
| Does the doc reference a function, class, or API that was renamed or removed? | Needs update |
| Does the doc describe a workflow or command that no longer works as written? | Needs update |
| Does the doc include example code that is now incorrect? | Needs update |
| Does the doc describe a config option that was added or changed? | Needs update |
| Is the doc entirely unrelated to the changed files? | Not affected |
| Is the doc correct and consistent with the changes? | Up to date |
Always include README.md and CHANGELOG.md as explicit rows — even if they appear unaffected. These are the two docs most likely to drift silently.
Documentation sync report
Changed source files: <list>
| Doc file | Verdict | Notes |
|----------|---------|-------|
| README.md | Needs update | Quick Start references `DB_URL` — now `DATABASE_URL` |
| CHANGELOG.md | Needs entry | No entry yet for changes in this diff |
| docs/api.md | Needs update | References `getUser()` which was renamed to `fetchUser()` |
| docs/setup.md | Up to date | |If the user says "update them" or "fix the docs":
After all updates:
All docs synced.
Updated: <list of files changed>
No-change: <list confirmed up to date>A per-file verdict table, plus optional edits if the user confirms.
CHANGELOG.md exists, always flag it as a candidate — new changes often warrant a changelog entry.README.md has a "Quick start" or "API" section, always read it against the changed source.CHANGELOG.md automatically — propose the entry and let the user confirm.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.