Agile Requirements Process 标志

Agile Requirements Process

社区
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.

概览

发布者jdm4pku
代码仓库RE-Skills
技能名称agile-requirements-process
星标数
27
复刻数
1
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jdm4pku 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Agile Requirements Process AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Agile Requirements Process,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Agile Requirements Process。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Agile Requirements Process 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Agile Requirements Process AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Agile Requirements Process?

因为您只需安装一次,就能搭配任何模型使用。Agile Requirements Process 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Agile Requirements Process?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Agile Requirements Process?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Agile Requirements Process 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Agile Requirements Process 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Agile Requirements Process AI 技能免费吗?

jdm4pku 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇