Logo Agile Requirements Process

Agile Requirements Process

Cộng đồng
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.

Tổng quan

Nhà phát hànhjdm4pku
Kho mãRE-Skills
Tên kỹ năngagile-requirements-process
Sao
27
Bản fork
1
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jdm4pku công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Agile Requirements Process trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Agile Requirements Process trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Agile Requirements Process ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Agile Requirements Process với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Agile Requirements Process làm được gì?

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.

Vì sao nên dùng Agile Requirements Process trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Agile Requirements Process là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Agile Requirements Process trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jdm4pku/RE-Skills/tree/main/skills/agile-requirements-process. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Agile Requirements Process?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Agile Requirements Process với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Agile Requirements Process với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Agile Requirements Process có miễn phí không?

Kỹ năng này được jdm4pku phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇