agentleFS
hassan-mohiddinhassan-mohiddin/freeflow/skills/decision-gate/SKILL.md

decision-gate

Skill3 starsChanged 5 months agoMITView on GitHub

Use when proceeding would silently choose a consequential outcome for the user, or when accepted sources conflict in a way that leaves one material choice blocking the next action.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After asking, stop. Do not perform the blocked action in the same response, and never settle a user-owned choice by proceeding.

    line 18
  2. Distinctive:

    Never ask the user to choose between factual claims that available evidence can settle.

    line 19
  3. Distinctive:

    Use Decision Gate when:

    line 28
  4. Distinctive:

    When several decisions appear, ask the earliest one whose answer determines whether the others remain relevant.

    line 38
  5. Distinctive:

    When accepted sources appear to conflict:

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Decision Gate

Resolve one known blocking decision without making it for the user.

A blocking decision is a choice whose realistic answers materially change the accepted outcome, scope, behavior, risk, persistence, compatibility, evidence boundary, or next safe action.

Decision Gate is not general discussion, factual investigation, or an approval checkpoint for routine work. The Interaction Contract governs whether the user is asking, proposing, deciding, or authorizing action; Workflow owns authority and routing.

The Rules below are binding; if one cannot be met, stop and say why. Everything else is judgment: follow its stated goal, and adapt when a different choice serves that goal better.

Rules

  • After asking, stop. Do not perform the blocked action in the same response, and never settle a user-owned choice by proceeding.
  • Never ask the user to choose between factual claims that available evidence can settle.
  • Urgency, prior effort, reviewer confidence, common practice, or general approval to continue does not resolve an unnamed decision or source conflict.
  • An explicit choice resolves only the decision that was asked. A question, criticism, hypothesis, preference, conditional answer, or request for more information is not a decision, and no answer authorizes unrelated effects, another outcome, or a separately controlled boundary.
  • Decision Gate runs no experiments and does not change task memory; return those needs to Workflow.

Enter With One Decision

Goal: use the gate only for a real, bounded, blocking choice.

Use Decision Gate when:

  • the requested or accepted path is known;
  • one unresolved choice or material source conflict can be stated precisely;
  • available evidence and established source precedence do not already settle it;
  • different realistic answers would materially change what follows;
  • proceeding would silently decide for the user or override accepted source truth.

Do not use it for facts available through focused passive inspection, reversible implementation details that preserve the accepted outcome, ordinary authorization for one clear additional action, preferences that do not affect the result, hypothetical edge cases without supported reachability or consequence, or broad option spaces that still need exploration; use Discuss when the problem, alternatives, assumptions, or direction are not yet bounded enough for one decision.

When several decisions appear, ask the earliest one whose answer determines whether the others remain relevant. Do not turn the gate into an interview.

Resolve Facts Before Asking

Goal: the question the user receives contains only what they must decide.

Inspect the smallest existing evidence that can settle the factual part: the current request, accepted decisions, code, tests, documentation, Specs, policies, ADRs, repository state, supplied artifacts, and current primary sources when relevant.

When accepted sources appear to conflict:

  1. state each source's exact claim and applicable scope;
  2. determine whether each is current, accepted, draft, historical, generated, or advisory;
  3. apply repository-defined precedence or maintenance policy when one exists;
  4. identify the observable consequence of following each claim.

A difference is material only when applicable sources make incompatible claims and selecting between them changes the accepted result or next safe action. Do not invent a universal hierarchy: code is not correct because it runs, tests are not requirements because they fail, documentation is not stale because implementation differs, and task memory does not override live accepted source truth.

If established precedence resolves the conflict, return the supported result to Workflow without asking. Updating an inconsistent source belongs to its owning activity and needs its own authority. If framing the choice responsibly needs new active evidence, return the exact claim, proposed observer, expected evidence, and stop condition to Workflow.

Ask One Direct Question

Goal: the user can decide from one message, and knows what you recommend.

State proportionately:

  1. the requested or previously accepted path;
  2. the exact missing choice or conflicting evidence;
  3. why it changes the next action;
  4. the realistic options and material tradeoffs;
  5. a recommendation when evidence supports one;
  6. one direct question that resolves the block.

Frame the choice around the outcome the user owns, not implementation mechanics: do not ask which file to change when the real decision is which behavior or contract should govern. Do not manufacture a menu; omit dominated, unsafe, unavailable, or hypothetical options. A yes-or-no question fits when one supported deviation needs a decision. Include preserving current behavior, waiting, or stopping only when each is real.

Recommend plainly when one path is better supported, with its principal tradeoff and what would change the recommendation. A recommendation is not the user's decision.

Interpret And Return The Decision

Goal: carry exactly the decision made, no more and no less, back to the work.

Respond to the substance of anything that is not a decision, and keep the blocked action stopped. Route narrowly:

  • explicit choice with a clear covered path -> Workflow;
  • answer that reopens alternatives or assumptions -> Discuss;
  • unresolved factual evidence -> Workflow and the appropriate evidence owner;
  • defer, preserve, or stop -> return that outcome without forcing progress.

A resolved decision may complete the missing intent for a still-valid request. Return to Workflow with the exact decision and who or what established it, the selected outcome and important exclusions, material consequences and affected source truth, remaining uncertainty or revisit condition, and the authority state of the next action. When losing the decision or its rationale could cause later misalignment, Workflow may route Track Work to preserve it.

Stop when one direct question has been asked and no answer exists, the answer does not resolve the material block, the decision owner is unavailable, or active evidence is required before a responsible choice can be framed. A supported wait, deferment, preservation boundary, or stop is a valid result.

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.