Логотип Srs Document

Srs Document

Спільнота
jdm4pku
srs-document

Build a Software Requirements Specification using a structured template with labeled requirements, data dictionary, and external interfaces. Use when a project requires a formal, baselined requirements document.

Огляд

Видавецьjdm4pku
РепозиторійRE-Skills
Назва навичкиsrs-document
Зірки
27
Форки
1
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

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

  • Працює з будь-якою LLM

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

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

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

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

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

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/srs-document
  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/srs-document .claude/skills/srs-document
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

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

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

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

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

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

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

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

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Purpose

Guide requirements engineers through creating a complete Software Requirements Specification (SRS) that organizes functional requirements by system feature, documents data requirements, external interfaces, quality attributes, and constraints. Use this when the project demands a formal, reviewable, traceable requirements baseline.

This is not a vision document or user story backlog -- it is the definitive specification of what the system shall do, organized for review, traceability, and implementation.

Key Concepts

What Is an SRS?

An SRS documents:

  • Functional requirements -- What the system does (organized by feature)
  • Data requirements -- What data the system stores, processes, and reports
  • External interface requirements -- How the system connects to users, hardware, other systems, and communications
  • Quality attributes -- Non-functional requirements (performance, security, usability, etc.)
  • Constraints -- Design and implementation restrictions

SRS Organization Strategies

StrategyBest ForExample
By system featureMost projects"Chemical catalog," "Expiration alerts," "Reporting"
By stimulus/responseReal-time or embedded systems"When sensor detects threshold, system triggers alarm"
By use caseUser-interaction-heavy systemsOne SRS section per use case
By user classSystems with distinct user populations"Lab technician requirements," "Manager requirements"
By objectData-intensive systems"Customer object," "Order object"

Recommendation: Organize by system feature for most projects. It maps naturally to development and test planning.

Requirements Labeling

Every requirement needs a unique, persistent identifier. Three approaches:

  1. Sequence numbers -- FR-1, FR-2, FR-3 (simple, no hierarchy)
  2. Hierarchical numbers -- 3.2.1, 3.2.2 (shows structure, fragile with insertions)
  3. Hierarchical textual tags -- CHEMTRACK.CATALOG.SEARCH.1 (self-documenting, verbose)

Recommendation: Use hierarchical textual tags for large projects (self-documenting when referenced in design/test documents). Use sequence numbers for small projects.

Requirement Writing with "Shall"

  • Shall = mandatory requirement
  • Should = desirable but not mandatory (use sparingly)
  • Will = statement of fact about the environment, not a requirement
  • Must = constraint or regulatory obligation (equivalent to shall)

The EARS Template

The Easy Approach to Requirements Syntax provides five patterns:

PatternTemplateWhen to Use
UbiquitousThe [system] shall [action]Always-true behavior
Event-drivenWhen [trigger], the [system] shall [action]Response to events
State-drivenWhile [state], the [system] shall [action]Behavior during a condition
Unwanted behaviorIf [condition], then the [system] shall [action]Error/exception handling
OptionalWhere [feature is included], the [system] shall [action]Configurable features

Anti-Patterns

  • The Novel -- An SRS written as prose paragraphs. Unstructured, untraceable, unreviewable.
  • Copy-Paste Requirements -- Duplicating requirements across sections. One change, multiple updates.
  • Ambiguous Shall Statements -- "The system shall provide a user-friendly interface." Untestable.

Application

Use template.md for the full fill-in structure.

Step 1: Document Introduction and Context

1.1 Purpose -- Who the SRS is for and what it covers.

1.2 Document Conventions -- Requirement labeling scheme, priority definitions, formatting standards.

1.3 Project Scope -- Brief summary (reference skills/vision-and-scope/SKILL.md for detail).

1.4 References -- Vision and scope doc, use case doc, business rule catalog, standards.

Step 2: Write Overall Description

2.1 Product Perspective -- How this system fits in its environment. Include a system context diagram (see skills/context-diagram/SKILL.md).

2.2 User Classes and Characteristics -- Summary from stakeholder analysis (see skills/stakeholder-analysis/SKILL.md).

2.3 Operating Environment -- Hardware, OS, database, browser requirements.

2.4 Design and Implementation Constraints -- Technology mandates, standards compliance, reuse requirements.

2.5 Assumptions and Dependencies -- What is assumed true but not verified; external dependencies.

Step 3: Specify System Features (Functional Requirements)

For each major feature:

markdown
### 3.x [Feature Name]

#### 3.x.1 Description
[What this feature does and its priority]

#### 3.x.2 Functional Requirements

[FEATURE.FUNCTION.1]: The system shall [requirement statement].
  - Rationale: [Why this requirement exists]
  - Source: [Who requested or requires this]
  - Dependencies: [Other requirements this depends on]
  - Priority: [High / Medium / Low]
  - Business Rules: [BR-IDs that apply]

[FEATURE.FUNCTION.2]: When [trigger], the system shall [action].
  - ...

Quality checks for each requirement:

  • Uses "shall" for mandatory requirements
  • Is a single, atomic statement (one "shall" per requirement)
  • Is testable (a tester could verify it)
  • Is unambiguous (only one reasonable interpretation)
  • Traces to a business objective or user need
  • Does not dictate design (states what, not how)

Step 4: Document Data Requirements

4.1 Logical Data Model -- Entity-Relationship Diagram showing key entities and relationships (see skills/data-dictionary/SKILL.md).

4.2 Data Dictionary -- Definitions of all data elements.

4.3 Reports -- Specifications for system-generated reports.

4.4 Data Integrity -- Rules for data validation, referential integrity, and retention.

Step 5: Specify External Interface Requirements

5.1 User Interfaces -- Screen layout guidelines, navigation, accessibility requirements. Not wireframes -- those are design. Focus on requirements (e.g., "The system shall comply with WCAG 2.1 Level AA").

5.2 Hardware Interfaces -- Connections to hardware devices (printers, scanners, sensors).

5.3 Software Interfaces -- APIs, database connections, third-party integrations.

5.4 Communications Interfaces -- Protocols, data formats, encryption requirements.

Step 6: Specify Quality Attributes

Reference skills/quality-attribute/SKILL.md for detailed guidance. Include quantified requirements for:

  • Performance (response time, throughput)
  • Security (authentication, authorization, encryption)
  • Availability (uptime targets)
  • Usability (task success rates, learnability)
  • Reliability (MTBF, error rates)
  • Scalability (user counts, data volumes)

Step 7: Document Constraints

  • Technology constraints (mandated platforms, languages)
  • Standards compliance (ISO, HIPAA, PCI-DSS)
  • Regulatory requirements
  • Business constraints (budget, timeline, reuse mandates)

Step 8: Review and Baseline

  • Conduct formal inspection (see skills/requirements-validation-process/SKILL.md)
  • Resolve all TBDs before baselining
  • Establish version control and change control procedures (see skills/requirements-management-process/SKILL.md)
  • Obtain stakeholder sign-off

Examples

See examples/sample.md for an SRS excerpt.

Mini example:

markdown
### 3.1 Chemical Catalog

#### 3.1.1 Description
The chemical catalog allows lab technicians to search, view, add, and
edit chemical records in the inventory. Priority: High.

#### 3.1.2 Functional Requirements

CHEMTRACK.CATALOG.SEARCH.1: The system shall allow the user to search
for chemicals by name, CAS number, location, or expiration date range.

CHEMTRACK.CATALOG.SEARCH.2: The system shall display search results
within 2 seconds for catalogs of up to 50,000 chemical records.

CHEMTRACK.CATALOG.ADD.1: When the user submits a new chemical entry,
the system shall validate the CAS number against the PubChem database
and reject entries with invalid CAS numbers.

Common Pitfalls

Pitfall 1: Requirements Written as Design

Symptom: "The system shall use a PostgreSQL database with a chemicals table having columns: name VARCHAR(255), cas_number CHAR(12)..."

Consequence: The SRS dictates design decisions that should be left to developers.

Fix: State the what: "The system shall store chemical records including name, CAS number, quantity, location, and expiration date." Let the design specify how.


Pitfall 2: Unresolved TBDs at Baseline

Symptom: "The system shall support TBD concurrent users" or "Performance target: TBD."

Consequence: Developers make assumptions. Those assumptions may be wrong and expensive to fix.

Fix: Track TBDs as action items. Every TBD must have an owner and a deadline. Do not baseline with unresolved TBDs.


Pitfall 3: Gold-Plating the SRS

Symptom: 500-page document with every conceivable detail for a small project.

Consequence: Nobody reads it. Nobody maintains it. It becomes shelfware.

Fix: Right-size the SRS to the project. A 20-requirement project does not need a 200-page document. Use only the sections that add value.


Pitfall 4: No Unique Requirement IDs

Symptom: Requirements are numbered by section (1, 2, 3) and renumbered when sections change.

Consequence: Traceability breaks. Test cases, design docs, and change requests reference stale IDs.

Fix: Use persistent, unique identifiers that never change once assigned, even if requirements are deleted or reordered.

References

Related Skills

  • skills/vision-and-scope/SKILL.md -- Upstream document that feeds Section 1 and 2
  • skills/stakeholder-analysis/SKILL.md -- Feeds user class descriptions
  • skills/use-case/SKILL.md -- Use cases elaborate system features
  • skills/business-rule/SKILL.md -- Rules referenced by functional requirements
  • skills/quality-attribute/SKILL.md -- Detailed quality attribute specification
  • skills/data-dictionary/SKILL.md -- Data requirements and definitions
  • skills/context-diagram/SKILL.md -- System context diagram for Section 2.1
  • skills/requirements-traceability/SKILL.md -- Traceability matrix for SRS requirements
  • skills/requirements-validation-process/SKILL.md -- Formal review of the SRS

External Frameworks

  • IEEE 830-1998 / ISO/IEC/IEEE 29148:2018 -- SRS standard templates
  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 10: Documenting the Requirements
  • Alistair Mavin et al., "Easy Approach to Requirements Syntax (EARS)" (2009) -- EARS templates

Skill type: Component Dependencies: References most other component skills as inputs Used by: skills/requirements-validation-process/SKILL.md, skills/requirements-management-process/SKILL.md

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

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

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

Що робить навичка ШІ Srs Document?

Build a Software Requirements Specification using a structured template with labeled requirements, data dictionary, and external interfaces. Use when a project requires a formal, baselined requirements document.

Навіщо використовувати Srs Document у TypingMind?

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

Як встановити Srs Document у TypingMind?

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

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

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

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

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

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

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

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

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

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

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

Усі

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

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