skills/production-readiness/SKILL.md
Use before deploying any code to production. Verifies observability, reliability, operability, and goal alignment. The gate between "tests pass" and "safe to deploy". Triggers: "production ready", "ready to deploy", "pre-deploy check", before using ship skill.
npx skillsauth add Wilder1222/superomni production-readinessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Status protocol — end every session with one of: DONE (evidence provided) · DONE_WITH_CONCERNS (list each) · BLOCKED (state what blocks you) · NEEDS_CONTEXT (state what you need).
Auto-advance — pipeline: THINK → PLAN → REVIEW → BUILD → VERIFY → RELEASE. Only human gate is spec approval at THINK. On DONE at other stages, print [STAGE] DONE -> advancing to [NEXT-STAGE] and invoke the next skill. On any non-DONE status at any stage, STOP.
Output directory — all artifacts go in docs/superomni/<kind>/<kind>-[branch]-[session]-[date].md. See CLAUDE.md for the full directory map.
TACIT-DENSE — before high-tacit decisions, classify D1 (domain expertise) · D2 (user-facing UX) · D3 (team culture) · D4 (novel pattern). On hit, output TACIT-DENSE [D#]: [question] — My default: [recommendation]. See reference for actions.
Anti-sycophancy — take a position on every significant question. Name flaws directly. No filler ("that's interesting", "you might consider", "that could work").
Telemetry (local only) — at session end, log bin/analytics-log. Nothing leaves the machine.
See preamble-ref.md for detailed protocols.
Goal: Verify that code is ready for production deployment — beyond just passing tests.
The distinction between "code works" and "production ready":
verification)"CI is green" is necessary but not sufficient for production. A broken deployment with no runbook, no alerts, and no rollback plan is worse than not deploying at all.
Before checking operational concerns, confirm the output actually achieves what the user originally asked for.
# Read acceptance criteria from spec
_SPEC=$(ls docs/superomni/specs/spec-*.md 2>/dev/null | sort | tail -1)
_PLAN=$(ls docs/superomni/plans/plan-*.md 2>/dev/null | sort | tail -1)
cat "$_SPEC" 2>/dev/null | grep -A 30 "Acceptance Criteria" | head -40 || \
cat "$_PLAN" 2>/dev/null | grep -A 20 "Success Criteria" | head -30 || \
echo "No docs/superomni/specs/spec-*.md or docs/superomni/plans/plan-*.md found — document what you are verifying against"
For each acceptance criterion found in docs/superomni/specs/spec-*.md:
| Criterion | Status | Evidence | |-----------|--------|----------| | [criterion 1] | ✓/✗ | [proof: test output, screenshot, or code reference] | | [criterion 2] | ✓/✗ | [proof] |
Gate: ALL P0 acceptance criteria must be ✓ before proceeding.
If no docs/superomni/specs/spec-*.md exists:
Can you tell when it's broken in production?
# Check for logging in changed files
git diff main...HEAD --name-only 2>/dev/null | while read f; do
echo "=== $f ==="
grep -n "log\.\|logger\.\|console\.\|print\(" "$f" 2>/dev/null | head -5
done | head -40
# Check for secrets in logs
git diff main...HEAD 2>/dev/null | grep "+" | \
grep -iE "password|secret|token|api_key|credential" | \
grep -v "^---\|^+++\|test\|spec\|mock" | head -10
Does it fail gracefully?
/health or equivalent endpoint that returns 200 when healthy?# Check for timeout handling in changed files
git diff main...HEAD --name-only 2>/dev/null | while read f; do
grep -n "timeout\|Timeout\|TIMEOUT" "$f" 2>/dev/null | head -3
done | head -20
For non-service changes (scripts, CLI tools, libraries): mark N/A for inapplicable items.
Can someone else run and fix this without the author?
# Check for feature flag patterns
git diff main...HEAD 2>/dev/null | grep "+" | \
grep -iE "feature_flag|feature\.enabled|flag\.|toggle\." | head -10
# Check for rollback instructions in docs
grep -r "rollback\|revert\|undo" . --include="*.md" -l 2>/dev/null | head -5
For low-risk changes (config, docs, tests): mark operability items N/A where not applicable.
Confirm security review has been done (or is not required).
code-review in security mode if not done)Dispatch the planner-reviewer agent in security audit mode (dependency sub-mode) (OWASP A06) to scan all package manifests for CVEs, license issues, and stale packages. The agent returns a SECURITY AUDIT REPORT with the DEPENDENCIES section and an overall verdict. Any CHANGES_REQUIRED verdict is a deploy blocker.
# Quick secrets scan (dependency-auditor handles the full vulnerability scan)
git diff main...HEAD 2>/dev/null | grep "+" | \
grep -vE "^---|\+\+\+|test|spec|mock|example" | \
grep -iE "(password|secret|api_key|private_key)\s*[=:]\s*['\"][^'\"]{8,}" | head -10
PRODUCTION READINESS REPORT
════════════════════════════════════════
Feature/Change: [what is being deployed]
Branch/PR: [identifier]
Date: [YYYY-MM-DD]
GOAL ALIGNMENT
Acceptance criteria:
✓/✗ [criterion 1] — [evidence]
✓/✗ [criterion 2] — [evidence]
User goal achieved: YES | NO | PARTIAL
OBSERVABILITY
Logging: PASS | FAIL | N/A
Error tracking: PASS | FAIL | N/A
Metrics: PASS | FAIL | N/A
Notes: [any gaps or concerns]
RELIABILITY
Health check: PASS | FAIL | N/A
Graceful degrade: PASS | FAIL | N/A
Timeouts: PASS | FAIL | N/A
Notes: [any gaps or concerns]
OPERABILITY
Rollback plan: DOCUMENTED | MISSING | N/A
Runbook: EXISTS | MISSING | N/A
Alerts: CONFIGURED | MISSING | N/A
Feature flag: YES | NO | N/A
Notes: [any gaps or concerns]
SECURITY
Audit status: CLEAN | CONCERNS | SKIPPED
Notes: [any concerns]
BLOCKERS (must resolve before deploy):
- [blocker 1]
CONCERNS (deploy with awareness):
- [concern 1]
VERDICT: READY | READY_WITH_CONCERNS | NOT_READY
Status: DONE | DONE_WITH_CONCERNS | BLOCKED
════════════════════════════════════════
If verdict is NOT_READY:
release until verdict is READY or READY_WITH_CONCERNS_PR_DATE=$(date +%Y%m%d-%H%M%S)
_PR_BRANCH=$(git branch --show-current 2>/dev/null | tr '/' '-' || echo "unknown")
_PR_FILE="production-readiness-${_PR_BRANCH}-${_PR_DATE}.md"
mkdir -p docs/superomni/production-readiness
echo "Production readiness report saved to docs/superomni/production-readiness/${_PR_FILE}"
Write the full PRODUCTION READINESS REPORT block to docs/superomni/production-readiness/production-readiness-[branch]-[session]-[date].md.
development
Systematic, behavior-preserving code refactoring with safety gates. Dispatches refactoring-agent. Triggers: "refactor", "clean up code", "reduce tech debt", "extract method", "rename". NOT for reactive PR feedback — use code-review for that.
development
Meta-skill: create, install, list, and manage skills and agents within the superomni framework. Merges writing-skills + agent-management into one unified workflow. Triggers: "create skill", "write a skill", "install skill", "list skills", "create agent", "write an agent", "install agent", "list agents", "new skill", "new agent", "add skill", "add agent", "manage framework".
testing
Dependency security, license, and freshness audit. Dispatches dependency-auditor agent to scan all package managers. Triggers: "dependency audit", "check dependencies", "npm audit", "security scan", "check for vulnerabilities", "outdated packages", "license check".
development
Meta-skill: use when creating a new skill for the superomni framework. Guides through the process of designing and writing a well-structured skill. Triggers: "create a new skill", "write a skill for", "add a skill that".