Requirements Analysis Processのロゴ

Requirements Analysis Process

コミュニティ
jdm4pku
requirements-analysis-process

Transform raw elicitation outputs into analyzed, modeled, and structured requirements. Use when moving from "what stakeholders said" to "what the system shall do" through visual modeling, data analysis, and requirements decomposition.

概要

公開者jdm4pku
リポジトリRE-Skills
スキル名requirements-analysis-process
スター
27
フォーク
1
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    jdm4pkuがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Requirements Analysis Process」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-analysis-process
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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/requirements-analysis-process .claude/skills/requirements-analysis-process
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRequirements Analysis Processを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRequirements Analysis Processを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Requirements Analysis Processは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Purpose

Transform raw elicitation outputs into structured, analyzed, modeled requirements. This is the bridge between "what stakeholders said" and "what the system shall do."

This is not elicitation (gathering information) or validation (reviewing requirements). It is the analytical work in between -- decomposing, modeling, structuring, and gap-filling.

Key Concepts

The Analysis Process

Raw Elicitation Outputs
    |
    v
[Classify] - Sort into requirement types
    |
    v
[Model] - Create visual analysis models
    |
    v
[Decompose] - Break high-level needs into detailed requirements
    |
    v
[Analyze Data] - Define data elements and relationships
    |
    v
[Resolve Conflicts] - Identify and resolve inconsistencies
    |
    v
[Verify Completeness] - Check for gaps using models and checklists
    |
    v
Structured Requirements (ready for SRS)

Analysis Techniques by Purpose

PurposeTechniqueSkill Reference
System boundaryContext diagramskills/context-diagram/SKILL.md
Process flowDFDs, swimlane diagrams(inline in this workflow)
Object lifecycleState-transition diagramsskills/state-modeling/SKILL.md
Complex logicDecision tablesskills/decision-table/SKILL.md
Data structureERDs, data dictionaryskills/data-dictionary/SKILL.md
CompletenessCRUD matrixskills/data-dictionary/SKILL.md
BehaviorUse casesskills/use-case/SKILL.md
Business rulesRule catalogskills/business-rule/SKILL.md

Application

Phase 1: Classify Elicitation Outputs (30-60 min)

Take your raw elicitation notes and sort each item into categories:

  1. Functional requirements -- What the system must do
  2. Quality attributes -- Performance, security, usability expectations
  3. Business rules -- Policies and constraints that govern behavior
  4. Data requirements -- What data is needed, stored, processed
  5. Constraints -- Technical or business limitations
  6. Assumptions -- Things assumed true but not verified
  7. Open questions -- Ambiguities that need follow-up
  8. Out of scope -- Items explicitly excluded

For each item, note:

  • Source (which stakeholder said this)
  • Confidence level (clear / needs clarification / conflicting)

Phase 2: Create Visual Models (1-2 hours)

Apply analysis models to discover missing requirements:

2.1 Context Diagram (if not done during scoping) Use skills/context-diagram/SKILL.md:

  • Identify all external entities and data flows
  • Each data flow becomes a candidate for interface requirements

2.2 Process Models For each major workflow:

  • Draw a swimlane diagram showing actors and process steps
  • Identify decision points (these become use case alternative flows or decision tables)
  • Identify data stores (these feed the data dictionary)

2.3 State Models Use skills/state-modeling/SKILL.md:

  • For each key domain object (orders, chemicals, requests, etc.)
  • List all states and events
  • Build the state table and fill in every cell
  • Empty cells = missing requirements

2.4 Decision Tables Use skills/decision-table/SKILL.md:

  • For any requirement with multiple interacting conditions
  • Build the table, verify 2^N completeness
  • Each rule becomes a testable requirement

Phase 3: Decompose Requirements (1-2 hours)

Transform high-level needs into detailed, atomic requirements:

3.1 From User Needs to System Behavior

Stakeholder said: "I need to know when chemicals are about to expire."
    |
    v
User Requirement: "Lab technician needs expiration visibility."
    |
    v
Functional Requirements:
  - FR-1: System shall display expiration date in chemical list
  - FR-2: System shall highlight chemicals expiring within 30 days
  - FR-3: System shall send email alert at 30-day mark
  - FR-4: System shall send urgent email at 7-day mark
  - FR-5: System shall prevent expired chemicals from being assigned

3.2 Apply EARS Templates Use the EARS patterns from skills/srs-document/SKILL.md:

  • Ubiquitous: "The system shall [always do this]"
  • Event-driven: "When [trigger], the system shall [response]"
  • State-driven: "While [condition], the system shall [behavior]"
  • Unwanted: "If [error], the system shall [handling]"
  • Optional: "Where [feature included], the system shall [behavior]"

3.3 Write Each Requirement For each decomposed requirement:

  • Assign a unique ID
  • Write using "shall" language
  • Link to source (stakeholder, elicitation session)
  • Link to business objective
  • Identify business rules that apply
  • Flag any remaining ambiguity as open questions

Phase 4: Analyze Data (30-60 min)

Use skills/data-dictionary/SKILL.md:

4.1 Build the Data Dictionary

  • Extract every data element mentioned in requirements
  • Define each element: type, format, valid values
  • Compose structures from primitives

4.2 Create CRUD Matrix

  • Cross-reference data entities with system functions
  • Identify missing operations (created but never read? read but never created?)
  • Each gap is a potential missing requirement

4.3 Define Entity Relationships

  • Draw ERD or class diagram showing key entities
  • Identify cardinality (1:1, 1:N, M:N)
  • Each relationship implies data integrity requirements

Phase 5: Resolve Conflicts (30-60 min)

5.1 Identify Conflicts During classification and modeling, you will find:

  • Stakeholder A says X; Stakeholder B says not-X
  • Two requirements that contradict each other
  • A requirement that conflicts with a constraint

5.2 Resolve Each Conflict For each conflict:

  1. Document both positions with source
  2. Identify the root cause (different user classes? different assumptions?)
  3. Propose resolution options
  4. Escalate to the appropriate stakeholder for decision
  5. Document the decision and rationale

Phase 6: Verify Completeness (30 min)

Use these systematic checks:

  • Every data flow in the context diagram has at least one requirement
  • Every cell in every state table is filled
  • Every cell in the CRUD matrix is accounted for
  • Every decision table has 2^N rules (or documented consolidation)
  • Every business rule traces to at least one functional requirement
  • Every user class (from stakeholder analysis) has at least one use case or user story
  • Error handling is specified for every normal flow step
  • Quality attributes are specified for all critical functions
  • Open questions list is reviewed -- any remaining TBDs?

Examples

See examples/sample.md for an analysis walkthrough.

Common Pitfalls

Pitfall 1: Skipping Visual Models

Symptom: Going directly from elicitation notes to writing requirements in an SRS.

Consequence: Missing requirements that visual models would reveal (unhandled states, incomplete data operations, missing decision rules).

Fix: Invest 1-2 hours in visual modeling. The CRUD matrix alone typically reveals 5-10 missing requirements.


Pitfall 2: Writing Requirements at the Wrong Level

Symptom: Some requirements are high-level ("manage chemicals") and others are detailed ("validate CAS check digit using algorithm X").

Consequence: Inconsistent abstraction level makes the SRS hard to review, estimate, and test.

Fix: Decompose consistently. Each requirement should be at the same level of detail -- one testable behavior per requirement.


Pitfall 3: Ignoring Conflicts

Symptom: Contradictory requirements from different stakeholders are both included in the SRS without resolution.

Consequence: Developers discover the contradiction during implementation and must make a design decision that should have been a requirements decision.

Fix: Resolve every conflict before baselining. Document the decision and rationale so the "losing" stakeholder understands why.

References

Related Skills (Orchestrated by This Workflow)

  • skills/context-diagram/SKILL.md -- Phase 2: Boundary modeling
  • skills/state-modeling/SKILL.md -- Phase 2: Object lifecycle modeling
  • skills/decision-table/SKILL.md -- Phase 2: Complex logic analysis
  • skills/data-dictionary/SKILL.md -- Phase 4: Data analysis and CRUD matrix
  • skills/use-case/SKILL.md -- Phase 3: Behavioral decomposition
  • skills/business-rule/SKILL.md -- Phase 1: Classification
  • skills/srs-document/SKILL.md -- Final output structure

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapters 12-13
  • Tom DeMarco, Structured Analysis and System Specification (1979) -- DFDs and data dictionary
  • Peter Chen, "The Entity-Relationship Model" (1976) -- Data modeling

Skill type: Workflow Dependencies: Follows skills/requirements-elicitation-workshop/SKILL.md Outputs: Ready-to-write requirements for skills/srs-document/SKILL.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Requirements Analysis Process」では何ができますか?

Transform raw elicitation outputs into analyzed, modeled, and structured requirements. Use when moving from "what stakeholders said" to "what the system shall do" through visual modeling, data analysis, and requirements decomposition.

TypingMindでRequirements Analysis Processを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Requirements Analysis Processはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRequirements Analysis Processをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-analysis-processを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Requirements Analysis Processを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Requirements Analysis Processで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRequirements Analysis Processを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Requirements Analysis Process」は無料ですか?

jdm4pkuがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇