Logo van Requirements Reuse

Requirements Reuse

Community
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.

Overzicht

Uitgeverjdm4pku
RepositoryRE-Skills
Skillnaamrequirements-reuse
Sterren
27
Forks
1
Meegeleverde bestanden
2
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door jdm4pku op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Requirements Reuse in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Requirements Reuse in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Requirements Reuse automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Requirements Reuse niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Requirements Reuse gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Requirements Reuse bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Requirements Reuse in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Requirements Reuse gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Requirements Reuse gebruiken?

Zoveel als je wilt. Je kunt Requirements Reuse gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Requirements Reuse gratis?

Deze skill is door jdm4pku op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇