From silver-bullet
Runs domain-specific quality audits for SB-owned code across code, tests, API, data, dependency, performance, structure, CI, environment, accessibility, content/search, UI, architecture, runtime release, incident, retro, and benchmark evidence. Complements silver:quality-gates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/silver-bullet:silver-domain-audit <scope> [--pack <pack>] [--mode quick|full|release]<scope> [--pack <pack>] [--mode quick|full|release]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
SB-owned domain audit layer for specialized quality checks. It complements
SB-owned domain audit layer for specialized quality checks. It complements
silver:quality-gates; it does not replace the 8 core quality dimensions,
DevOps gates, security, review, or verification.
Use this skill when the work touches a specialized surface where generic quality dimensions are not specific enough: APIs, data models, dependency changes, performance, repository structure, CI/CD, environment configuration, accessibility, SEO/AI-search readiness, content migration, UI systems, architecture decisions, deployment/canary evidence, incidents, retrospectives, or provider/agent benchmark evidence.
Write or update the nearest scoped audit artifact:
.planning/phases/<phase>/DOMAIN-AUDIT.md for phase work.planning/DOMAIN-AUDIT.md for project-level or release workThe report must include:
# Domain Audit
Scope:
Mode:
Selected packs:
## Findings
| Pack | Severity | Confidence | Evidence | Finding | Required action | Backlog |
|------|----------|------------|----------|---------|-----------------|---------|
## Pack Results
| Pack | Result | Notes |
|------|--------|-------|
## Overall
PASS / PASS_WITH_WARNINGS / BLOCK
Every finding must be normalized to the canonical cross-domain schema in
docs/evidence-schema.md. At minimum each row includes:
| Field | Required content |
|---|---|
domain | One selected pack name |
scope | File, route, service, workflow, command, or artifact under review |
severity | BLOCK, WARN, or INFO |
confidence | HIGH, MEDIUM, or LOW based on direct evidence quality |
evidence | File path with line, command output, screenshot, trace, log, or artifact pointer |
owner_workflow | silver:feature, silver:bugfix, silver:ui, silver:devops, silver:release, or utility route |
blocking_status | blocks ship, blocks release, does not block, or needs user decision |
backlog_decision | fixed now, filed via silver:add, accepted risk, or not applicable |
Do not accept generic claims such as "looks good" or "tests pass" without the specific evidence pointer that made the claim true.
After writing findings, validate the artifact when the helper is available:
bash scripts/validate-evidence-findings.sh
Delivery hooks warn on schema drift (strict block when
SILVER_BULLET_EVIDENCE_SCHEMA_STRICT=1). See docs/evidence-schema.md.
Select packs by changed files, user intent, and release scope. Use --pack all
only for release candidates or broad audits.
| Pack | Trigger signals | Required checks |
|---|---|---|
code-health | business logic, shared modules, refactors | correctness edges, typed/explicit return contracts, error strategy, secret-safe comparisons, nullability, idempotency, auth/data filtering, resource bounds, cleanup, duplicated guards, maintainability |
test-health | tests, coverage gaps, bugfixes, behavior changes | failing-test-first evidence, branch/error/edge coverage, assertion strength, mock boundaries, oracle independence, fixture realism, flake risk, cleanup, mutation-style challenge where practical |
api-contract | routes, controllers, OpenAPI, SDKs, webhooks | status codes, input validation, payload shape, pagination, error shape, caching, HTTP semantics, rate limiting, auth, idempotency, versioning, compatibility |
data-contract | schema, migrations, ORM, SQL, persistence | migration safety, rollback, indexes, constraints, query bounds, transactions, connection management, retention, concurrency, backfills, data/security posture |
dependency-supply | package manifests, lockfiles, imports, toolchain | provenance, vulnerability/license posture, version pinning, dead deps, bundle weight, internal coupling, circular dependencies, lock-in/removal plan |
performance-resource | latency, memory, bundle size, caching, jobs | hot path, rendering/bundle/assets, API/network, algorithmic complexity, memory, DB/cache behavior, concurrency, resource ceilings, measurement evidence |
structure-maintainability | directory moves, boundaries, architecture drift | directory consistency, naming, folder depth, colocation, file size, dead code, complexity, duplication, ownership, documentation, circular dependency risk, churn hotspots |
ci-workflow | GitHub Actions, build scripts, release checks | required jobs, caching, parallelism, conditional execution, artifact upload, action pinning, secrets use, timeouts, test integration, speed/failure visibility |
environment-secrets | env vars, config, deployment manifests | variable completeness, unused vars, startup validation, secret exposure, environment parity, type safety, safe defaults, documentation, rotation notes |
accessibility | UI, keyboard flows, forms, visual state | semantic HTML, keyboard reachability, focus, labels, ARIA, contrast, media alternatives, zoom/responsive behavior, motion controls, screen-reader evidence |
content-search | public pages, docs, metadata, migrations | content accuracy, encoding artifacts, markdown/frontmatter quality, link/image health, canonical metadata, structured data, redirects, snippets, AI-search extractability, freshness, chunkability |
ui-system | components, tokens, layouts, visual polish | design-token use, component reuse, persistent interface state, responsive constraints, states, copy, screenshots, browser verification, performance and rendering stability |
architecture-adr | major design choices, cross-cutting contracts | decision record, alternatives, reversibility, operational impact, extension boundary, coupling, migration path, threat model, rollout and observability implications |
runtime-release | deploy, canary, rollback, release readiness | deploy command safety, artifact/tag match, rollback, health checks, browser/runtime smoke, monitoring, alert ownership, canary watch, release evidence |
incident-retro | incident response, postmortem, recurring failure | impact, timeline, containment, root cause, contributing factors, corrective actions, ownership, due dates, recurrence signals, release/process feedback |
benchmark-eval | provider/model/tool comparisons, agent routing | repeatable fixture, scoring rubric, correctness, evidence quality, safety, cost, latency, self-eval bias, regression threshold, data retention |
These specialized workflows are the user-facing entry points for common domain requests. They all write their own artifacts and feed normalized findings back into this audit schema:
| Capability request | Route | Domain packs |
|---|---|---|
| Test writing, E2E route discovery, test repair, test audit, test runtime, mutation challenge | silver:test | test-health, plus affected API/data/UI/performance packs |
| Behavior-preserving refactors | silver:refactor | code-health, structure-maintainability, test-health, affected contract packs |
| Worktree create/finish safety | silver:worktree | structure-maintainability, ci-workflow, runtime-release when shipping |
| Deployment | silver:deploy | ci-workflow, environment-secrets, runtime-release |
| Post-deploy canary/runtime watch | silver:canary | runtime-release, affected API/UI/performance packs |
| Incident response and postmortem | silver:incident | incident-retro, affected runtime/API/data/security packs |
| Engineering retrospective | silver:retro | incident-retro, benchmark-eval when tool/provider performance matters |
| Agent/model/provider/approach evaluation | silver:benchmark | benchmark-eval |
| Content, SEO, AI-search, migration, optimization, article work | silver:content | content-search, plus accessibility/UI/performance where rendered |
Use these as named invariants. A critical gate with missing or contradictory
evidence is a BLOCK; do not convert it to a warning without user acceptance
and a tracked follow-up.
silver:incident, not hidden warnings.SILVER BULLET > DOMAIN AUDIT.$ARGUMENTS, changed files, active phase artifacts, and
release intent.BLOCK: can break users, data, security, release correctness, CI, or an
explicit acceptance criterion.WARN: real risk that can ship only with conscious acceptance or tracked
follow-up.INFO: useful observation with no current delivery risk.WARN or accepted-risk BLOCK through silver:add.
Record the issue/backlog ID in backlog_decision.silver:quality-gates consumes selected domain pack results as conditional
gate rows.silver:review consumes code/API/data/structure findings.silver:verify consumes test, runtime, and benchmark evidence.silver:release consumes runtime-release, content-search, incident-retro,
and benchmark-eval findings.| Result | Meaning |
|---|---|
PASS | No BLOCK findings and all required evidence is present |
PASS_WITH_WARNINGS | No unresolved BLOCK findings, but tracked WARN or accepted risk remains |
BLOCK | One or more unresolved BLOCK findings remain |
The domain audit passes only when all selected packs have a result and every
deferred item has a silver:add ID or an explicit "fixed now" decision.
Do not proceed to ship or release with a BLOCK result unless the owning
workflow explicitly supports a documented known-issue release decision and the
user accepts that decision.
npx claudepluginhub alo-exp/silver-bullet --plugin silver-bulletGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.