Logo di 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.

Panoramica

Pubblicato dajdm4pku
RepositoryRE-Skills
Nome della skillrequirements-reuse
Stelle
27
Fork
1
File inclusi
2
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da jdm4pku su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Requirements Reuse in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Requirements Reuse in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Requirements Reuse non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Requirements Reuse non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Requirements Reuse su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Requirements Reuse è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Requirements Reuse in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Requirements Reuse?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Requirements Reuse?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Requirements Reuse: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Requirements Reuse è gratuita?

È pubblicata su GitHub da jdm4pku. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇