Skip to content
Skill

Requirements engineering

Turns vague feature requests into testable specs before any code is written

Requirements engineering is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Requirements engineering

This skill guides an agent through pinning down a loosely defined feature or ticket before implementation starts. It works through clarifying questions, then produces the specification artifacts a feature needs, such as behavior-driven narratives with Given/When/Then acceptance criteria, use cases with data, primary, error and cancel courses, model tables, request and response payload contracts, flowcharts and module dependency diagrams.

The skill is written for specification work only. It defines what a system must do and which contracts it must honor, and it explicitly hands implementation questions such as architecture layers, concurrency and view code to a separate iOS architecture skill. It also stresses that artifacts should match the feature's real behavior, so an online-only feature does not get offline scenarios it does not need.

It is built around Swift and iOS examples, and the reference files cover clarification, narratives, use cases, model specs, diagrams, domain language and a worked example. Nothing in the content indicates scripts or external tools are required.

When your agent uses it

Use this skill to turn vague, ambiguous, or "lousy" requirements into precise, testable specifications BEFORE any code is written -- even when the user never says "BDD", "use case", or "acceptance criteria". Trigger when someone has a half-baked feature idea, an under-specified ticket, or a business brief that's "open to interpretation" and needs it pinned down: clarifying questions, As-a/I-want/So-that narratives, Given/When/Then acceptance criteria, use cases (data inputs, happy path, error and cancel courses), model-spec tables, request/response payload contracts, flowcharts, and module-dependency diagrams. This is the SPECIFICATION altitude -- WHAT to build and the contracts to honor. Hand off the implementation to the iOS architecture skill (composition root, layers, packages, concurrency), SwiftUI view code, and Swift Testing syntax -- do NOT use this skill to write or refactor that code, only to define what it must satisfy.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 9 files (90 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the requirements-engineering plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add SwiftyJourney/requirements-engineering-skill
/plugin install requirements-engineering@requirements-engineering-skill

Or copy only this skill to ~/.claude/skills/requirements-engineering:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SwiftyJourney/requirements-engineering-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/requirements-engineering &&
cp -R "$tmp/skills/requirements-engineering" ~/.claude/skills/requirements-engineering &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/requirements-engineering inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/requirements-engineering to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SwiftyJourney/requirements-engineering-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/requirements-engineering &&
cp -R "$tmp/skills/requirements-engineering" ~/.agents/skills/requirements-engineering &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/requirements-engineering inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/requirements-engineering to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SwiftyJourney/requirements-engineering-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/requirements-engineering &&
cp -R "$tmp/skills/requirements-engineering" ~/.cursor/skills/requirements-engineering &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/requirements-engineering inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/SwiftyJourney/requirements-engineering-skill.git --path skills/requirements-engineering

Or copy the folder to ~/.gemini/skills/requirements-engineering yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/requirements-engineering:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SwiftyJourney/requirements-engineering-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/requirements-engineering &&
cp -R "$tmp/skills/requirements-engineering" ~/.copilot/skills/requirements-engineering &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/requirements-engineering inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/SwiftyJourney/requirements-engineering-skill.git

Then copy requirements-engineering-skill/skills/requirements-engineering into your agent's skills folder as requirements-engineering. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Clarifying question bank
Structured questions about users, scenarios, offline behavior and errors that remove assumptions from a brief.
Behavior-driven narratives
Writes user-type narratives and Given/When/Then acceptance criteria tied to concrete preconditions.
Use case structure
Lays out data inputs, primary course, error courses and cancel courses for each operation.
Model and payload contracts
Produces property and type tables and HTTP payload contracts with status codes and example JSON.
Flowcharts and dependency diagrams
Describes decision flows with error branches and module dependency graphs with a notation legend.
Domain language alignment
Keeps terminology consistent across all artifacts so the feature uses the experts' own words.

Good for

  • Turn a half-baked feature idea into a testable specification before coding starts
  • Write acceptance criteria in Given/When/Then form for an under-specified ticket
  • Define use cases with inputs and error paths for a networked feature
  • Document the request and response contract between an app and its backend
  • Review an existing feature spec for missing error or cancel behavior

Requirements engineering FAQ

When does Requirements engineering trigger?

It triggers when someone has a vague feature idea, an under-specified ticket or a brief that is open to interpretation and needs it pinned down before code is written.

Does Requirements engineering write the implementation code?

No. The skill is limited to defining what to build and the contracts to honor. Implementation, view code and test syntax are handed off to other skills.

Which artifacts does Requirements engineering produce?

Depending on the feature, it can produce BDD narratives, acceptance criteria, use cases, model specs, payload contracts, flowcharts and an architecture diagram. It omits artifacts that do not apply.

How do I install Requirements engineering in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/requirements-engineering to use it in all your projects, or to .claude/skills/requirements-engineering in one project. Or install the requirements-engineering plugin, which includes it: /plugin marketplace add SwiftyJourney/requirements-engineering-skill, then /plugin install requirements-engineering@requirements-engineering-skill.

Does Requirements engineering run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Requirements engineering?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Requirements engineering?

The closest alternatives to Requirements engineering are Spec driven development, Requirements to spec, Spec driven development, Spec coding and Writing specs.

Where this comes from

  • Description: from the skill's own SKILL.md.