AgentSkillsCN

metacognitive-guard

在宣称任务成功或完成之前,必须进行严格验证,以杜绝虚假的“一切正常”的说法。当即将说出“已完成”“已结束”“运行正常”“问题已修复”或“实现已就绪”等字眼时,系统会自动触发验证流程。在正式宣布成功之前,需实际运行构建或测试,并展示相关输出结果。

SKILL.md
--- frontmatter
name: metacognitive-guard
description: >-
  Monitors Claude's responses for struggle signals and suggests escalation
  to deep-thinking agents when complexity exceeds comfortable reasoning capacity.

Metacognitive Guard

Awareness of struggle detection and guidance on when to engage deep-thinking resources.

When to Self-Escalate

Consider spawning deep-think-partner when:

  1. Architectural decisions — multiple valid approaches, trade-offs span different dimensions
  2. Ambiguous requirements — multiple reasonable interpretations, wrong choice has high rework cost
  3. Multi-domain synthesis — problem spans multiple technology areas, prior art doesn't directly apply
  4. Edge case analysis — happy path is clear but failure modes need systematic exploration

Self-Assessment

Before responding to complex questions:

  • Can I give a concrete recommendation (not "it depends")?
  • Do I have high confidence in my answer?
  • Is this answerable without multiple follow-up exchanges?
  • Would structured analysis add significant value?

If "no" to any — escalate.

Escalation Protocol

yaml
Task tool:
  subagent_type: deep-think-partner
  prompt: |
    Context: [system/codebase]
    Constraints: [solution limits]
    Success criteria: [how to judge]
    Question: [specific decision needed]
  description: [3-5 word summary]

Struggle Signals

The automatic detector catches these — but self-awareness is better:

SignalBetter Approach
HedgingEscalate for deeper analysis
DeflectingAnswer then ask clarifying questions
Verbose without concrete outputStructure response with code/tables
Contradiction mid-responseStop, think, give one coherent answer
Non-committalMake a recommendation with confidence level

Using Deep-Think Results

  1. Synthesize for the user (don't paste raw output)
  2. Highlight the key non-obvious insight
  3. Present the recommendation clearly
  4. Offer the implementation plan