agentleFS
mauriciovieiramauriciovieira/groundwork/skills/interview-loop/SKILL.md

interview-loop

Skill0 starsChanged 4 months agoMITView on GitHub

Internal groundwork technique - the one-question-at-a-time interview loop that resolves every branch of a decision tree. Used by groundwork orchestrators such as survey when they need a rigorous interview. Not a user-invoked command; do not invoke on its own outside an active groundwork orchestrator, and it has no file-writing behavior by itself.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    Ask one question at a time.

    line 12
  2. Distinctive:

    When an answer reveals a new branch you hadn't asked about, follow it before returning to your original thread.

    line 16
  3. Distinctive:

    Stop when the design survives: you can no longer find an unresolved branch, or the user explicitly says it's good enough.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

groundwork:interview-loop

This is the interview technique itself, factored out so more than one orchestrator can use it. It does not write any files - the orchestrator that invokes it decides what to do with each resolved decision.

The loop

  1. Ask one question at a time. Never present a checklist of questions - the next question should depend on the last answer.
  2. For every decision point you find, walk both branches before moving on: "what happens if X" and "what happens if not X" (or, for a choice among options, what happens under each option). A branch is not resolved until the consequence is stated and the user has confirmed it's acceptable or fixed it.
  3. Hunt for what's unstated: edge cases, error states, empty states, concurrent or simultaneous access, scale limits, who else is affected by this decision, what happens on failure or retry. These are usually where the real design lives, not in the happy path.
  4. Push back on vague answers. "It should handle that gracefully" is not an answer - ask what "gracefully" means concretely, with an example.
  5. When an answer reveals a new branch you hadn't asked about, follow it before returning to your original thread. A good answer should redirect you, not just fill in a blank.
  6. Track decisions as they land, tagging each one by what it affects: goal/scope/acceptance-criteria, an architectural or process decision with real tradeoffs, or a domain term worth naming. Hand this tagging to the calling orchestrator as you go - it's the one writing files.

Stop condition

Stop when the design survives: you can no longer find an unresolved branch, or the user explicitly says it's good enough. Don't manufacture more questions once genuine ambiguity runs out - the goal is a sharp design, not a long transcript.

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.