By HetCreep
CoalMine — 9 quality-canary skills for coding agents: rot-canary (code-health audit + auto-cadence hooks), gold-standard (world-class completeness; fills & adopts rules), source-grounding (anti-hallucination sourcing), supply-chain-audit (deps/build/artifact trust), resilience-audit (failure-mode FMEA), telemetry-canary (observability/logging), testability-canary (decoupling/DI), scale-canary (perf scaling), drift-canary (contract/schema drift). Sub-agent + model-aware, cross-platform, report-not-fix.
Compatibility and schema drift canary — checks for database schema migration safety, breaking API contract changes, serializable payload mismatches, and backward compatibility drift. Triggers on keywords: "/drift-canary", "drift-canary", "contract drift", "breaking changes". Use when changing DB schemas, API contracts, serialized payloads, or required config keys.
World-class completeness audit — score a project's rules/standards/features against best-in-class exemplars, name the gaps, fill missing rules, adopt as binding, then offer to conform existing code. Triggers on keywords: "/gold-standard", "gold-standard", "audit rules", "are we world-class", "fill gaps", "complete our rules", "conform old code".
Failure-mode audit (FMEA for software) — for each way the system can fail (network, storage, partial completion, crash, concurrency, bad input), check whether code DETECTS, HANDLES, RECOVERS, and COMMUNICATES it. Triggers on: "/resilience-audit", "resilience-audit", "FMEA audit". Use when touching network, storage, async, retry, or rollback paths. Flags data loss, silent-success-on-failure, missing rollback/retry/idempotency. Reports; does not fix unless asked.
Code-health scan — dead code, bug-prone logic, resource leaks, concurrency bugs, silent failures, input-boundary issues, doc rot. Triggers on: "/rot-canary", "rot-canary", "code-health" (legacy aliases: "/rotcanary", "rotcanary"). Auto-runs at session end on touched files (QUICK, report only) via platform hooks — auto-wired by the Claude Code plugin, manual elsewhere. Run manually for fix mode. Reports; fixes on request via choice-gated menu.
Performance complexity and resource allocation canary — checks for O(N^2) loops, database N+1 query patterns, memory leaks (unbounded collections), and blocking calls in main event loop. Triggers on keywords: "/scale-canary", "scale-canary", "performance audit", "scale audit". Use when writing loops over growing data, DB queries, caches, or async/event-loop code.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub hetcreep/coalmineA mine's canary dies first so the miners live — these nine die first so your codebase lives.
9 Quality-Safeguard Canaries for AI Coding Agents — Detect code rot, weak rules, hallucinations, supply-chain vulnerabilities, brittle architectures, and API contract drift before they pollute your codebase.
Design Principles · Benchmark · Contributing · Changelog · Security · Privacy · Releases
Part of TheColliery — siblings: CoalTipple (model/effort routing) · CoalBoard (consensus & debate board) · CoalHearth (session warm-resume) · CoalFace (fan-out discipline) · CoalWash (memory defrag) · CoalLedger (docs health).
| Skill Name | Catches | Run Mode |
|---|---|---|
rot-canary | Dead code, bugs, resource leaks, race conditions, silent failures, stale docs | Auto + Manual (runs on session end / manual trigger) |
gold-standard | Audits project completeness against world-class exemplars | One-time (triggered once, governs the session) |
source-grounding | Prevents AI hallucinations by forcing cross-source verification | Always-on (background rule for all chat sessions) |
supply-chain-audit | Audits dependency vulnerabilities, licenses, phone-home code, and build/CI security | On-demand (manually run when relevant) |
resilience-audit | Audits failure path handling (FMEA), rollbacks, retry limits, and idempotency | On-demand (manually run when relevant) |
telemetry-canary | Audits observability, log structures, metrics, and telemetry quality | On-demand (manually run when relevant) |
testability-canary | Audits testing ease, code coupling, mockability, and Dependency Injection (DI) | On-demand (manually run when relevant) |
scale-canary | Audits performance scaling issues, $O(N^2)$ loops, and duplicate (N+1) database queries | On-demand (manually run when relevant) |
drift-canary | Prevents contract and schema drift (API/database contract inconsistencies) | On-demand (manually run when relevant) |
Run Mode Details:
platform-configs/hooks/ for other agents). Manual trigger via /rot-canary.Canaries follow grounding in evidence, zero grade inflation, and report before fixing. Fixes apply through a safe loop: Stash/Commit -> Apply fix -> Run build+tests -> Auto-revert if tests fail.
SKILL.md is an open standard compatible with all major AI coding agents:
CoalMine — 9 quality-canary skills for coding agents: rot-canary (code-health audit + auto-cadence hooks), gold-standard (world-class completeness; fills & adopts rules), source-grounding (anti-hallucination sourcing), supply-chain-audit (deps/build/artifact trust), resilience-audit (failure-mode FMEA), telemetry-canary (observability/logging), testability-canary (decoupling/DI), scale-canary (perf scaling), drift-canary (contract/schema drift). Sub-agent + model-aware, cross-platform, report-not-fix.
Live codebase visualization and structural quality gate — 14 health dimensions graded A-F, dependency analysis, and architecture governance via MCP
Mindful AI coding framework — discipline over cleverness. Skill + 21 slash commands + 8 specialist agents + 5 runtime hooks + 15 default checklists + Master Orchestrator + Gravity hub. Works on any model tier (Opus/Sonnet/Haiku). Integrates Claude Design for visual work.
Code quality and validation: clone detection, multi-agent E2E validation, performance profiling, schema testing
CoalMine — 9 quality-canary skills for coding agents: rot-canary (code-health audit + auto-cadence hooks), gold-standard (world-class completeness; fills & adopts rules), source-grounding (anti-hallucination sourcing), supply-chain-audit (deps/build/artifact trust), resilience-audit (failure-mode FMEA), telemetry-canary (observability/logging), testability-canary (decoupling/DI), scale-canary (perf scaling), drift-canary (contract/schema drift). Sub-agent + model-aware, cross-platform, report-not-fix.
Code quality enforcement, architecture skills, structural code graph, and impact-aware reviews.
Curator - Ancient guardian of code excellence. Orchestrates 5 quality gates (Static Analysis, Test Coverage, Security Scanning, Complexity Analysis, Dependency Health) in a unified flow. Ensures pristine code through Forerunner precision and automated enforcement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claim