Agile Requirements Process logo

Agile Requirements Process

Community
jdm4pku
agile-requirements-process

Orchestrate requirements engineering for agile projects using just-in-time elaboration and continuous validation. Use when adopting agile and need to adapt RE practices without losing rigor.

Overview

Publisherjdm4pku
RepositoryRE-Skills
Skill nameagile-requirements-process
Stars
27
Forks
1
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jdm4pku on GitHub. Read the source before you install it.

Installation

Install the Agile Requirements Process AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jdm4pku/RE-Skills.git /tmp/RE-Skills
mkdir -p .claude/skills
cp -r /tmp/RE-Skills/skills/agile-requirements-process .claude/skills/agile-requirements-process
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agile Requirements Process in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Agile Requirements Process on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Agile Requirements Process is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Purpose

Orchestrate requirements engineering within agile projects, balancing up-front understanding with just-in-time elaboration. This workflow adapts the four RE subdisciplines (Elicitation, Analysis, Specification, Validation) for iterative delivery.

The Requirements Engineering Iceberg

In agile projects, visible RE artifacts (user stories on the board) represent only the tip of the iceberg. Below the surface lies the bulk of the work:

         /  User Stories  \          <-- Visible (10%)
        /   on the Board   \
  -----/--------------------\-----   <-- Waterline
      /  Story conversations  \
     /  Acceptance criteria    \
    /  Domain modeling          \    <-- Invisible (90%)
   /  Stakeholder negotiations   \
  /  Business rule discovery      \
 /  Quality attribute analysis     \
/  Vision, scope, persona work      \

Agile does not eliminate requirements engineering. It distributes it across the project lifecycle and makes much of it conversational rather than documentary. The rigor remains; the ceremony changes.

Key Concepts

What Changes in Agile RE, What Stays the Same

AspectTraditional REAgile RE
Vision and ScopeFormal document, signed offLighter document, living artifact
ElicitationScheduled sessions, formal notesContinuous conversation, story discussions
Analysis ModelsComprehensive up frontJust-in-time, per feature
SpecificationSRS documentUser stories + acceptance criteria
ValidationFormal inspection before baselineSprint reviews + continuous feedback
Change ControlCCB, change requestsProduct backlog reprioritization
BaselineFormal freeze pointSprint commitment (2-week horizon)
DocumentationComprehensiveMinimal that adds value

What stays the same: The need to understand the problem before building the solution, the importance of testable requirements, stakeholder involvement, and traceability from business goals to delivered features.

The Product Owner as Requirements Authority

In agile, the Product Owner (PO) is the single point of authority for requirements decisions:

  • Owns the product backlog (the living requirements repository)
  • Prioritizes stories based on business value
  • Accepts or rejects delivered increments
  • Resolves requirement conflicts between stakeholders
  • Is continuously available to the development team for clarification

The PO does not work alone. A BA or requirements engineer supports the PO with elicitation, analysis, and story writing -- especially in complex domains.

INVEST Criteria for User Stories

Every user story should satisfy INVEST:

CriterionQuestionRed Flag
IndependentCan it be developed without depending on another story?"This story needs story X to be done first"
NegotiableIs the solution open to discussion?Story specifies UI layout or database schema
ValuableDoes it deliver value to the user or business?"Refactor the data layer" (technical task, not a story)
EstimableCan the team estimate it?"Build the reporting module" (too vague)
SmallCan it be completed in one sprint?Estimated at 20+ story points
TestableCan you write acceptance criteria?"The system should be user-friendly"

Why This Works

  • Responsive: Requirements evolve with each sprint based on real feedback, not predictions
  • Efficient: Detailed elaboration happens only for stories about to be built, reducing waste from changed requirements
  • Collaborative: Continuous PO involvement replaces formal sign-off gates with ongoing alignment
  • Balanced: Sufficient up-front work (vision, personas, story map) prevents chaos, while just-in-time detail prevents premature specification

Anti-Patterns

  • No Up-Front Work -- Sprint 1 starts with a blank backlog and a vague idea. The team thrashes because there is no vision, no personas, no story map.
  • Full SRS Before Sprint 1 -- The BA writes a 200-page SRS and then asks the team to "do agile." This is waterfall with standups.
  • User Stories Without Conversations -- Stories are written by the PO in isolation and thrown over the wall. The "Card, Conversation, Confirmation" principle is violated.
  • No Acceptance Criteria -- Stories say "As a user, I want to manage chemicals" with no criteria. Developers guess, QA cannot test, PO rejects at sprint review.
  • Absent Product Owner -- The PO writes stories at the start and disappears. Developers cannot get clarifications. Just-in-time elaboration fails because there is no one to elaborate with.

Application

Phase 1: Initial Vision (3-5 days)

Goal: Establish enough shared understanding to seed the backlog and start sprint planning. This is lighter than traditional Phase 1 but not optional.

Activity 1.1: Create Product Vision

  • Participants: Product Owner, key stakeholders, BA
  • Duration: 0.5-1 day
  • Technique: skills/vision-and-scope/SKILL.md (light version)
  • Define: product purpose, target users, key value proposition, high-level scope boundaries
  • Format: Vision board or one-page vision statement (not a 20-page document)
  • Output: Product vision statement

Activity 1.2: Define Personas

  • Participants: PO, BA, UX (if available)
  • Duration: 0.5-1 day
  • Create 3-5 personas representing the primary user types
  • Each persona: name, role, goals, frustrations, typical usage context
  • Personas guide story writing and prioritization throughout the project
  • Output: Persona cards

Activity 1.3: Identify Epics and Themes

  • Participants: PO, BA, technical lead
  • Duration: 0.5-1 day
  • Decompose the product vision into 5-15 epics (large capability areas)
  • Group epics into themes (related capability clusters)
  • Output: Epic list with brief descriptions

Activity 1.4: Initial Scope and Release Planning

  • Participants: PO, BA, technical lead, stakeholders
  • Duration: 1-2 days
  • Rough-cut scope for Release 1 vs. later releases
  • Technique: skills/prioritization-advisor-re/SKILL.md for MoSCoW or value-based ranking
  • Output: Release-level scope commitment

Decision Point: Can the team start writing stories?

  • Product vision articulated and shared
  • Personas defined for primary user types
  • Epics identified and roughly prioritized
  • Release 1 scope boundaries agreed
  • If YES: proceed to Phase 2. If NO: spend another day on vision alignment.

Phase 2: Backlog Seeding (3-5 days)

Goal: Create an initial product backlog with enough stories to sustain the first 2-3 sprints, plus a story map for the broader product.

Activity 2.1: Create Story Map

  • Participants: PO, BA, development team, stakeholders
  • Duration: 1-2 days (workshop format)
  • Map user activities (top row) -> user tasks (second row) -> user stories (detail rows)
  • Arrange stories by priority (top = must-have, bottom = nice-to-have)
  • Draw release lines across the map to show scope boundaries
  • Output: Story map (physical or digital)

Activity 2.2: Write Initial User Stories

  • Participants: PO, BA
  • Duration: 1-2 days
  • Technique: skills/user-story-re/SKILL.md
  • Write stories for the first 2-3 sprints at full detail (with acceptance criteria)
  • Write stories for sprints 4-6 at medium detail (story statement, rough criteria)
  • Write stories for later sprints as placeholders (epic-level, no criteria yet)
  • Output: Prioritized product backlog

Activity 2.3: Write Acceptance Criteria for Top Stories

  • Participants: PO, BA, QA representative
  • Duration: 1-2 days
  • Technique: skills/acceptance-criteria/SKILL.md
  • Given/When/Then format for the top 15-20 stories
  • Include happy path, error cases, and edge cases
  • Output: Stories with testable acceptance criteria

Activity 2.4: Identify Technical Enablers

  • Participants: Technical Lead, BA
  • Duration: 0.5 day
  • Identify infrastructure, architecture, or integration stories needed early
  • These are not user stories but technical work that enables user stories
  • Mark them distinctly in the backlog (spike, enabler, or technical story)
  • Output: Technical backlog items prioritized alongside user stories

Decision Point: Is the backlog ready for Sprint 1?

  • Story map provides a big-picture view of the product
  • Top 15-20 stories have acceptance criteria
  • Enough stories for 2-3 sprints are ready
  • Technical enablers identified for early sprints
  • If YES: proceed to Phase 3. If NO: write more stories for the immediate horizon.

Phase 3: Iteration Planning (2-4 hours per sprint)

Goal: Select and elaborate stories for the upcoming sprint.

Activity 3.1: Backlog Refinement (Grooming)

  • Participants: PO, BA, development team
  • Duration: 1-2 hours (mid-sprint, for the next sprint)
  • Review upcoming stories: clarify intent, split if too large, estimate effort
  • Apply INVEST criteria to each candidate story
  • Ensure acceptance criteria are complete and testable
  • Output: Refined stories ready for sprint planning

Activity 3.2: Sprint Planning -- Story Selection

  • Participants: PO, development team, Scrum Master
  • Duration: 1-2 hours
  • PO presents top-priority stories with context and acceptance criteria
  • Team discusses feasibility and estimates
  • Team commits to a sprint scope based on velocity
  • Output: Sprint backlog

Activity 3.3: Sprint-Level Elaboration

  • Participants: PO, developers (during sprint)
  • Duration: Ongoing conversations throughout the sprint
  • Developers ask clarifying questions as they implement
  • PO provides just-in-time details (UI sketches, business rule clarifications, edge cases)
  • BA supports with analysis models when complexity requires it
  • Output: Elaborated stories (conversations documented in story comments)

Decision Point: Can the team start implementing?

  • Sprint stories have clear acceptance criteria
  • Team understands the intent behind each story
  • Dependencies between stories identified
  • PO available for clarification during the sprint
  • If YES: development begins. If NO: resolve ambiguities before committing.

Phase 4: Just-in-Time Elaboration (Continuous)

Goal: Elaborate requirements in detail only when they are about to be built, avoiding premature specification.

Activity 4.1: Lookahead Elaboration

  • Participants: PO, BA
  • Duration: 2-4 hours per sprint (ongoing)
  • Elaborate stories for the next 1-2 sprints in detail
  • Use analysis techniques as needed:
    • Complex workflows: process modeling or dialog maps
    • Data-heavy features: data modeling
    • Multi-condition logic: decision tables
    • Quality concerns: quality attribute specification
  • Output: Elaborated stories with necessary analysis artifacts

Activity 4.2: INVEST Validation

  • Participants: BA (screening), team (in refinement)
  • Duration: 15-30 minutes per story
  • Before a story enters sprint planning, verify it passes INVEST:
    • Independent: no blocking dependencies
    • Negotiable: solution approach is open
    • Valuable: delivers user or business value
    • Estimable: team can size it
    • Small: fits in one sprint
    • Testable: acceptance criteria exist
  • Stories that fail INVEST criteria are split, rewritten, or deferred
  • Output: INVEST-validated stories

Activity 4.3: Manage Emerging Requirements

  • Participants: PO, BA
  • Duration: Ongoing
  • New requirements discovered during development go to the product backlog
  • PO prioritizes them against existing stories
  • No formal change control board -- the PO has authority to reprioritize
  • Large scope changes (epic-level) may need stakeholder consultation
  • Output: Updated, reprioritized product backlog

Activity 4.4: Support with Minimal Documentation

  • Participants: BA
  • Duration: As needed
  • Document only what adds value beyond the story card:
    • Complex business rules: decision table (persistent reference)
    • Data structures: lightweight data model (developer reference)
    • Integration details: interface specification (API contracts)
    • Regulatory requirements: formal requirement statements (compliance evidence)
  • Discard: meeting notes, intermediate analysis sketches, superseded wireframes
  • Output: Lean documentation set

Phase 5: Continuous Validation (Every Sprint)

Goal: Validate requirements through sprint reviews, retrospectives, and continuous stakeholder feedback.

Activity 5.1: Sprint Review as Validation

  • Participants: PO, stakeholders, development team
  • Duration: 1-2 hours per sprint
  • Technique: skills/requirements-validation-process/SKILL.md (lightweight)
  • Demonstrate working software to stakeholders
  • Stakeholders provide feedback: "This is what I wanted" or "This is not quite right"
  • Feedback becomes new stories or modifications to upcoming stories
  • This is the primary validation mechanism in agile -- real software, real users, real feedback
  • Output: Validated increment, feedback backlog items

Activity 5.2: Acceptance Testing

  • Participants: QA, PO
  • Duration: Ongoing within sprint
  • Test each story against its acceptance criteria
  • PO accepts or rejects the story based on criteria
  • Rejected stories return to the backlog for the next sprint
  • Output: Accepted or rejected stories

Activity 5.3: Retrospective for Process Improvement

  • Participants: Scrum Master, development team, PO
  • Duration: 1 hour per sprint
  • Review the requirements process: Are stories clear enough? Is elaboration timely? Is the PO available?
  • Identify improvements: better acceptance criteria templates, earlier refinement, more (or less) documentation
  • Output: Process improvement actions

Activity 5.4: Release Validation

  • Participants: PO, stakeholders, BA, QA
  • Duration: 1-3 days (before major release)
  • Broader validation beyond individual sprints:
    • End-to-end workflow testing across features
    • Stakeholder acceptance of the cumulative increment
    • Verify original business objectives are being met
    • Check for emergent quality attribute concerns (performance under real data volumes)
  • Output: Release readiness assessment

Examples

See examples/sample.md for a complete agile requirements process example.

Common Pitfalls

Pitfall 1: Zero Up-Front Requirements Work

Symptom: The team starts sprint 1 with no vision, no personas, no story map. The backlog is a flat list of vague ideas.

Consequence: The first 2-3 sprints are wasted on alignment and rework. The team builds features that do not fit together.

Fix: Invest 1-2 weeks in Phase 1 and Phase 2 before the first sprint. This is not waterfall -- it is responsible preparation.


Pitfall 2: Stories Without Acceptance Criteria

Symptom: Stories say what the user wants but not how to verify it. "As a lab technician, I want to manage chemicals."

Consequence: Developers implement their interpretation. QA cannot test. The PO rejects at sprint review. Trust erodes.

Fix: Every story entering a sprint must have acceptance criteria in Given/When/Then format. No criteria, no sprint entry.


Pitfall 3: Absent Product Owner

Symptom: The PO writes stories at the start and is unavailable during sprints. Developers cannot get answers.

Consequence: Just-in-time elaboration fails. Developers guess or wait. Velocity drops.

Fix: The PO must allocate at least 50% of their time to the development team. If the PO is too busy, either reduce scope or assign a PO proxy with real decision authority.


Pitfall 4: Confusing Agile with No Documentation

Symptom: The team produces no documentation at all -- no data dictionary, no business rules, no interface specifications. Everything is in people's heads.

Consequence: Knowledge is lost when team members leave. Onboarding new members takes weeks. Regulatory audits fail.

Fix: Document what adds value: business rules, data dictionaries, API contracts, regulatory-required specifications. Skip what does not: formal meeting minutes, intermediate analysis sketches, comprehensive SRS.


Pitfall 5: No Release-Level Validation

Symptom: Individual stories pass sprint reviews but the product as a whole is never validated end-to-end before release.

Consequence: Features work individually but fail when used together. Business objectives are not fully met.

Fix: Before each major release, conduct a release validation (Phase 5, Activity 5.4) that tests end-to-end workflows and verifies business objectives.

References

Related Skills Orchestrated by This Workflow

  • skills/vision-and-scope/SKILL.md -- Product vision (Phase 1, lighter version)
  • skills/user-story-re/SKILL.md -- Story writing throughout the process
  • skills/acceptance-criteria/SKILL.md -- Acceptance criteria for every story
  • skills/prioritization-advisor-re/SKILL.md -- Backlog prioritization
  • skills/requirements-validation-process/SKILL.md -- Sprint review as validation

Additional Skills Used as Needed

  • skills/decision-table/SKILL.md -- Complex business logic elaboration
  • skills/data-modeling/SKILL.md -- Data-heavy feature elaboration
  • skills/process-modeling/SKILL.md -- Workflow-heavy feature elaboration
  • skills/quality-attribute/SKILL.md -- Nonfunctional requirement specification

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 20: Agile Projects
  • Mike Cohn, User Stories Applied (2004) -- Story writing and story mapping
  • Jeff Patton, User Story Mapping (2014) -- Story mapping technique
  • Kent Beck, Extreme Programming Explained (2000) -- On-site customer and incremental design

Skill type: Workflow Dependencies: None -- can be used independently for agile projects Contrast with: skills/requirements-development-process/SKILL.md (traditional lifecycle)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Agile Requirements Process AI skill do?

Orchestrate requirements engineering for agile projects using just-in-time elaboration and continuous validation. Use when adopting agile and need to adapt RE practices without losing rigor.

Why use Agile Requirements Process on TypingMind?

Because you install it once and use it with any model. Agile Requirements Process is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Agile Requirements Process in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Agile Requirements Process?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Agile Requirements Process?

As many as you like. As long as a model supports skills, you can use Agile Requirements Process with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Agile Requirements Process AI skill free?

It is published on GitHub by jdm4pku. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇