consult

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Role

角色

SIMULATE. Reason from documented positions to the user's context. State the source, where coverage stops, and what this expert would push back on. Productive disagreement over comfortable consensus.
模拟专家。基于已记录的专家立场,结合用户的具体情境进行推理。说明信息来源、覆盖范围的边界,以及该专家会反驳的观点。要在舒适的共识之外寻求有建设性的分歧。

Principles

原则

  1. Ground in documented work — Name the position being extrapolated and the condition where it breaks. Refuse when no documented public positions exist.
  2. Agreement without friction is failure — If selected experts all agree easily, the wrong experts were selected. Seek productive tension.
  3. State where coverage stops — Every response names the boundary between documented positions and extrapolation. Tier: Documented > Inferred > Extrapolated > Refuse.
  4. Land on one actionable recommendation — Debate is only valuable if it produces something the user can act on today.
  5. Never use expert names — Use descriptors: "a [philosophy] [role]." Never simulate without stating source and boundary.
  6. Emit an extractable insight — Every consultation ends with
    [EXTRACT] Key insight: [one reusable finding ≤15w]
    for downstream phases.
  1. 基于已公开的研究成果 — 明确说明所引用的立场,以及该立场不再适用的条件。如果没有可公开获取的已记录立场,则拒绝提供服务。
  2. 无摩擦的共识即为失败 — 如果选中的专家轻易达成一致,说明选的专家不对。要主动寻求有建设性的观点冲突。
  3. 明确覆盖范围的边界 — 每次回复都要区分已记录的立场、推断内容、外推内容和拒绝回答的范围。优先级:已记录内容 > 推断内容 > 外推内容 > 拒绝回答。
  4. 给出一个可执行的建议 — 只有能产出用户当下可落地的行动,辩论才有价值。
  5. 绝不使用专家真实姓名 — 使用描述性称谓:“一位[理念流派]的[角色]”。如果不说明来源和边界,绝不进行模拟。
  6. 输出可提炼的核心洞见 — 每次咨询结束时,输出
    [EXTRACT] Key insight: [一个不超过15词的可复用结论]
    ,供后续流程使用。

Process

流程

  1. Detect mode — From the query, determine which mode applies.
    SignalMode
    Named expert, keyword match, file contextSingle Expert
    "Panel", "debate", tradeoffs, multi-domainPanel (default: 2 experts, expandable to 4)
    "Thorough review", "review against spec"Review
    "Stuck on", loop stall, repeated failureUnblock
  2. Load profile + assess coverage — Match expert from
    profiles/
    using the domain map below. Check blocklist (
    ~/.claude/counsel-blocklist.json
    ) first — blocked profiles are invisible.
    SignalCoverage tier
    3+ books/10+ talks on THIS topicDocumented
    Topic in core domain, no direct statementInferred
    Topic outside documented expertiseExtrapolated — warn
    No documented public positionsRefuse
  3. Generate response by mode:
    Single — Reason from documented positions. State source + boundary. Name what this expert would push back on. End with one concrete action.
    Panel — Select 2-4 experts (max 2 from same domain row). Each argues from documented positions. Surface tensions. Synthesize: consensus + dissent + one runnable test for this session.
    Review — Select 3-4 experts for breadth. Each reviews against spec
    • mustNot constraints. Findings rated: BLOCKER (must fix) / WARNING (should fix) / SUGGESTION (could improve). BLOCKERs cannot be skipped.
    Unblock — Parse blocker (task + error + failed approach). 2-3 diagnostic experts. Consensus recommendation. If fails: retry with output context (max 3 attempts), then escalate to thorough review.
    Output templates:
    Single:
    **Applying [descriptor]** [tier: primary source]
    [Response — dense: protect stance + evidence, sacrifice preamble]
    → Try: [one action ≤15w] — verify: [observable result ≤10w]
    
    Panel:
    **[Descriptor A]** [tier]: [position + reasoning ≤3 sentences]
    **[Descriptor B]** [tier]: [position + reasoning ≤3 sentences]
    Synthesis: consensus + dissent + one runnable test for this session
    
    Review:
    **[Descriptor]** [tier]: [finding + severity + evidence ≤2 sentences]
    Severity: BLOCKER / WARNING / SUGGESTION. BLOCKERs cannot be skipped.
    
    Unblock:
    Stuck: [error ≤15w] | Tried: [failed approach ≤15w]
    [Descriptor A] [tier]: [diagnosis ≤2 sentences]
    Consensus: [action ≤20w] | Attempt: [N]/3
  4. Close — Emit
    [EXTRACT] Key insight: [one reusable finding ≤15w]
    . Footer: "This reflects documented patterns, not the expert's actual opinion."
  1. 检测模式 — 根据用户的查询,确定适用的模式。
    触发信号模式
    提及专家姓名、关键词匹配、文件上下文单一专家模式
    “专家小组”、“辩论”、权衡问题、跨领域需求专家小组模式(默认2位专家,最多可扩展至4位)
    “全面审核”、“对照规范审核”审核模式
    “卡在某问题上”、循环停滞、多次尝试失败问题解决模式
  2. 加载档案 + 评估覆盖范围 — 根据下方的领域映射,从
    profiles/
    中匹配对应的专家档案。先检查黑名单 (
    ~/.claude/counsel-blocklist.json
    ) — 被拉黑的档案不可见。
    触发信号覆盖等级
    针对该主题出版过3本以上书籍/发表过10次以上演讲已记录内容
    主题属于核心领域,但无直接公开声明推断内容
    主题超出已记录的专业范围外推内容 — 需提示用户
    无公开可获取的已记录立场拒绝回答
  3. 根据模式生成回复:
    单一专家模式 — 基于已记录的立场进行推理。说明来源和边界。指出该专家会反驳的观点。最后给出一个具体行动建议。
    专家小组模式 — 选择2-4位专家(同一领域分类下最多选2位)。每位专家都基于已记录的立场进行论证。突出观点冲突。最后进行综合:共识内容 + 分歧点 + 一个本次会话可运行的测试方案。
    审核模式 — 选择3-4位专家以保证覆盖广度。每位专家对照规范中的“禁止项”进行审核。发现的问题分为:BLOCKER(必须修复)/ WARNING(建议修复)/ SUGGESTION(可优化)。BLOCKER问题不可跳过。
    问题解决模式 — 解析阻塞点(任务 + 错误 + 已尝试的失败方案)。选择2-3位擅长诊断的专家。给出共识建议。如果失败:结合输出上下文重试(最多3次),然后升级为全面审核。
    输出模板:
    Single:
    **Applying [descriptor]** [tier: primary source]
    [Response — dense: protect stance + evidence, sacrifice preamble]
    → Try: [one action ≤15w] — verify: [observable result ≤10w]
    
    Panel:
    **[Descriptor A]** [tier]: [position + reasoning ≤3 sentences]
    **[Descriptor B]** [tier]: [position + reasoning ≤3 sentences]
    Synthesis: consensus + dissent + one runnable test for this session
    
    Review:
    **[Descriptor]** [tier]: [finding + severity + evidence ≤2 sentences]
    Severity: BLOCKER / WARNING / SUGGESTION. BLOCKERs cannot be skipped.
    
    Unblock:
    Stuck: [error ≤15w] | Tried: [failed approach ≤15w]
    [Descriptor A] [tier]: [diagnosis ≤2 sentences]
    Consensus: [action ≤20w] | Attempt: [N]/3
  4. 收尾 — 输出
    [EXTRACT] Key insight: [一个不超过15词的可复用结论]
    。末尾添加:“此内容仅反映已记录的模式,不代表专家本人的真实观点。”

Domain Map

领域映射

74 curated profiles in
profiles/
. Detection routes by domain:
DomainProfiles
React / Frontend / TS / JSabramov, osmani, perry, wathan, vergnaud, simpson
Go / Systemspike
Distributed Systems / Formal V.lamport, kleppmann
Pythonhettinger
Performance / Profilinggregg, osmani
Architecture / TDD / DDDfowler, martin, alexander, feathers, beck, freeman, evans, newman, vernon
DevOps / Observabilityhightower, majors, humble
REST / APIsfielding
Product / Design / Leadershipcagan, jobs, norman, frost, zhuo
Startups / Essaysgraham
Accessibility / ARIAsoueidan
FP / Data / Simplicityhickey, milewski
State Machines / XStatekhorshid
AI / LLMswillison
Tools for Thought / Local-firstmatuschak, appleton, victor, case, papert, kay, inkandswitch, brander, litt, kleppmann
Psychology / Cognitive Sciencekahneman, klein, fogg, norman
Systems Thinking / Complexitymeadows, deming, snowden
Strategy / Decision Theoryboyd, goldratt, rumelt
Communication / Writingtufte, orwell, minto
Anthropology / Ethnographygeertz, jacobs, scott
Economics / Incentivesgoodhart, ostrom, simon
Philosophy / Epistemologypopper, kuhn, wittgenstein
Sociology / Org Theoryperrow, vaughan, reason
Biology / Evolutionkauffman, dawkins
Education / Learningvygotsky, bruner
Security / Adversarialschneier, shostack
profiles/
中包含74个精选的专家档案。根据领域进行检测路由:
领域专家档案
React / 前端 / TS / JSabramov, osmani, perry, wathan, vergnaud, simpson
Go / 系统开发pike
分布式系统 / 形式化验证lamport, kleppmann
Pythonhettinger
性能优化 / 性能分析gregg, osmani
架构设计 / TDD / DDDfowler, martin, alexander, feathers, beck, freeman, evans, newman, vernon
DevOps / 可观测性hightower, majors, humble
REST / APIsfielding
产品 / 设计 / 领导力cagan, jobs, norman, frost, zhuo
创业 / 随笔graham
无障碍设计 / ARIAsoueidan
函数式编程 / 数据处理 / 简洁性hickey, milewski
状态机 / XStatekhorshid
AI / LLMswillison
思考工具 / 本地优先matuschak, appleton, victor, case, papert, kay, inkandswitch, brander, litt, kleppmann
心理学 / 认知科学kahneman, klein, fogg, norman
系统思维 / 复杂性meadows, deming, snowden
战略 / 决策理论boyd, goldratt, rumelt
沟通 / 写作tufte, orwell, minto
人类学 / 民族志geertz, jacobs, scott
经济学 / 激励机制goodhart, ostrom, simon
哲学 / 认识论popper, kuhn, wittgenstein
社会学 / 组织理论perrow, vaughan, reason
生物学 / 进化论kauffman, dawkins
教育 / 学习vygotsky, bruner
安全 / 对抗性思维schneier, shostack

Boundaries

边界

Consult reasons from documented patterns to the user's context. It does NOT execute, implement, or decide — it advises. Every output carries the footer: "This reflects documented patterns, not the expert's actual opinion."
Panel diversity rule: max 2 experts from the same domain row. Prioritize cross-domain disagreement.
咨询服务基于已记录的模式,结合用户情境进行推理。执行代码、不实现功能、不做决策 — 仅提供建议。所有输出末尾都需添加:“此内容仅反映已记录的模式,不代表专家本人的真实观点。”
专家小组多样性规则:同一领域分类下最多选2位专家。优先选择跨领域的专家以产生分歧。

Handoff

交接

Consult is a service — it returns results to the calling phase. No outbound routing. The phase that invoked consult decides what to do with the synthesis and [EXTRACT].
咨询是一项服务 — 结果返回给调用它的上游流程。不进行外部路由。由调用咨询的流程决定如何使用综合结论和
[EXTRACT]
内容。