validate-requirements-criteria
Skill4 starsChanged 3 months agoMITView on GitHub
WHEN/WHERE/WHO: [Scheduling: QA engineers, agents, or business analysts reviewing drafted requirements before development.] HOW: [Structural: Use this SKILL to hunt for ambiguous words, identify edge cases, and translate the text into strict BDD Acceptance Criteria.] WHY: [Scheduling: Ambiguous requirements lead to bugs. Fixing requirements defects is cheapest during the analysis phase.]
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
- elicit-requirements-modelsSkill
- 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
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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
- 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 43
Transfer Check: Verify the workflow still works for PRDs, backlog items, and story refinements with missing clarity.
- Distinctive: line 44
Stop Rule: If the input is a technical implementation detail rather than a user requirement, stop and redirect before drafting acceptance …
- Distinctive: line 47
Do not make up thresholds for ambiguous words.
- Very specific: line 48
Ensure every Given / When / Then scenario tests exactly one behavior.
- Distinctive: line 51
If the input text is a technical implementation detail rather than a user requirement (e.g., "Use a Redis cache"), inform the user that …
- Distinctive: line 59
Ask "What if..." for the inputs and environment:
- Distinctive: line 84
Verify that the generated BDD scenarios cover at least one error/exception path.
- Very specific: line 85
Ensure that no ambiguous words from the input survived into the final Then clauses.
≈ “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
Validate Requirements Criteria
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
Quality Assurance (QA) engineers, developers, and AI agents. The agent uses this skill to ensure requirements are ready for implementation.
What
This skill "tests" requirements text. It scans for ambiguity, missing exception paths, and untestable claims. It then formalizes the validated requirement into strict Behavior-Driven Development (BDD) Acceptance Criteria (Given / When / Then).
When
Invoke this skill just before a sprint begins, during story refinement, or when reviewing a PRD draft. Trigger phrases include: "review this requirement," "find ambiguity," "write acceptance criteria," or "test this user story."
Where
Applies to User Stories, PRDs, acceptance criteria fields in JIRA, and BDD feature files.
Why
Words like "fast," "seamless," and "robust" mean different things to different people. If a developer builds a system to be "fast" (500ms) but the stakeholder meant "real-time" (10ms), the product fails. This skill removes that ambiguity.
Inputs
- Drafted requirements, user stories, or PRD text.
Output (Logical Evidence)
- A list of Ambiguity Warnings and clarifying questions.
- Formalized Acceptance Criteria in BDD format.
Optimization Readiness
- Failure Signals: Ambiguous words remain unchallenged, exception paths are omitted, scenarios contain multiple behaviors, or the criteria drift into implementation details.
- Evidence To Collect: Ambiguity warnings, clarifying questions, drafted BDD scenarios, and examples where a vague claim was converted into a testable expectation.
- Safe Mutation Boundaries: Refine ambiguity-check prompts, exception-path analysis, and BDD wording guidance without changing the core requirements-validation workflow.
- Acceptance Criteria: Accept revisions only if every scenario has one behavior, at least one exception path is included when relevant, and untestable words are removed from the final
Thenclauses. - Rejected Revision Handling: Record guessed thresholds, multi-behavior scenarios, and implementation-style phrasing so they are not repeated.
- Transfer Check: Verify the workflow still works for PRDs, backlog items, and story refinements with missing clarity.
- Stop Rule: If the input is a technical implementation detail rather than a user requirement, stop and redirect before drafting acceptance criteria.
Constraints (Logical Boundaries)
- Do not make up thresholds for ambiguous words; flag them so the stakeholder can decide. (e.g., If the text says "timeout quickly," ask "Is 'quickly' 5 seconds or 30 seconds?")
- Ensure every
Given / When / Thenscenario tests exactly one behavior.
One More Thing
If the input text is a technical implementation detail rather than a user requirement (e.g., "Use a Redis cache"), inform the user that this is an architecture decision, not a business requirement.
How (Structural Workflow)
Phase 1: Ambiguity Hunt
- Scan the text against the Ambiguity Checklist. Look for adjectives, adverbs, and unbounded absolutes (e.g., "always," "never").
- Highlight the dangerous words and generate specific clarifying questions.
Phase 2: Exception Path Analysis
- Ask "What if..." for the inputs and environment:
- What if the user is logged out?
- What if the network fails?
- What if the input is negative or empty?
Phase 3: Acceptance Criteria Drafting
- Translate the happy path and the discovered exception paths into BDD syntax:
- Scenario: [Name of behavior]
- Given [Initial context]
- When [Action occurs]
- Then [Observable outcome]
Resources
- Ambiguity Checklist
Review In Mind (ReviewInMindGenie)
Execute the common review loop in review-in-mind before delivering.
Review lens for this skill:
- Does the validation flag ambiguity, missing exception paths, and untestable claims?
- Are the resulting BDD criteria executable and mapped to the original requirement?
- Is every requirement marked valid/invalid with explicit reasoning?
Validation
- Verify that the generated BDD scenarios cover at least one error/exception path.
- Ensure that no ambiguous words from the input survived into the final
Thenclauses.
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.

