/ai-literacy-superpowers:harness-audit-enginefrom ai-literacy-superpowers
Drift-detection engine for project conventions, snapshot staleness, constraint regressions, and reflection patterns. Powers /harness-audit and /harness-sync commands.
Ships in ai-literacy-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The harness audit-engine is the shared drift-detection layer that both
/harness-audit and /harness-sync invoke. Audit is read-only; sync
uses the same engine to drive its multi-select prompt. This skill
defines the contract — what surfaces are scanned, the drift-report
shape, and the per-finding [auto] / [manual] classification rule.
/harness-audit and /harness-sync are the two callers. Their UX
differs (audit prints, sync prompts), but the underlying findings are
the same.
The engine evaluates every surface or fact that could be out of sync
with HARNESS.md. The current scan covers:
| Category | Finding | Auto-fixable? |
|---|---|---|
| Convention files | .cursor/rules/ matches HARNESS.md | yes — /convention-sync |
| Convention files | .github/copilot-instructions.md matches HARNESS.md | yes — /convention-sync |
| Convention files | .windsurf/rules/ matches HARNESS.md | yes — /convention-sync |
| Onboarding | ONBOARDING.md matches HARNESS.md + AGENTS.md + REFLECTION_LOG.md | manual — /harness-onboarding |
| Observability | Most recent snapshot in observability/snapshots/ is < 30 days old | yes — /harness-health |
| Status section | HARNESS.md Status block matches actual constraint enforcement counts | yes — /harness-audit (audit updates Status as a side-effect) |
| Constraint regression | Any constraint marked deterministic whose tool no longer succeeds | manual — /harness-constrain |
| Reflection pattern | Recurring failure pattern in REFLECTION_LOG.md (2+ similar entries, not yet a constraint) | manual — /harness-constrain |
| CI / CD | Constraint scope handled at runtime by harness-enforcer | informational — handled at runtime |
New surfaces added to the engine appear in both commands automatically.
The engine returns a list of findings. Each finding has:
surface — short label (e.g. .cursor/rules/, Snapshot staleness)status — one of drifted, missing, in sync, managed, candidatedetails — short string with the specific evidence (e.g. last: 2026-04-15, HARNESS: 0.31, plugin: 0.34)action_command — the slash command that remediates this finding (e.g. /convention-sync, /harness-upgrade)auto_fixable — true if the action runs without further user judgement; false if the action requires user inputdrifted — file or fact exists but does not match HARNESS.md / reality.missing — file expected but not present.in sync — matches HARNESS.md / reality.managed — handled at runtime by other layers (CI/CD); informational only.candidate — finding that is not strict drift but warrants review (recurring reflection patterns; deferred constraints).A finding is auto_fixable: true only when:
/harness-audit, snapshot creation via /harness-health).Findings that need user input — choosing which constraint to add, deciding whether enforcement should be promoted, deciding when to take an upstream template upgrade — are auto_fixable: false. Sync surfaces them as [manual] rows; selecting them prints the suggested command without writing.
Each caller is responsible for its own UX:
/harness-audit prints the findings in its existing format and updates HARNESS.md Status section./harness-sync builds its drift table from the findings, prompts for selection, and dispatches the action commands.The engine itself does not print or prompt. It returns the findings and exits.
When a new check is added to the engine:
auto_fixable classification using the rule.action_command it maps to./harness-audit and /harness-sync pick up the new finding without further code changes.This is the value of factoring the engine: surface coverage evolves in one place.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub habitat-thinking/ai-literacy-superpowers --plugin ai-literacy-superpowers41 skills in this plugin
/advocatus-diaboliUse when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what was not challenged/ai-literacy-assessmentThis skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to determine their team's AI literacy level using the ALCI instrument./auto-enforcer-actionUse when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split, workflow installation, configuration options, and reading the outputOther plugins' skills for the same job