agentleFS
shawnla90shawnla90/recursive-drift/skills/discuss/SKILL.md

discuss

Skill17 starsChanged 9 months agoMITView on GitHub

Decision-lock workflow for complex features. Asks targeted domain-specific questions, locks scope, and writes a CONTEXT.md that downstream skills consume. Auto-invoked when a feature touches 3+ files across 2+ concerns, or manually via /discuss.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use resume, ask and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    resume

    Resume a thread by loading its ~800-token context capsule

    Also in 3 projects that use this

  • agenticnotetakingSkill

    ask

    Query the bundled research knowledge graph for methodology guidance. Routes questions through a 3-tier knowledge base — WHY (research claims), HOW (guidance docs), WHAT IT LOOKS LIKE (domain examples) — plus structured reference documents. Returns research-backed answers grounded in specific claims with practical application to the user's system. Triggers on "/ask", "/ask [question]", "why does my system...", "how should I...".

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 5 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • AnthropicSkill

    verify

    Drive the contracts engine's runtime surface (the stdio MCP server) to verify changes end-to-end. Scoped to public-plugins/plugins/healthcare/skills/contracts/ and ../../servers/documents/.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Max 7 questions: If you need more, the scope is too broad -- split into two sessions.

    line 52
  2. Very specific:

    Offer recommended defaults: Every question should have a (recommended: X) when the agent has an informed opinion.

    line 54
  3. Distinctive:

    No vibes: Every answer must be a concrete, implementable decision.

    line 55
  4. Distinctive:

    Ask all questions at once: Do not drip-feed. Present the full batch and let the user answer in one pass.

    line 56
  5. Very specific:

    Never re-ask a locked decision: If it's in CONTEXT.md under ## Decisions, it's settled.

    line 132
  6. Distinctive:

    One CONTEXT.md per feature: Don't create multiple. If scope changes, edit the existing one.

    line 133
  7. Distinctive:

    Reference existing code paths: Every question should ground itself in what already exists in the repo.

    line 135
  8. Distinctive:

    Claude's Discretion is earned: Only items the user explicitly delegates go here.

    line 137

“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Discuss -- Decision-Lock Before Execution

Lock all decisions BEFORE any code gets written. One CONTEXT.md per feature. No agent re-asks what's already decided.


When to Invoke

  • Auto: agent-routing Step 0 detects 3+ files across 2+ concerns and no CONTEXT.md exists
  • Manual: User types /discuss or "let's discuss this first"
  • Skip: Task is 1-2 files in a single concern, or CONTEXT.md already exists for this feature

Step 1: Domain Detection

Classify the work into one or more domains. Each domain has its own question bank -- never ask generic questions.

DomainSignalsQuestion Focus
Visual/UIComponents, pages, layouts, CSS, animationsResponsive breakpoints, existing component reuse, design system tokens, interaction states
API/DataEndpoints, data files, types, schemas, databaseData shape, validation rules, error handling, existing type patterns
OperationsCrons, deploy, CI, scripts, infraSchedule, failure handling, monitoring, rollback strategy
ContentBlog posts, wiki entries, social, copyVoice compliance, platform, audience segment
OrganizationalSkills, constraints, workflows, team configScope of impact, backward compatibility, which skills consume the output

Multi-domain tasks get questions from each relevant domain.


Step 2: Scope Boundary Lock

State the scope explicitly in 2-3 sentences:

Scope: We are building [X]. This includes [A, B, C]. This does NOT include [D, E].

Present to user. They confirm with "yes", narrow with "remove X", or expand with "also include Y."

Anything the user mentions that falls outside the stated scope -- add to Deferred Ideas (Step 4).


Step 3: Ask 5-7 Targeted Questions

Pull from the domain question banks detected in Step 1. Rules:

  • Max 7 questions. If you need more, the scope is too broad -- split into two sessions.
  • Reference existing code by path. Not "what pattern?" but "should this follow the pattern in path/to/existing/file or a new layout?"
  • Offer recommended defaults. Every question should have a (recommended: X) when the agent has an informed opinion.
  • No vibes. Every answer must be a concrete, implementable decision. "Make it look good" is not a decision. "Use the existing grid component with 3 columns on desktop, 1 on mobile" is.
  • Ask all questions at once. Do not drip-feed. Present the full batch and let the user answer in one pass.

Example (Visual/UI domain):

  1. Layout: Should this use the existing page wrapper or a custom layout? (recommended: existing wrapper -- matches all other pages)
  2. Data source: Pull from the existing data array or a new dedicated data file? (recommended: new file -- keeps existing data clean)
  3. Responsive: Desktop-first with mobile breakpoint at 768px, matching the rest of the site? (recommended: yes)

Step 4: Write CONTEXT.md

Save to the feature's working directory.

# [Feature Name] -- Decision Lock

**Date:** YYYY-MM-DD
**Scope:** [The locked scope from Step 2]
**Domains:** [Visual/UI, API/Data, etc.]

---

## Decisions

[Numbered list. Each decision is final. Agents MUST NOT re-ask these.]

1. [Decision from Q1 answer]
2. [Decision from Q2 answer]
3. [Decision from Q3 answer]
...

## Deferred Ideas

[Ideas mentioned but explicitly out of scope. Preserved for future sessions.]

- [ ] [Deferred item 1 -- brief rationale for deferring]
- [ ] [Deferred item 2]

## Claude's Discretion

[Items where the user said "you decide" or "whatever makes sense." Claude picks the best option during execution without asking again.]

- [Discretion item 1 -- chosen approach and why]
- [Discretion item 2]

Step 5: User Confirmation

Display the full CONTEXT.md content. User responds with:

  • "yes" -- Lock it. No further changes.
  • "edit N" -- Modify decision N, re-display.
  • "add deferred: [idea]" -- Append to Deferred Ideas, re-display.

Once locked, announce:

Decision lock complete. CONTEXT.md saved to [path].


Step 6: Downstream Handoff

Announce which skills will consume this file:

Downstream consumers:

  • /agent-routing -- Will read Decisions to inform the 5-dimension analysis
  • TEAM-CONSTRAINTS.md -- Executors will load CONTEXT.md as part of the context chain
  • Phase reports -- Will import Decisions and Deferred Ideas into the final report

Rules

  1. Never re-ask a locked decision. If it's in CONTEXT.md under ## Decisions, it's settled. Agents that contradict a locked decision are wrong.
  2. One CONTEXT.md per feature. Don't create multiple. If scope changes, edit the existing one.
  3. Max 7 questions. More means the scope is too broad.
  4. Reference existing code paths. Every question should ground itself in what already exists in the repo.
  5. Deferred is not deleted. Deferred ideas survive into archives. They are future work, not rejected work.
  6. Claude's Discretion is earned. Only items the user explicitly delegates go here. Claude does not self-grant discretion.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.