Protocol for handling ambiguous decisions and missing/conflicting knowledge during code generation, design, and review. Ensures AI surfaces genuine judgment calls with structured options and stops on hallucination risk instead of silently assuming. Use when a decision has multiple valid approaches, when facts are missing or contradictory, when the user asks 'what should we do here?', 'is this a judgment call?', 'should I ask about this?', 'am I guessing here?', 'what are the tradeoffs?', or when deciding between two reasonable architectural or design options. Also composed by molecules to define how judgment calls and clarification requests are surfaced and resolved.
npx skills add https://github.com/techygarg/lattice --skill collaborative-judgment
Most decision NOT ambiguous. AI decide when:
Surface decision only when ALL three true:
Confidence test: "Considered two+ approaches, neither clearly better given project context." True → surface. False → decide, move on.
Err side of deciding only when grounded. Grounded autonomy ≠ guessing. STOP: If evidence thin, missing, or conflicting, don't silent choose.
Stop and inspect / ask when ANY signal fire:
If any signal fire, don't invent options just to fit this protocol. First inspect available evidence. If still unresolved, ask targeted clarification.
STOP: Conflicting active sources — surface contradiction, ask. Never pick winner silently.
Two formats:
Use when multiple grounded options remain:
> Decision needed: [one-line description of what's being decided]
>
> Checked: [sources]. Missing/conflicting: [fact]
>
> - Option A: [approach] — [1-line pro], [1-line con]
> - Option B: [approach] — [1-line pro], [1-line con]
>
> I lean toward [option] because [one sentence of reasoning].
Two options norm. Three maximum. No essays.
Use when issue is missing/conflicting knowledge, not balanced options:
> Clarification needed: [missing fact or contradiction]
>
> Checked: [sources]
> Missing/conflicting: [exact fact]
> Need from you: [1-3 targeted questions or requested artifact]
> Why it matters: [one sentence]
No fabricated options. Ask only for facts that materially change direction. If answer available in inspected repo/docs/tests, inspect first -- ask user only when gap remains.
Not interrupt every judgment call. Collect, surface at natural checkpoints:
Escalation signal: Single component produce >3 judgment calls, project need clearer standards. Suggest run relevant refiner instead ask each individually.
When user resolve judgment call or clarification:
framework:context-anchoring (per-feature) or recommend run relevant refiner (project-wide).Protocol become less active as project mature:
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Take techygarg/collaborative-judgment from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.