elicit-requirements-models
Skill4 starsChanged 3 months agoMITView on GitHub
WHEN/WHERE/WHO: [Scheduling: Business analysts, agents, or developers reviewing complex user stories or PRDs.] HOW: [Structural: Use this SKILL to parse text requirements into Mermaid.js visual models (state/flow diagrams) to identify missing logic.] WHY: [Scheduling: Flat text hides missing edge cases and logical dead-ends. Visual modeling exposes these gaps before code is written.]
In this repository61 other files it gives its agents.
- activate-personalSkill
- analyze-with-tactics-questionnairesSkill
- apply-agile-testing-quadrantsSkill
- apply-architectural-tacticsSkill
- apply-attribute-driven-designSkill
- apply-fundamentals-of-data-visualizationSkill
- apply-oopsi-modelSkill
- apply-screenplay-patternSkill
- apply-specification-by-exampleSkill
- blog-topic-discoverSkill
- build-agent-memory-systemsSkill
- build-business-objectives-modelSkill
- build-data-dictionarySkill
- build-feature-treeSkill
- comment-alive-test-driven-developmentSkill
- conduct-event-stormingSkill
- create-ecosystem-mapSkill
- create-living-documentationSkill
- create-skill-from-bookSkill
- CREATING-SKILL-TEMPLATESkill
- define-architectural-driversSkill
- define-bounded-contextsSkill
- define-ubiquitous-languageSkill
- design-agentic-screenplay-modelSkill
- design-agent-perception-layersSkill
- design-agent-planningSkill
- design-agent-reward-functionsSkill
- design-agents-using-patternsSkill
- design-architecture-viewpointsSkill
- design-autonomous-ai-interfacesSkill
- design-ddd-aggregatesSkill
- design-tool-use-sandboxingSkill
- document-architectural-decisionsSkill
- document-legacy-codebaseSkill
- doc-with-usage-exampleSkill
- draft-srs-documentSkill
- evolve-skill-with-wikiSkill
- extract-business-rulesSkill
- facilitate-example-mappingSkill
- facilitate-user-story-mappingSkill
- implement-agent-observabilitySkill
- implement-agent-reflectionSkill
- improve-existing-skillSkill
- improve-user-storySkill
- managing-ai-projectsSkill
- orchestrate-multi-agent-collaborationSkill
- prioritize-requirementsSkill
- review-c4-modelSkill
- review-data-engineeringSkill
- save-as-skillSkill
- scaffold-cmake-cxx-sanitize-gtest-envSkill
- skill-commonSkill
- task-commit-triggerSkill
- test-case-with-demoSkill
- test-case-with-readmeSkill
- test-driven-developmentSkill
- UnitTesting-convert2CaTDDSkill
- update-my-resumeSkill
- update-spec-contextSkill
- validate-requirements-criteriaSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
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
- Distinctive: line 13
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter …
- Distinctive: line 44
Transfer Check: Verify the workflow still works across feature discovery, analysis, and clarification-heavy stakeholder sessions.
- Distinctive: line 45
Stop Rule: If the business domain or requirement signal is too unclear to model safely, stop and ask before choosing a technique.
- Distinctive: line 48
Do not invent logic to fill gaps.
- Distinctive: line 49
Keep models scoped to the provided text to avoid diagram bloat.
- Distinctive: line 50
Keep instructions executable via natural language checklists.
- Distinctive: line 51
If Mermaid cannot be rendered, provide equivalent state/flow structures in plain text form.
- Distinctive: line 54
If the input text is purely cosmetic (e.g., "Change the button to blue") and contains no logic, state, or flow, inform the user that visual …
- Distinctive: line 59
If it describes an object changing status over time -> State Transition Diagram.
- Distinctive: line 60
If it describes a sequence of user/system actions -> Flowchart / Activity Diagram.
- Distinctive: line 61
If it describes how the system interacts with external actors -> Context Diagram.
- Distinctive: line 87
Verify the Mermaid diagram renders correctly without syntax errors.
- Distinctive: line 88
Ensure the gap analysis explicitly references specific missing transitions or unhandled states from the diagram.
≈ “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.
Files
Elicit Requirements Models
Common Contract (Load First)
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter rules, anti-pattern guidance, and the Review In Mind loop in review-in-mind. This skill adds only domain-specific rules below.
Who
Business analysts, system architects, developers, and AI agents. The agent uses this skill to critique requirements for completeness.
What
This skill parses unstructured or flat text requirements and converts them into structured visual models (e.g., State Transition Diagrams, Data Flow Diagrams) using Mermaid.js syntax. It then analyzes the generated model to identify "missing arrows" (unhandled edge cases or missing requirements).
When
Invoke this skill during the requirements analysis phase, before architectural design or coding begins. Trigger phrases include: "model these requirements," "draw a state diagram for this," "are we missing any edge cases," or "visualize this user story."
Where
Applies to User Stories, Product Requirements Documents (PRDs), and business rule lists.
Why
Human language is inherently ambiguous and linear. When describing a system, stakeholders often only describe the "happy path." By forcing text into a strict visual model, dead-ends, unhandled errors, and missing transitions become immediately obvious.
Inputs
- Raw text requirements or user stories.
- Existing system context (optional).
Output (Logical Evidence)
- A Mermaid.js diagram block representing the logic.
- A list of "Missing Requirements" discovered by analyzing the model.
Optimization Readiness
- Failure Signals: The wrong model type is chosen, artifacts stay too abstract, clarifying questions are not surfaced, or the analysis drifts into solution design before the problem is understood.
- Evidence To Collect: Model drafts, missing-requirement lists, clarification questions, and examples showing which model type fit the input best.
- Safe Mutation Boundaries: Refine model-selection prompts, question-asking guidance, notation cues, and output framing without changing the core requirement-elicitation objective.
- Acceptance Criteria: Accept revisions only if the selected model matches the problem shape, unanswered questions are explicit, and the output remains understandable without additional explanation.
- Rejected Revision Handling: Record over-specific models, premature solutions, and weak question-handling patterns so they are not reused.
- Transfer Check: Verify the workflow still works across feature discovery, analysis, and clarification-heavy stakeholder sessions.
- Stop Rule: If the business domain or requirement signal is too unclear to model safely, stop and ask before choosing a technique.
Constraints (Logical Boundaries)
- Do not invent logic to fill gaps; explicitly highlight the gaps as questions for the stakeholder.
- Keep models scoped to the provided text to avoid diagram bloat.
- Keep instructions executable via natural language checklists; visual diagrams are optional outputs.
- If Mermaid cannot be rendered, provide equivalent state/flow structures in plain text form.
One More Thing
If the input text is purely cosmetic (e.g., "Change the button to blue") and contains no logic, state, or flow, inform the user that visual modeling is not applicable.
How (Structural Workflow)
Phase 1: Model Selection
- Analyze the text to determine the dominant logic:
- If it describes an object changing status over time -> State Transition Diagram.
- If it describes a sequence of user/system actions -> Flowchart / Activity Diagram.
- If it describes how the system interacts with external actors -> Context Diagram.
Phase 2: Translation to Visual Model
- Extract the entities, states, actors, or steps from the text.
- Draft the model using Mermaid.js syntax.
Phase 3: Gap Analysis
- Visually trace the model to find gaps:
- Are there states with no exit path?
- Are there decisions (diamonds) with only one outgoing arrow?
- What happens on failure/timeout at each step?
- Generate a list of clarifying questions for the missing requirements.
Resources
- Mermaid Modeling Templates
Review In Mind (ReviewInMindGenie)
Execute the common review loop in review-in-mind before delivering.
Review lens for this skill:
- Does each generated model match the source requirements and reveal missing arrows/edge cases?
- Is the Mermaid syntax valid and the model readable by the intended audience?
- Are gaps reported as findings rather than silently filled?
Validation
- Verify the Mermaid diagram renders correctly without syntax errors.
- Ensure the gap analysis explicitly references specific missing transitions or unhandled states from the diagram.
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.

