janitor-security/the-janitor/doc-sync
Claude Code and agent skill by janitor-security/the-janitor
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install janitor-security/the-janitor/doc-syncSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as janitor-security/the-janitor/doc-sync.
Skill: Documentation Integrity (Auto-Invoked)
Trigger: Before finalizing any commit that modifies files in the Mapping Matrix below.
Mapping Matrix
| Changed path pattern | Document to audit | |
|---|---|---|
README.md | GitHub public repository surface: repo metadata description, default-branch README, and remote branch README | |
crates/** | SOVEREIGN_BRIEFING.md | |
justfile | RUNBOOK.md | |
| Any new or modified CLI flag | RUNBOOK.md | |
action.yml | docs/setup.md |
Protocol
- Scan the staged diff for files matching the Mapping Matrix patterns:
git diff --name-only HEAD(or the staged patch)
- For each triggered document, verify that it reflects the new functional
reality of the code change:
| Trigger | Verification checklist | |
|---|---|---|
README.md changed | Was the commit pushed, does origin/<branch>:README.md contain the intended text, does origin/<default_branch>:README.md contain the public landing-page text or explicitly require merge, and does GitHub repository metadata description match the intended public positioning? | |
crates/** changed | Does SOVEREIGN_BRIEFING.md reflect the new module, struct, or public API? | |
justfile changed | Does RUNBOOK.md list the new/modified recipe with correct syntax? | |
| CLI flag added/renamed | Does RUNBOOK.md show the updated flag name and description? | |
action.yml changed | Does docs/setup.md show the new input, step, or behavior? |
- If the document is stale (code changed, doc not updated):
- Report the specific gap: which document, which section, what is missing.
- Update the document in the same commit as the code change.
- Re-run the pre-commit gate after the update.
- If the document is current: proceed to commit.
- If the change is intended to be visible on GitHub (
README.md,
docs/index.md, repository metadata, or documentation landing pages):
- Run the PR Resolution Gate before finalizing the sprint.
- If the current PR is dirty, blocked by solo-review policy drift,
app-gate failed, or structurally oversized, do not continue pushing documentation commits to that PR.
- Create a docs-only replacement branch from
origin/mainand route the
broken PR to CLOSE_SUPERSEDED or REBASE_OR_RECREATE.
- If the PR is clean, arm auto-merge and run the PR Resolution Gate
immediate/+1m/+5m/+9m watch cadence so README/default-branch visibility is not reported as complete before the PR actually merges.
- Include code-scanning alert telemetry in the same cadence. GitHub-visible
docs/workflow changes can create Scorecard alerts after merge; baseline alerts must be reported, and net-new PR alerts must block completion.
Abort conditions
| Condition | Action | |
|---|---|---|
| Mapping Matrix triggered, document not updated | Block commit, report gap, update document | |
| Document updated but factually incorrect | Block commit, correct the content |
Scope
This skill audits for functional accuracy — command names, flag names, API shapes, and module names. It does not enforce prose style or completeness of prose explanations.
Notes
SOVEREIGN_BRIEFING.mdis the sole technical architecture specification.
No other architecture document should exist at the root.
RUNBOOK.mdis the sole command manual.
No other operations manual should exist at the root.
- If a new crate or tool is added, a corresponding section in
SOVEREIGN_BRIEFING.md is mandatory before the commit is finalized.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.agent_governance/skills/doc-sync/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 7 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/janitor-security/the-janitor/doc-sync)