Requirements Reuseのロゴ

Requirements Reuse

コミュニティ
jdm4pku
requirements-reuse

Systematically reuse requirements across projects using patterns, catalogs, and product-line strategies. Use when building systems similar to past projects or establishing a reuse repository for your organization.

概要

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

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Requirements Reuse」を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-reuse
  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-reuse .claude/skills/requirements-reuse
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Purpose

Systematically identify, evaluate, and apply reusable requirements from existing sources -- past projects, requirement pattern catalogs, product-line core assets, and organizational standards. Use this to avoid re-inventing requirements for common functionality and to improve consistency across related systems.

This is not about copying an old SRS and changing the project name. It is about strategic, evaluated reuse with explicit decisions about what to reuse as-is, what to adapt, and what to write new.

Key Concepts

Three Dimensions of Requirements Reuse

Every reuse decision involves three independent dimensions:

DimensionOptionsDescription
ExtentPartial / FullReuse selected requirements or the entire specification
ModificationAs-is / AdaptedUse exactly as written or modify for the new context
MechanismCopy / ReferenceDuplicate into new project or point to a shared source

Example combinations:

  • Full / As-is / Reference -- Product line core requirements shared across all products
  • Partial / Adapted / Copy -- Selected requirements from a past project, modified for new context
  • Partial / As-is / Copy -- Standard security requirements copied into every project SRS

Requirement Patterns (Withall)

Requirement patterns are reusable templates for common requirement types. Each pattern includes:

  • Pattern name -- What it covers (e.g., "Audit Trail")
  • Basic detail -- The core requirement statement with parameters
  • Extra detail -- Optional extensions for more complex needs
  • Considerations -- Context-specific decisions to make

Common requirement patterns:

PatternApplies WhenExample Parameter
Audit TrailSystem must log who did what whenRetention period, detail level
AuthorizationAccess must be role-controlledRole hierarchy, permission granularity
ArchiveData must be retained then removedArchive period, retrieval requirements
NotificationUsers must be alerted of eventsChannel (email/SMS), timing, escalation
ExpiryItems have time-limited validityWarning period, expiry action
CalculationSystem performs domain-specific mathFormula, precision, rounding rules

Reuse Scenarios

Product Line Reuse: An organization builds multiple related products (e.g., ChemTrack for universities, ChemTrack for pharma, ChemTrack for government). Core requirements are shared; product-specific requirements are layered on top.

Re-Engineering Reuse: Replacing a legacy system. The existing system's behavior is the primary source of requirements. Reuse the "what" while redesigning the "how."

Similar Project Reuse: Building a new system that resembles a past project (e.g., a new inventory management system when you built one three years ago). Selectively reuse applicable requirements.

Why This Works

  • Reduced elicitation effort -- Common requirements like authentication, audit trails, and notifications do not need to be re-elicited from scratch every time
  • Improved consistency -- Reused requirements carry forward lessons learned and corrections from past projects
  • Faster reviews -- Reviewers are already familiar with reused requirements
  • Pattern vocabulary -- Requirement patterns give the team a shared language for common functionality

Anti-Patterns

  • NIH Syndrome (Not Invented Here) -- Rejecting reusable requirements because "our project is different." Every project is unique in some ways, but authentication, audit logging, and error handling are remarkably similar across domains.
  • NAH Syndrome (Not Applicable Here) -- Blindly assuming past requirements apply without evaluating fit. A requirement that was correct for a university lab may not be correct for a pharmaceutical facility.
  • Copy-Paste-Forget -- Copying a past SRS section without reviewing every requirement for applicability. Stale or inapplicable requirements contaminate the new specification.
  • No Catalog Maintenance -- Building a reuse catalog once and never updating it with corrections and improvements from subsequent projects.

Application

Use template.md for the fill-in structure.

Step 1: Identify Reuse Sources

Survey available sources for reusable requirements:

  1. Past project SRS documents -- Similar systems built by your organization
  2. Requirement pattern catalogs -- Withall's patterns, organizational pattern libraries
  3. Product line core assets -- If your organization has a product line architecture
  4. Regulatory standards -- Compliance requirements that apply across projects
  5. Organizational standards -- Company-wide requirements for security, accessibility, etc.

For each source, note:

  • Source name and location
  • Domain similarity to current project (High / Medium / Low)
  • Quality of the source (Was it reviewed? Tested? Maintained?)

Step 2: Screen for Reuse Candidates

For each source, identify requirements that potentially apply to the current project:

High-confidence reuse candidates (common across most systems):

  • Authentication and authorization
  • Audit trail and logging
  • Error handling and recovery
  • Data backup and archival
  • Notification and alerting
  • Report generation framework

Medium-confidence candidates (depend on domain similarity):

  • Domain-specific business rules
  • Workflow and approval processes
  • Data validation rules
  • Integration interfaces

Low-confidence candidates (require careful evaluation):

  • Domain-specific calculations
  • UI-specific requirements
  • Performance targets (context-dependent)

Step 3: Evaluate Each Candidate

For each reuse candidate, decide on the three dimensions:

  1. Applicability: Does this requirement apply to the new system?

    • Yes, directly applicable
    • Yes, with modifications
    • No, not applicable (discard)
  2. Modification needed: If applicable, what changes?

    • None (as-is reuse)
    • Parameter changes (e.g., retention period: 5 years -> 7 years)
    • Structural changes (e.g., add additional conditions)
    • Major rewrite (may not be worth "reusing")
  3. Mechanism: How to reuse?

    • Reference (point to shared catalog) -- best for organizational standards
    • Copy (duplicate into project SRS) -- best for adapted requirements

Step 4: Adapt and Integrate

For each reused requirement:

  • Assign a new requirement ID in the current project's numbering scheme
  • Mark it as reused in the traceability matrix (link to source)
  • Update any project-specific parameters
  • Review for consistency with other requirements in the new SRS
  • Flag any assumptions carried over from the source that need validation

Step 5: Build the Reuse Catalog

After the project, contribute back to the organizational reuse catalog:

  • Add newly written requirements that have reuse potential
  • Update existing catalog entries with corrections found during this project
  • Tag requirements by domain, pattern type, and quality level

Examples

See examples/sample.md for a complete reuse assessment.

Mini example excerpt:

markdown
### Reuse Candidate: Audit Trail (from LabManager v2 SRS)

- **Source:** LabManager v2, FR-090 through FR-095
- **Applicability:** Directly applicable -- ChemTrack requires the same
  audit trail functionality
- **Modification:** Parameter change only -- retention period changes
  from 3 years to 7 years (regulatory requirement for chemical records)
- **Mechanism:** Copy (different retention parameter)
- **Reused As:**
  - CT.AUDIT.1 (from FR-090): "The system shall log all create, update,
    and delete operations on chemical records with timestamp, user ID,
    and before/after values." -- As-is
  - CT.AUDIT.2 (from FR-091): "The system shall retain audit records for
    7 years from the date of creation." -- Adapted (was 3 years)

Common Pitfalls

Pitfall 1: Reusing Without Evaluating

Symptom: Entire SRS sections copied from a past project with a find-replace on the project name.

Consequence: Requirements that do not apply to the new context, stale business rules, and inapplicable constraints clutter the SRS. Reviewers skim the "reused" sections because they assume they are correct.

Fix: Evaluate every reused requirement individually against the three dimensions (extent, modification, mechanism).


Pitfall 2: No Traceability to Source

Symptom: Reused requirements have no link to their origin.

Consequence: When a defect is found in a reused requirement, there is no way to know which other projects reused the same flawed requirement.

Fix: Maintain a reuse traceability link: each reused requirement points to its source in the catalog or source project.


Pitfall 3: Ignoring Context Differences

Symptom: Requirements from a small departmental system reused for an enterprise system without scaling considerations.

Consequence: Performance requirements, concurrency handling, and authorization models that worked for 20 users fail at 2,000 users.

Fix: Explicitly evaluate context differences (scale, regulatory environment, user population, integration landscape) before reusing.


Pitfall 4: No Catalog Investment

Symptom: Organization builds similar systems repeatedly but each team starts requirements from scratch.

Consequence: Each project re-invents the same requirements, with the same gaps and the same mistakes.

Fix: Invest in a shared reuse catalog. Start small -- catalog the 10 most commonly needed requirement sets (auth, audit, notification, etc.).

References

Related Skills

  • skills/srs-document/SKILL.md -- Reused requirements are integrated into the SRS
  • skills/requirements-traceability/SKILL.md -- Reuse traceability links source to target
  • skills/quality-attribute/SKILL.md -- Quality attribute requirements are common reuse candidates
  • skills/business-rule/SKILL.md -- Business rules from past projects may be reusable

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 18: Beyond Requirements Development
  • Stephen Withall, Software Requirement Patterns (2007) -- Requirement pattern catalog
  • Klaus Pohl, Requirements Engineering: Fundamentals, Principles, and Techniques (2010) -- Chapter 26: Requirements Reuse

Skill type: Component Dependencies: None (foundational skill) Used by: skills/srs-document/SKILL.md, skills/requirements-management-process/SKILL.md

同梱ファイル

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

よくある質問

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

Systematically reuse requirements across projects using patterns, catalogs, and product-line strategies. Use when building systems similar to past projects or establishing a reuse repository for your organization.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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