confidence-check
Readiness check before writing implementation code: does it already exist, does it fit the architecture, is the API claim checked, is the root cause known.
от crewforth★ 26 звёзд на GitHub
Установить confidence-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Confidence Check — earn the right to start
Trigger phrases: "confidence check", "ready to implement", "before I start", "am I sure enough", "readiness"
When
Right before implementation code gets written for anything beyond a one-line change, and after the scope is clear (spec-planning / planner). Every other gate in Crewforth fires at the end — review, DoD, the commit approval. Those catch bad code. None of them catch good code that should never have been written: the duplicate of a helper that already exists, the pattern that fights the project's architecture, the call built against an API that behaves differently than remembered. That waste is invisible to a reviewer, because what they see is a clean diff.
The seven checks
Each is answered with evidence, not with a feeling. Name what you ran or read.
| # | Check | How it is actually answered |
|---|---|---|
| 1 | Does it already exist? | Grep/Glob the codebase for the behaviour and its likely other names. A near-duplicate counts. Look in this order and stop at the first that has it: this codebase, the language's standard library or the platform, a dependency already installed; only then new code. Never a new dependency for what a few lines do. |
| 2 | Does it fit this project? | Read CLAUDE.md + the relevant project skill. Same stack, same pattern, no new dependency smuggled in. |
| 3 | Is the external claim verified? | The API / library / config behaviour you are relying on: read the real docs or the installed source. Recalled API shapes are the single most common wrong assumption. A version or API fact from an ADR, a handover or memory is dated context: re-check it against the installed version and say current, stale, contradicted or could not verify. Order, evidence line and stop rule: references/source-check.md. |
| 4 | Is there a working reference? | An existing call site in this repo, or a known-good implementation. "It should work like this" is not one. |
| 5 | Is the root cause known? | For a fix: the cause, not the symptom. Unknown → this is a systematic-debugging task, not an implementation task. |
| 6 | Can it be PROVEN when it is done — with what is running right now? | Name the thing that will show it works — the suite, a migration applied to a real database, a request against a running service — and confirm it is reachable before starting, not after. One command. Measured: an agent spent 44 minutes and 167k tokens producing a migration, then found the database daemon was down and returned unverified. A precondition discovered at the end costs the whole run. |
| 7 | What must it reach? | List what the change breaks if it is done alone: every caller of a function whose signature or behaviour changes (grep the name), the tests and fixtures that assert the old behaviour, config and exports that name it. Every one is in scope; a caller left on the old shape is a bug shipped with a green diff. |
The verdict is not a score
The tempting form is a weighted score with a threshold. It is theatre: with seven checks and any sane bar, a single failure sinks it anyway, so the weights only decorate a decision that was already binary. So: any "no" is a stop. Say which check failed and do the one thing that answers it — search, read the doc, find the reference, debug the cause — then start. If the user wants to proceed with a known gap, that is their call to make explicitly, and it gets written down as an assumption, not swallowed.
Checks 3–7 do not apply to every task (a pure refactor has no external claim and no bug; a change the suite alone proves needs nothing brought up; a new file nothing calls yet reaches nothing). Mark those n/a with a reason — n/a is a judgement you are stating, not a check you are skipping.
An ambiguity you cannot resolve is not a failed check — it is a [NEEDS CLARIFICATION: …] marker
(spec-planning) carried into the plan. Guessing it and passing check 2 is the failure mode this gate exists
to catch.
A bypassed gate leaves a record
Gates get bypassed, legitimately: the user accepts a known gap, a DoD item is deferred, scope is trimmed under time pressure. What must not happen is the bypass being spoken and forgotten — three weeks later nobody can say whether a rule was weighed and overridden or simply missed, and those two are indistinguishable from the code. That gap is the missing half of "rule → gate": Crewforth enforces the rule at the tool level, and this line is the record of a human deliberately stepping past it.
So when a gate is knowingly bypassed, write one line where the decision lives — the ADR for anything lasting (adr), otherwise the plan's assumptions section:
BYPASSED <gate> — <why> — asked by <who> — revisit: <condition or date>
The revisit field is what separates a decision from a leak: a bypass with no condition attach
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/source-check.md
FAQ
Что делает скилл confidence-check?
Readiness check before writing implementation code: does it already exist, does it fit the architecture, is the API claim checked, is the root cause known.
Как установить скилл confidence-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл confidence-check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…