Requirements Engineering 标志

Requirements Engineering

社区
zeeshanhanif
requirements-engineering

Runs the requirements-engineering phase — the first SDLC step, upstream of design. Through a thorough, area-by-area interview it elicits and specifies the complete requirements for a new application, proactively enumerating the standard sub-requirements for each capability area (for authentication: sign-up, sign-in, verification, password reset, logout) plus all non-functional requirements. Produces a structured SRS (ISO/IEC/IEEE 29148 lineage) with functional requirements in EARS syntax or classic "shall" statements, in markdown, a separate use-case document, and a requirements traceability matrix. Also amends a finalized SRS — adding, updating, or removing requirements with stable IDs. Use at the start of a project before architecture and UX, or when changing existing requirements. Trigger on "gather requirements", "write an SRS", "requirements engineering", "specify the requirements", "add a requirement", or "update the requirements". Saves progress incrementally so long sessions can resume.

概览

发布者zeeshanhanif
代码仓库agentic-sdlc-kit
技能名称requirements-engineering
星标数
32
复刻数
3
附带文件
8
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 8 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeeshanhanif/agentic-sdlc-kit.git /tmp/agentic-sdlc-kit
mkdir -p .claude/skills
cp -r /tmp/agentic-sdlc-kit/skills/requirements-engineering .claude/skills/requirements-engineering
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Requirements Engineering

This skill produces the traditional, structured requirements specification that sits at the very front of the SDLC — upstream of architecture and UX. It is deliberately a detail phase: its job is to capture every requirement comprehensively, so that the documents it produces become the single source of truth the design and planning skills downstream consume.

Two principles define it:

  1. Exhaustive enumeration, not transcription. When a capability area comes up, the skill does not merely record what the user mentions. It proactively proposes the full set of standard sub-requirements for that area and has the user confirm, extend, or remove them. "User authentication" is never one line — it expands into sign-up, sign-in, email verification, forgot password, reset password, change password, logout, session expiry, account lockout, rate limiting, and so on. The requirement-catalog.md reference is the engine for this. The same discipline applies to non-functional requirements.

  2. Structured and traditional. The output is a formal SRS in the ISO/IEC/IEEE 29148 (IEEE 830) lineage — numbered, uniquely-identified, testable requirements — not an agile backlog. Whatever the SRS calls a unit (function / feature) is fine; epic and feature slicing is deliberately deferred to the downstream implementation-planning skill. This skill owns the problem space, comprehensively.

Because a full requirements interview is long, the skill checkpoints its work incrementally and can resume after an interruption — see Phase 0 and references/checkpointing.md.

Inputs

This is the first skill in the pipeline, so it has no upstream document to consume — it elicits from the user. If the user has an existing brief, notes, or partial requirements, ingest them first and treat them as raw input to confirm and expand, not as finished requirements.

Outputs

Three files (three logical documents), all markdown, written to docs/.

  1. docs/srs.md — the comprehensive SRS (the source of truth downstream skills read). Vision & scope, user characteristics, constraints, assumptions, glossary, functional requirements, and non-functional requirements all live here as structured sections.
  2. docs/use-cases.md — detailed textual use-case specifications plus a Mermaid use-case diagram (separate document, use-case-centric; no user stories).
  3. docs/rtm.md — the Requirements Traceability Matrix (markdown table).

Word/PDF output is out of scope — markdown is the deliverable. Users who want a Word version can convert it themselves (e.g., with pandoc); this skill does not own that.

Plus working files that are not deliverables: docs/.requirements-progress.md (the progress tracker), and the incrementally-built srs.md / use-cases.md drafts themselves (which become deliverables 1 and 2 once finalized).

Workflow

Phase 0 — Mode detection (always first)

Before anything else, look for docs/.requirements-progress.md and docs/srs.md and read references/checkpointing.md. Determine which of three modes applies by combining what's on disk with the user's intent:

  • Fresh start — no SRS and no tracker. Create the progress tracker and the SRS skeleton, then begin Phase 1.
  • Resume — a tracker exists with pending/in-progress areas (the interview was interrupted). Read both files, summarize what's captured and what remains, and continue from the first pending area.
  • Amendment — a finalized SRS exists (tracker shows no pending work, or is marked finalized) and the user wants to change requirements. Switch to amendment handling (Phase A) instead of resuming or restarting.

Detection is automatic — the user passes no special flag. The finalized SRS on disk is the precondition; the user's plain-language intent disambiguates ("add a requirement", "update FR-AUTH-007", "remove…" → amendment; "spec a new project" → fresh; "what does the SRS say…" → just answer). Two firm rules:

  • Resume beats amend. If the interview is unfinished and the user asks to add something new, finish the pending areas first, then handle the new request — amending a half-specified SRS invites inconsistency.
  • When an SRS exists and intent is ambiguous, confirm before acting — never silently restart. A bare invocation against a finalized SRS gets a short question ("There's a finalized SRS here — v1.2, 47 functional / 19 non-functional. Amend it, ask about it, or start a new one?"), not a guess. The expensive failure is wiping or duplicating a finalized SRS; one cheap question prevents it.

Phase 1 — Frame and scope

Establish the foundation: the product's purpose and vision, business goals and success metrics, the primary stakeholders, the user classes/personas, and the overall scope (what's in, what's out, MVP boundary). Write these into the SRS's introduction and overall-description sections immediately, and mark the area done in the tracker. This section also seeds the user-characteristics content that ux-foundations will later consume.

Close Phase 1 with the requirement-syntax decision. Ask the user whether functional requirements should be written in EARS (five constrained patterns — see references/ears-guide.md) or as free-form "shall" statements, and recommend based on what Phase 1 revealed: EARS when the SRS feeds automated/agent pipelines or a regulated domain, or when error-handling completeness matters (usually the right call); free-form when the team must author amendments by hand and won't learn the patterns. Default to EARS if the user has no preference. Record the choice in the SRS header line (Requirement syntax: EARS | shall) and the tracker header. Asked once, before the first FR is minted, never re-asked — resume sessions read it from the tracker or SRS, and amendments follow whatever the SRS records.

Phase 2 — Functional requirements, area by area (the detail loop)

This is the core. Read references/elicitation-guide.md, references/requirement-catalog.md, and references/ears-guide.md. Work through the application one capability area at a time. For each area:

  • Propose the standard sub-requirements from the catalog as a checklist, in plain language, and ask the user to confirm / extend / remove.
  • Specify each confirmed requirement formally: a unique ID (e.g., FR-AUTH-001), a clear testable statement in the recorded syntax (EARS per the ears-guide, or free-form "shall" if that was chosen in Phase 1), priority, and any rules/validation.
  • Write the finalized area straight into docs/srs.md, then update the progress tracker before moving to the next area.

Cover every area the application needs — not just the obvious ones. The catalog lists commonly-forgotten areas (audit logging, account deletion, rate limiting, admin/back-office) to prompt with.

Phase 3 — Non-functional requirements

Read the NFR section of references/requirement-catalog.md (organized on the ISO 25010 quality model). Walk each relevant category — performance, scalability, availability/reliability, security, usability/accessibility, compatibility, maintainability, compliance/legal, localization, observability — and specify measurable NFRs with unique IDs (e.g., NFR-PERF-001). Vague NFRs are not acceptable; "fast" becomes a number. Write into the SRS and checkpoint.

Phase 4 — External interface requirements

Capture the external interfaces the SRS lineage expects: user interfaces (at the requirements level), hardware, software/third-party integrations, and communication interfaces. Write into the SRS and checkpoint.

Phase 5 — Use cases

Read references/use-case-guide.md. Derive use cases from the functional requirements. For each use case, write a detailed textual specification (ID, name, actors, preconditions, postconditions, main success scenario, alternate flows, exception flows, and the FRs it traces to) into docs/use-cases.md, and add the Mermaid use-case diagram(s) grouping actors and use cases by the system boundary. Checkpoint as you complete each use case.

Phase 6 — Traceability matrix

Read references/rtm-guide.md and build docs/rtm.md: a table linking every requirement ID to its source and to the use case(s) that exercise it, with placeholder columns for the downstream design and test artifacts. Because every requirement was given a stable ID during specification, this is largely assembly.

Phase 7 — Deliver

Confirm all three files exist. Summarize the requirement counts (e.g., "47 functional across 8 areas, 19 non-functional, 12 use cases") and any open questions or TBDs flagged during elicitation. Note that docs/srs.md is the source of truth the architecture, UX, and planning skills will consume. Mark the SRS finalized in the progress tracker (this is what later distinguishes amendment mode from resume). Offer to proceed to software-architecture.

Phase A — Amending a finalized SRS

Entered from Phase 0 when a finalized SRS exists and the user wants to change requirements. Read references/change-management.md for the full protocol. The cardinal rule: requirement IDs are immutable and never recycled — everything downstream references them. In brief:

  1. Classify each change as add, modify, or remove, and apply its rule:
    • Add → assign the next free ID in that area (never reuse a retired number), specify it with the same enumeration discipline, append it.
    • Modify → keep the same ID, change the statement.
    • Remove → do not delete or renumber; mark the requirement Deprecated/Removed and keep the row so traceability and dangling references stay visible.
  2. Version and log. Bump the SRS version and add a revision-history entry recording what changed, when, and which IDs were affected.
  3. Propagate. Update the use case(s) that trace to the changed ID and update the RTM row(s) so all three markdown files stay consistent. The RTM is the index for what a change touches.
  4. Emit a cross-skill impact note. When a finalized requirement that downstream docs were built on is modified or removed, you can't edit those docs, but you must not stay silent: report which downstream documents referenced the affected IDs (architecture, ux-foundations, implementation-plan) so the user knows what to review or re-run.

Amendment reuses the same catalog, templates, and checkpointing as authoring — each amendment is itself written to disk and logged before moving on.

Scope boundaries

It deliberately does not:

  • slice requirements into epics/vertical features — that's implementation-planning;
  • make architectural or UX design decisions — those are the design-phase skills (which will read this SRS rather than re-eliciting NFRs and personas);
  • write user stories — this is use-case-centric by design.

What good looks like

  • Every capability area is enumerated to its standard sub-requirements, not just what the user first mentioned.
  • Every requirement has a unique, stable ID and is individually testable.
  • Statements follow the syntax recorded in the SRS header; in EARS mode, trigger-less (ubiquitous) statements are the exception, not the default.
  • NFRs are measurable, never vague.
  • Work is checkpointed so a stop or network drop never loses captured areas.
  • The three outputs are internally consistent and cross-referenced via the RTM.

附带文件

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

常见问题

Requirements Engineering AI 技能有什么作用?

Runs the requirements-engineering phase — the first SDLC step, upstream of design. Through a thorough, area-by-area interview it elicits and specifies the complete requirements for a new application, proactively enumerating the standard sub-requirements for each capability area (for authentication: sign-up, sign-in, verification, password reset, logout) plus all non-functional requirements. Produces a structured SRS (ISO/IEC/IEEE 29148 lineage) with functional requirements in EARS syntax or classic "shall" statements, in markdown, a separate use-case document, and a requirements traceabilit...

为什么在 TypingMind 中使用 Requirements Engineering?

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

如何在 TypingMind 中安装 Requirements Engineering?

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

哪些 AI 模型可以使用 Requirements Engineering?

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

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

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

Requirements Engineering AI 技能免费吗?

是的。zeeshanhanif 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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