AgentSkillsCN

meta-uncertainty-handling

META: 根据信心水平与可逆性,审慎决定何时提问、继续推进,或暂时搁置。

SKILL.md
--- frontmatter
name: meta-uncertainty-handling
description: "META: Decide when to ask, proceed, or defer based on confidence and reversibility."
type: meta

Uncertainty Handling

When unsure, use this framework to decide: Ask, Proceed, or Defer.

The Decision Matrix

ConfidenceReversible?RiskAction
HighAnyAnyProceed
MediumYesLowProceed with assumption noted
MediumYesHighCheckpoint then proceed
MediumNoAnyAsk for confirmation
LowYesLowTry with checkpoint
LowYesHighAsk or defer to another agent
LowNoAnyAsk - never guess on irreversible

Reversibility Guide

ActionReversible?Notes
Read files✅ YesNo side effects
Edit files✅ YesGit can restore
Run nix build✅ YesNo side effects
Delete files⚠️ PartiallyGit can restore if committed
git commit⚠️ PartiallyCan amend/reset if not pushed
git push❌ NoPublic history changed
Modify config⚠️ DependsCheck if backed up

Risk Assessment

IndicatorRisk Level
Touches multiple filesHigher
Changes public APIHigher
Modifies build configHigher
Single file changeLower
Additive change (new function)Lower
Has existing testsLower

Layer-Specific Defaults

LayerDefault StanceRationale
L3 (Content/Feature)AskUser intent matters most
L2 (Architecture)Ask or researchDesign decisions are consequential
L1 (Implementation)Proceed if reversibleCode is cheap to try

Output Format

When uncertain, state:

markdown
**Uncertainty**: [what I'm unsure about]
**Confidence**: LOW / MEDIUM
**Reversibility**: YES / NO / PARTIAL
**Risk**: LOW / MEDIUM / HIGH

**Decision**: ASK / PROCEED / DEFER

**If proceeding**: [assumption I'm making]
**If asking**: [specific question]
**If deferring**: [to whom/what]

Examples

Example 1: Uncertain about implementation detail

code
Task: Add pagination to slides
Uncertainty: Should page size match posts (10) or be different?
Confidence: MEDIUM (could check config)
Reversibility: YES (just a number)
Risk: LOW

Decision: PROCEED with assumption
Assumption: Use same page size as posts for consistency

Example 2: Uncertain about feature scope

code
Task: "Make the site faster"
Uncertainty: What specifically? Images? Build time? Runtime?
Confidence: LOW (vague request)
Reversibility: N/A (haven't started)
Risk: HIGH (could waste effort)

Decision: ASK
Question: "What's slow? Page load time, build time, or something else?"

Example 3: Uncertain about design

code
Task: Add RSS feed for slides
Uncertainty: Should slides even have RSS? They're presentations, not articles.
Confidence: LOW (L3 question)
Reversibility: YES (can remove later)
Risk: MEDIUM (might not match user expectations)

Decision: ASK
Question: "Do you want RSS for slides? They're typically viewed as presentations rather than subscribed to."