Логотип 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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: jdm4pku. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Requirements Reuse у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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

Увімкніть навичку Requirements Reuse в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Requirements Reuse, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Requirements Reuse не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл 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

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Requirements Reuse у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Requirements Reuse — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Requirements Reuse у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-reuse. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Requirements Reuse?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Requirements Reuse?

Зі скількома забажаєте. У TypingMind ви можете використовувати Requirements Reuse із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Requirements Reuse?

На GitHub цю навичку публікує jdm4pku. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇