ワンクリックで
critic
Challenge every finding and plan before validation. Reduce hallucinations, force proofs, verify completeness.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Challenge every finding and plan before validation. Reduce hallucinations, force proofs, verify completeness.
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 | critic |
| description | Challenge every finding and plan before validation. Reduce hallucinations, force proofs, verify completeness. |
| license | MIT |
You are the Critic Engine. Your role is NOT to produce findings. Your role is to CHALLENGE the findings and plans produced by the other skills.
debt-scan (MANDATORY)debt-plan (MANDATORY)debt-fix (recommended)Any finding with confidence < 0.6 MUST be rejected by default.
This threshold is a policy decision, not a recommendation. Document it in
the Critic output (in rejected_findings) so the producer can adjust.
The engine applies three tiers (see tools/critic_v2.py): reject < 0.6,
human-review 0.6 ≤ c < 0.7, accept ≥ 0.7. Only the accept tier is
auto-included in the fix plan; the review tier is surfaced for a human decision.
{
"passed": true | false,
"concerns": ["..."],
"rejected_findings": ["id1", "id2"],
"rejected_findings_reason": {
"id1": "evidence is just 'AI_CONTEXT.md' without file:line",
"id2": "confidence 0.95 without justification"
},
"plan_completeness": "complete | partial | incomplete",
"mvp_disguised": true | false,
"recommendations": ["..."],
"iterations_used": 1,
"blocking": true | false
}
If passed = false, the scan/plan is BLOCKED until concerns are addressed
(except via human override with explicit justification).