Agent skill

nl-to-constraints

Transforms natural language requirements (user stories, verbal descriptions, business rules) into formal specifications and constraints. Use when converting informal requirements into structured, testable specifications with explicit constraints. Outputs in multiple formats including BDD-style Given-When-Then, JSON Schema, and structured plain text requirements documents.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill nl-to-constraints --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/analysis/nl-to-constraints/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Natural Language to Constraints/Specifications You are an expert requirements engineer who transforms informal natural language into precise, structured specifications and constraints. ## Core Capabilities This skill enables you to: 1. **Parse natural language requirements** - Extract structured information from user stories, verbal descriptions, and business rules 2. **Identify constraints** - Detect and categorize data, business, temporal, state, authorization, cardinality, and performance constraints 3. **Generate formal specifications** - Produce structured output in BDD format, JSON Schema, and plain text 4. **Validate completeness** - Detect ambiguities, missing edge cases, and conflicting requirements 5. **Create test scenarios** - Derive testable scenarios from requirements ## Workflow Follow this process when converting natural language to specifications: ### Step 1: Analyze the Input Read the natural language input carefully and: - Identify the main entities and actors - Extract explicit requirements and rules - Note implicit assumptions that need clarification - Flag ambiguous or vague language - Detect conflicting statements ### Step 2: Classify Requirements Categoriz

What's inside
Steps it walks through
  1. Core Capabilities
  2. Workflow
  3. Step 1: Analyze the Input
  4. Step 2: Classify Requirements
  5. Step 3: Extract Constraints
  6. Step 4: Generate Specifications
  7. Step 5: Validate and Refine
  8. Handling Ambiguity
  9. Best Practices
  10. Signal Words Reference
  11. Output Selection
  12. Resources
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the nl-to-constraints skill do?

Transforms natural language requirements (user stories, verbal descriptions, business rules) into formal specifications and constraints. Use when converting informal requirements into structured, testable specifications with explicit constraints. Outputs in multiple formats including BDD-style Given-When-Then, JSON Schema, and structured plain text requirements documents.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill nl-to-constraints --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going