ssot
Audit documentation authority, reconcile conflicting specifications, and maintain canonical Single Source of Truth records across repository documentation.
How do I install this agent skill?
npx skills add https://github.com/venhdev/zenforge --skill ssotIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill performs documentation auditing and reconciliation. It possesses a potential indirect prompt injection surface by ingesting and acting upon untrusted repository documentation, though this is mitigated by a mandatory human-in-the-loop authorization process for all changes.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
ssot — Single Source of Truth & Documentation Custodian
Operating Invariants
- Authority Grounding: Maintain exactly one authoritative owner per rule, contract, or concept; forbid duplicate or competing authorities across documents. Treat folder paths and file metadata as evidence, not proof of authority.
- Read-Only Inspection Discipline: Inspect and report authoritative files, sections, and findings for search, navigation, or audit-only requests; keep documentation unchanged in those modes.
- Scope Discipline: Touch, move, or prune exclusively approved documentation files using repo-relative POSIX links; forbid codebase mutations, host-absolute paths, or
file:///URIs. - Pre-Mutation Gate: Stage documentation changes in Changeset format (
[CREATE],[UPDATE],[MOVE],[DELETE]); halt before edits when the concrete scope lacks authorization, and honor authorization already provided.
Domain Rubric
Classify every planned documentation operation into exactly one of the 4 atomic actions:
[CREATE]: New canonical specifications, ADRs, schemas, or placement maps (docs/README.md).[UPDATE]: Correcting factual gaps, amending existing owners with concise terminology, or advancing frontmatter metadata (updated: YYYY-MM-DD).[MOVE]: Relocating durable content to its designated canonical owner, replacing with direct anchor link ([Doc § N.N](path#anchor)) only when local reading requires upstream context.[DELETE]: Pruning source duplicates once consolidated into canonical owner, or removing obsolete documentation with zero independent value.
Execution Protocol
Phase 1: Discover & Authority Audit
-
Index Fast-Path: Check repository documentation index (
docs/README.mdorREADME.md) for an established Placement Matrix. Refer to localreferences/document-contract.mdfor lifecycle taxonomy and recommended directory templates. -
Deep Audit Fallback: If no index exists or scope is broad, run the local inventory scanner:
bash scripts/discover-docs.sh <path_to_repository> -
Read-Only Exit: If the request is search or audit only, report authoritative locations with pointer citations (
file:///path#L1-L20) and halt turn immediately. -
Contradiction Escalation Gate: If specifications conflict or canonical authority is ambiguous:
- Halt turn immediately for human direction.
- Report conflicting evidence with pointer citations (
[Doc A:L12]vs[Doc B:L40]). - Present resolution options and wait for explicit human direction before staging mutations.
Phase 2: Staging & Authorization Gate
-
Stage planned modifications in Changeset format:
# Changeset: SSOT Documentation Governance (<Target Scope>) [(<optional_docs_root>/)] |-- docs/<collapsed_subsystem_dir>/ | |-- <document_1>.md | | `-- [<ACTION>] <Specification or canonical update>. | `-- <document_2>.md | `-- [<ACTION>] <Reconciliation or duplicate pruning>: | * <Specific document authority or section update>. `-- docs/<deep/path/to/canonical_spec.md> `-- [<ACTION>] <Direct leaf spec without redundant folder node>. Summary: <N> files affected (<C> created, <U> updated, <M> moved, <D> deleted). -
Present the high-density Changeset summary and technical rationale; keep raw document diffs out of chat.
-
If the staged scope lacks authorization, halt before modifying documentation. Continue to application when that concrete scope is already authorized.
Phase 3: Application & Link Verification
- Upon receiving approval, apply mutations to disk (complete
[CREATE]and[MOVE]before[DELETE]). - Advance
updated: YYYY-MM-DDonly for meaningful content or lifecycle changes, following the effective documentation contract. - Verify markdown link resolution and anchor validity.
- Correct link and anchor failures within authorized scope and re-verify. If resolution requires a new authority decision, expanded scope, or unavailable verification, report
UNRESOLVEDwith evidence and retained edits; keep redesign outside the original scope.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/venhdev/zenforge/ssot">View ssot on skillZs</a>