vibe-gap-analysis
Assesses production readiness or audits a codebase against its specs. Supports quick static mode, deep 17-dimension audit, or single-dimension focus.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assesses production readiness or audits a codebase against its specs. Supports quick static mode, deep 17-dimension audit, or single-dimension focus.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Dispatches research agents to find real projects, papers, and documented failures before proposing any feature, architecture, or technology choice. Triggers on creative/design tasks, not on implementation of already-designed specs.
Validates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions.
Generates edge case, failure mode, and spec-driven test cases. Covers boundary values, nil inputs, concurrency, resource exhaustion, malformed data, and requirement-linked traceability tests.
Detects and prevents shortcut rationalization — when the agent is about to skip a step, simplify a requirement, or optimize away a constraint. Triggers proactively when rationalization patterns are noticed.
Provides a persistent cross-session task queue for work that should be done but isn't blocking current tasks. Enables background and future-session work tracking.
Safely integrates commits from parallel agent branches using sequential cherry-pick. Use after parallel work completes in isolated branches or worktrees.
基于 SOC 职业分类
| name | vibe-gap-analysis |
| description | Assesses production readiness or audits a codebase against its specs. Supports quick static mode, deep 17-dimension audit, or single-dimension focus. |
| user-invocable | true |
Cynical gap analysis comparing specs/architecture to actual implementation. Three modes from fast to exhaustive. Works with any project that has architecture docs and implementation code.
/vibe-gap-analysis # Quick static (5 structural dimensions)
/vibe-gap-analysis --deep # Full 17-dimension audit with parallel agents
/vibe-gap-analysis --dim N # Single dimension deep-dive (1-17)
/vibe-gap-analysis --dim 1,4,9 # Multiple specific dimensions
Fast, single-agent structural audit. No subagents dispatched.
docs/ or similarsrc/, internal/, lib/ etc.docs/plans/gap-analysis-$(date +%Y%m%d).mddocs: gap analysis $(date +%Y%m%d)--deep)Full 17-dimension audit using parallel subagents. Exhaustive production readiness assessment.
Dispatch parallel agents (model: sonnet) in 3 rounds:
Round 1 — Structural (5 agents):
Round 2 — Runtime Execution (7 agents):
Round 3 — Business & Product Maturity (5 agents):
Each agent gets this prompt template:
You are auditing [project] for production readiness.
**Your dimension:** [Dimension N — Name]
**Scope:** [Description]
**Previous gap analysis:** [path, if exists]
Instructions:
1. Read all relevant source files for your dimension
2. For each finding: severity (CRITICAL/HIGH/MEDIUM/LOW), location (file:line), issue, fix, effort
3. Score your dimension 0-100
4. Return findings as structured markdown
Be extremely pedantic. Question everything. Assume this is a $100M ARR product.
After all rounds:
--dim N)Deep-dive into specific dimensions. One agent per requested dimension.
After completion, update only the audited dimensions in the existing gap analysis doc.
| # | Dimension | Type | What to Audit |
|---|---|---|---|
| 1 | Spec Compliance | Structural | Specs vs implementation |
| 2 | Backend Code Quality | Structural | Tests, errors, lint, races |
| 3 | Frontend Completeness | Structural | UI, routes, stores, tests |
| 4 | Deployment & Ops | Structural | Deploy, CI/CD, Docker, TLS |
| 5 | Architecture Integrity | Structural | Design patterns, boundaries |
| 6 | Database Concurrency | Runtime | Transactions, locks, backups |
| 7 | Failure Cascades | Runtime | Recovery, circuit breakers |
| 8 | E2E Data Flow | Runtime | API contracts, idempotency |
| 9 | Security | Runtime | Input validation, injection, secrets |
| 10 | Observability | Runtime | Logging, alerting, metrics |
| 11 | Data Durability | Runtime | RPO/RTO, backups, replication |
| 12 | Cost/Resource Control | Runtime | Budgets, limits, rate limiting |
| 13 | Performance & Load | Business | Timeouts, benchmarks, limits |
| 14 | Multi-Tenancy | Business | User isolation, data scoping |
| 15 | Privacy & Compliance | Business | GDPR, PII, consent, encryption |
| 16 | Supply Chain | Business | Dep pinning, vuln scanning, builds |
| 17 | Operational Readiness | Business | Runbooks, SLOs, incident response |
All modes produce: