assumption-checker
4
总安装量
4
周安装量
#54020
全站排名
安装命令
npx skills add https://github.com/fatih-developer/fth-skills --skill assumption-checker
Agent 安装分布
github-copilot
4
codex
4
kimi-cli
4
gemini-cli
4
cursor
4
amp
4
Skill 文档
Assumption Checker Protocol
Before acting, stop and surface the assumptions you are making. Verify what you can, ask about what you cannot. Goal: catch wrong assumptions before building on them.
Core principle: Catching a wrong assumption now is far cheaper than discovering it 10 minutes later.
When to Activate
At Task Start
Run an assumption scan on every new task. Especially when:
- Task is ambiguous or missing information
- Phrasing is open to interpretation (“update”, “fix”, “clean up”)
- Task involves irreversible actions
- External dependencies exist (API, files, database)
Before Critical Steps
Re-scan during execution when:
- Previous step output was unexpected
- A new dependency emerged
- User changed direction
4 Assumption Types
Technical Assumptions
Beliefs about environment, tools, and infrastructure.
- “Is this library installed?” â verifiable, check it
- “Is this API accessible?” â verifiable, test it
- “Does this work on this OS?” â platform-dependent
Data Assumptions
Beliefs about files, formats, and data structures.
- “Does this file exist?” â verifiable, check it
- “Does this CSV have headers?” â verifiable, inspect it
- “All rows are in the same format” â verify with sample
Business Logic Assumptions
Beliefs about rules, scope, and requirements.
- “Delete means soft delete” â ambiguous, ask
- “All users are affected” â scope unclear, ask
- “Date format is DD/MM/YYYY” â needs confirmation
User Intent Assumptions
Beliefs about what the user actually wants.
- “Refactor = don’t change behavior” â ask
- “Quick = not production quality” â ask
- “Update = keep existing, add new” â ask
- “Clean up = delete? archive? organize?” â ambiguous, ask
Confidence Levels
Assign a confidence level to each assumption:
| Level | Meaning | Action |
|---|---|---|
| VERIFIED | Checked and confirmed | Proceed |
| VERIFIABLE | Can be checked with a tool/command | Check now |
| UNCERTAIN | Cannot be verified, open to interpretation | Ask the user |
| RISKY | If wrong, causes significant damage | Must ask |
Output Format
Task Start Scan
ASSUMPTION CHECK â Task Start
Assumptions found: N
Verified: N | Checking: N | Need to ask: N
## Technical
| Assumption | Confidence | Action |
|------------|------------|--------|
| [assumption] | VERIFIED/VERIFIABLE/UNCERTAIN/RISKY | [action] |
## Data
| Assumption | Confidence | Action |
|------------|------------|--------|
| [assumption] | ... | [action] |
## Business Logic
| Assumption | Confidence | Action |
|------------|------------|--------|
| [assumption] | ... | [action] |
## User Intent
| Assumption | Confidence | Action |
|------------|------------|--------|
| [assumption] | ... | [action] |
[Verifiable assumptions being checked now...]
[Questions for uncertain/risky assumptions:]
? [Question 1]
? [Question 2]
Pre-Step Scan (lighter format)
ASSUMPTION CHECK â Before [step name]
New assumptions: N found
| Assumption | Type | Confidence | Action |
|------------|------|------------|--------|
| [assumption] | Technical/Data/Logic/Intent | ... | ... |
[Questions or "All assumptions verified, proceeding."]
Verification Protocol
Check verifiable assumptions with tools before asking the user:
- File exists? â check filesystem
- Library installed? â check import
- JSON field present? â inspect data
- API reachable? â test endpoint
Update the assumption table: VERIFIABLE â VERIFIED or RISKY
Question Rules
- Ask at most 3 questions at a time â don’t overwhelm the user
- Ask riskiest first â RISKY > UNCERTAIN
- Use yes/no or multiple choice â not open-ended
- Do not start the related step until answers arrive
When to Skip
- Task is single-step, clear, and easily reversible
- User said “just do it, make your own assumptions”
- All assumptions were already verified in previous steps
- Repeated task â same structure worked before
Guardrails
- Never skip assumption checking for irreversible actions, regardless of task simplicity.
- Keep scans concise â table format, not paragraphs.
- Verify before asking â don’t ask the user things you can check yourself.
- Cross-skill: works with
checkpoint-guardian(risk gates) andtask-decomposer(plan validation).