一键导入
mvp-debt-report
Trace the debt introduced by an MVP explicitly requested. Transform involuntary debt into an informed choice.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trace the debt introduced by an MVP explicitly requested. Transform involuntary debt into an informed choice.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Conventional Commits 1.0 enforcer. Two complementary modes: (1) AUTO-SUGGEST — when you say "commit", "commit my changes", "commit this", or invoke `/commit`, the skill inspects `git diff --staged`, proposes 1–3 conventional commit messages (type + optional scope + subject), and asks which one to use. You never have to remember the format. (2) VALIDATOR — every `git commit` passes through a PreToolUse hook that validates the first line of the message against the Conventional Commits regex. Non-conformant commits trigger a confirm prompt — they cannot slip through silently. Types allowed: feat, fix, refactor, perf, docs, test, chore, build, ci, style, revert. Optional scope in parentheses (lowercase kebab-case, ≤ 20 chars). Optional `!` and `BREAKING CHANGE:` footer. Use when: "commit", "commit my changes", "make a commit", "commit this", "validate commit", "/commit". Proactively invoke whenever the user says "commit" or runs `git commit` through the agent, and after a logical unit
Check for and apply AI-Native Dev Stack updates, non-destructively. Detects whether the stack repo is behind upstream, shows what changed, and fast-forwards the shared clone — without ever touching your personalized configs (CLAUDE.md, Mavis agent.md, config.sh). Use when: "upgrade the stack", "update ai-native-dev-stack", "is the stack up to date?", "get the latest rules/method". Proactively suggest at the start of a session if an update is available.
Detect architecture-level technical debt: coupling, cycles, boundary violations, layer leaks. Outputs findings conforming to the debt-finding schema.
CRUD operations on the Debt Registry. Manages the active list of accepted debts, decisions, and resolution status. Persists to the KG (Layer 0).
Generate preventive rules (linters, tests, CI checks) from detected findings. Stops the same pattern from re-appearing after a fix.
Scan a codebase to detect technical debt (code, security, dependencies, tests, architecture). Orchestrate deterministic tools + LLM. Produce a `.debt-scan.json` file conforming to the schema.
| name | mvp-debt-report |
| description | Trace the debt introduced by an MVP explicitly requested. Transform involuntary debt into an informed choice. |
| license | MIT |
.mvp-debt-report.md : structured reportThe MVP is acceptable ONLY if the debt report is produced. No report = no MVP (the skill refuses).
# MVP Debt Report — <Project>
**Date** : YYYY-MM-DD
**Status** : MVP debt explicitly accepted
**Scan source** : scan-...
## 1. Context
The user requested: "<quote>"
## 2. Shortcuts taken
1. ❌ No unit tests on ...
2. ❌ No input validation on ...
3. ...
## 3. Debt introduced
### Category `code`
- **f-mvp-001** : duplication (medium) — ...
### Category `security`
- **f-mvp-005** : unsafe_io (high) — ...
## 4. Immediate risks (MUST be fixed before production)
- **f-mvp-005** : ...
## 5. Resorption plan
| Action | Finding | Effort | Dependencies |
|--------|---------|--------|-------------|
| ... | ... | ... | ... |
## 6. Tracking metrics
- [ ] Coverage ≥ 80% on module X
- [ ] 0 findings `code.duplication`
- [ ] ...
See examples/sample-mvp-debt-report.md for a complete example.