From pyrs
Invoke pyrs-foundation first. Compare code against the pyramid(s) it should mirror and manage per-target unresolved-gap diff sidecars. Triggered by ::diff P where P is an @-prefixed pyramid reference or code reference.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pyrs:pyrs-diffThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before proceeding, invoke the pyrs-foundation skill to load the pyramid system rules.
Before proceeding, invoke the pyrs-foundation skill to load the pyramid system rules.
This skill is activated when the user issues ::diff P where P is an @-prefixed pyramid reference or code reference (e.g., ::diff @event-bus, ::diff @./pyramids/event-bus/index.md, or ::diff src/event-bus/). The same behavior also applies when another command performs an explicit same-target post-mutation diff refresh.
@-prefixed reference to its pyramid file (see Pyramid Identifiers in _foundation.md). If P is a code path, determine which pyramid(s) govern that code.PYRS_TODO placeholders that should have been resolved?diff.md at ./pyramids/path/to/target/diff.md.
diff.md as a derived audit artifact, not a pyramid definition.diff.md with evidence-backed findings (pyramid sections and code locations).diff.md for that target.P is a code path that maps to multiple pyramids, apply this lifecycle independently for each target pyramid.::spec for pyramid changes, ::apply for code changes). Do NOT perform the resolution directly — the diff command surfaces problems and connects the user to the right command, nothing more.diff.md sidecars only in targeted pyramid directories.index.md files.diff.md sidecars behind.PYRS_TODO placeholders for pyramids that now existPYRS provenance comments — unless the governing pyramid (or any of its ancestors) has a Constraint prohibiting code markers, in which case provenance comments are not expected for that branchDo not assume drift is acceptable. Surface every discrepancy and let the user decide.
npx claudepluginhub zachbutton/pyrs --plugin pyrsDetects documentation-code drift via grep/AST fact extraction from CLI commands, APIs, env vars, public functions and LLM-graded semantic analysis of mismatches.
Compares the actual implementation diff against a predicted impact map, identifies unexpected changes, updates risk status, and produces a diff impact report for evidence-based review.
Audits codebase documentation against actual behavior, producing a severity-tagged drift report (STALE, MISSING, OUTDATED, DUPLICATE). Read-only review.