interview-elicitation
Skill4 starsChanged 6 days agoMITView on GitHub
Requirements elicitation framework for the Interview phase — six question domains, verifiable acceptance criteria, and the stop condition for when requirements are complete.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-phpSkill
- exec-pythonSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Ask with AskUserQuestion; batch related questions (max 4 per round) instead of one long interrogation.
- Very specific: line 26
Write each acceptance criterion atomic and independently testable — one behavior per criterion.
- Distinctive: line 31
Stop interviewing when every acceptance criterion is verifiable (testable pass/fail) and the user has confirmed a written summary:
- Distinctive: line 44
Before requesting confirmation, format each requirement and its acceptance criteria as:
- Very specific: line 51
Write one atomic, verifiable acceptance criterion per R<n>.<m> bullet.
- Distinctive: line 52
WHEN/THEN-style behavior per ID, and split compound clauses into separate IDs.
- Very specific: line 59
Never edit the original requirement sections in place.
- Very specific: line 67
Treat the original requirement sections plus all deltas as the effective requirement set in every downstream phase.
- Distinctive: line 75
Before execution resumes, re-run Phase 2 impact analysis against the effective set and obtain plan approval, rebuild the affected tasks, run
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Requirements Elicitation
Helpers: required — requirements-coverage.mjs, flow-state.mjs (helper rule: missing → STOP and tell the user to reinstall the codex-flow plugin; non-zero exit → surface the error and STOP).
Goal: leave the interview with requirements so unambiguous that a different engineer could implement them without asking anything.
Six domains to cover (minimum one confirmed answer each)
- Goal & success criteria — What does "done" look like? What user-visible behavior changes? How will we measure success?
- Scope boundaries — What is explicitly IN? What is explicitly OUT? What must not change?
- Technical constraints — Required stack/libraries, patterns to follow, files/areas not to touch, compatibility targets (OS, browsers, versions).
- Edge cases & failure behavior — What happens on invalid input, empty state, concurrency, timeouts, partial failure? What should the user see when things go wrong?
- Non-functional requirements — Performance targets, security/privacy expectations, i18n, accessibility, observability.
- Testing expectations — What proof is required: unit/integration/E2E, coverage bar, manual verification steps.
Rules
- Ask with AskUserQuestion; batch related questions (max 4 per round) instead of one long interrogation.
- Offer concrete options with a recommended default — users answer choices faster than open questions.
- Convert every vague answer into a verifiable statement and read it back ("So: uploads over 10 MB are rejected with a visible error — correct?").
- Write each acceptance criterion atomic and independently testable — one behavior per criterion. These become the per-task
Acceptancelines in the backlog, so a criterion that bundles three behaviors forces an oversized, hard-to-review task later. - Record assumptions you had to make as explicit "Assumed:" lines the user can veto.
Stop condition
Stop interviewing when every acceptance criterion is verifiable (testable pass/fail) and the user has confirmed a written summary:
## Requirements Summary
- Goal: …
- In scope: … / Out of scope: …
- Constraints: …
- Edge cases: …
- Non-functional: …
- Acceptance criteria: 1. … 2. … (each testable)
- Assumed: …Before requesting confirmation, format each requirement and its acceptance criteria as:
## R<n>: <title>
- R<n>.<m>: <clause>Write one atomic, verifiable acceptance criterion per R<n>.<m> bullet. Express one testable
WHEN/THEN-style behavior per ID, and split compound clauses into separate IDs.
The moment the user confirms the Requirements Summary, write it VERBATIM to
.codex-flow/REQUIREMENTS.md. Do not start planning until the write completes.
Changing requirements mid-run
Never edit the original requirement sections in place. For a legitimate change, get user
confirmation and append a timestamped delta under ## Deltas using this format:
### <ISO date> <ADDED|MODIFIED|REMOVED> R<n>[.<m>]
<new or changed clause text>Treat the original requirement sections plus all deltas as the effective requirement set in every
downstream phase. The user's delta confirmation refreshes requirementsApproved in
.codex-flow/STATE.md to yes (delta <ISO date>). Record the delta by running
node "${CLAUDE_PLUGIN_ROOT}/scripts/flow-state.mjs" requirement-delta, which sets
requirementsApproved to yes (delta <date>), resets planApproved and backlogApproved to
no (delta <date>), and returns phase to plan; no earlier plan or backlog approval survives a
requirement change.
Before execution resumes, re-run Phase 2 impact analysis against the effective set and obtain plan
approval, rebuild the affected tasks, run
node "${CLAUDE_PLUGIN_ROOT}/scripts/requirements-coverage.mjs" --requirements .codex-flow/REQUIREMENTS.md --tasks .codex-flow/TASKS.md --plan .codex-flow/PLAN.md,
and obtain backlog re-approval. Stop on any coverage violation.
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
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.

