Λογότυπο Writing Requirements

Writing Requirements

Κοινότητα
jdm4pku
writing-requirements

Write individual requirements that are clear, testable, and unambiguous using EARS templates and quality checklists. Use when drafting or improving shall-statements and functional requirements.

Επισκόπηση

Εκδότηςjdm4pku
ΑποθετήριοRE-Skills
Όνομα δεξιότηταςwriting-requirements
Αστέρια
27
Διακλαδώσεις
1
Συνοδευτικά αρχεία
2
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 2

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό jdm4pku. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Writing Requirements στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/writing-requirements
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή 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/writing-requirements .claude/skills/writing-requirements
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Writing Requirements σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Writing Requirements μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Writing Requirements δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Purpose

Write individual requirements that are clear, testable, and unambiguous. A well-written requirement communicates one capability or constraint in a way that developers can implement, testers can verify, and stakeholders can confirm matches their intent.

This is not about organizing requirements into documents (see skills/srs-document/SKILL.md) or validating them with stakeholders (see skills/requirements-validation-process/SKILL.md). This is about the craft of writing a single requirement well.

Key Concepts

The Ten Characteristics of Excellent Requirements

Every individual requirement should be:

CharacteristicDefinitionTest
CorrectAccurately represents a stakeholder needStakeholder confirms it
FeasibleCan be implemented within known constraintsDevelopment confirms it
NecessaryTraces to a business need or stakeholder requestHas a traceable origin
PrioritizedHas a relative importance assignedRanked by stakeholders
UnambiguousHas exactly one interpretationTwo readers agree on meaning
VerifiableCan be tested or demonstratedA test case can be written for it
CompleteContains all needed informationNo TBDs or missing details
ConsistentDoes not contradict other requirementsNo conflicts found
ModifiableCan be changed without ripple effectsSingular, non-redundant
TraceableHas a unique ID and known originForward and backward links exist

Shall / Should / Will Conventions

Use these keywords with specific meaning:

  • Shall -- A binding requirement. The system must do this. "The system shall display the chemical name and CAS number on the inventory detail screen."
  • Should -- A desired goal, not mandatory. "The system should display search results within 2 seconds." (Performance target, not hard limit.)
  • Will -- A statement of fact about the environment or a declaration of purpose. "The ChemTrack system will replace the existing spreadsheet-based inventory process."

Rule of thumb: If it must be tested and verified, use "shall." If it is aspirational, use "should." If it describes context, use "will."

Why This Works

Requirements written with these conventions and patterns have measurable benefits:

  • Reduced rework -- Clear requirements reduce misinterpretation, which causes 40-50% of defects (Wiegers & Beatty, 2013)
  • Testability -- EARS patterns force you to state the trigger and expected behavior, making test cases straightforward
  • Consistency -- A standard vocabulary prevents arguments about what "shall" vs. "should" means

EARS Templates (Easy Approach to Requirements Syntax)

Five sentence patterns that cover most requirement types:

1. Ubiquitous (always active)

The [system] shall [action].

Example: "The ChemTrack system shall maintain an audit log of all inventory changes."

2. Event-Driven (triggered by an event)

When [trigger], the [system] shall [action].

Example: "When a chemical quantity falls below the reorder threshold, ChemTrack shall send an email notification to the procurement manager."

3. Unwanted Behavior (handling failure)

If [unwanted condition], then the [system] shall [action].

Example: "If the barcode scanner fails to read a chemical label, then ChemTrack shall allow manual entry of the chemical identifier."

4. State-Driven (while in a state)

While [state], the [system] shall [action].

Example: "While a chemical is marked as hazardous, ChemTrack shall display a warning icon next to the chemical name in all views."

5. Optional Feature

Where [feature is included], the [system] shall [action].

Example: "Where the GHS labeling module is installed, ChemTrack shall generate GHS-compliant safety labels for all chemicals."

Ambiguous Terms -- The TBD Watchlist

These words signal vague requirements. Replace or quantify them:

Ambiguous TermProblemFix
adequateAdequate by whose standard?Specify the standard or threshold
appropriateWho decides what is appropriate?State the criteria
as neededWhen is it needed?Define the trigger condition
but not limited toUnbounded scopeList all items or set boundaries
easy to useSubjectiveDefine measurable usability criteria
efficientCompared to what?Quantify (e.g., "within 3 seconds")
flexibleHow flexible?Specify the dimensions of change
minimize / maximizeTo what degree?Give a numeric threshold
reasonableBy whose judgment?Specify the criteria
sufficientSufficient for what?Define the quantity or capacity
user-friendlySubjectiveDefine task completion metrics

Anti-Patterns

  • The Compound Requirement -- "The system shall validate the CAS number AND display the SDS link AND log the access." Three requirements forced into one. Split them.
  • The Design Masquerading as a Requirement -- "The system shall use a PostgreSQL database to store chemical records." That is implementation. The requirement is: "The system shall persistently store all chemical inventory records."
  • The Untestable Aspiration -- "The system shall be reliable." How reliable? "The system shall achieve 99.5% uptime measured monthly." Now it is testable.
  • The Negative Hole -- "The system shall not allow unauthorized access." True, but too broad. Specify what authorization means and which access points are controlled.

Application

Use template.md for the fill-in structure.

Step 1: Identify the Requirement Source

Before writing, know where the requirement comes from:

  • A stakeholder interview (see skills/elicitation-interview/SKILL.md)
  • An observation session (see skills/observation-analysis/SKILL.md)
  • A business rule (see skills/business-rule/SKILL.md)
  • A use case step (see skills/use-case/SKILL.md)

Record the source for traceability.

Step 2: Choose the EARS Pattern

Match the requirement to its pattern:

  • Does this describe something always true? --> Ubiquitous
  • Is it triggered by an event? --> Event-Driven
  • Does it handle a failure or error? --> Unwanted Behavior
  • Is it active only in a particular state? --> State-Driven
  • Is it part of an optional feature? --> Optional Feature

Step 3: Draft the Requirement

Write the requirement using the chosen EARS template. Include:

  1. A unique identifier (e.g., CT.INV.003)
  2. The EARS-patterned sentence
  3. A rationale or source reference

Example draft:

CT.INV.003: When the lab technician submits a new chemical entry,
ChemTrack shall validate the CAS number against the PubChem database
and display "Valid" or "Invalid CAS Number" within 3 seconds.

Source: Interview with Lab Manager, 2024-01-15
Rationale: Prevents data entry errors that caused 12% inventory
discrepancies in 2023.

Step 4: Apply the Quality Checklist

Run through each characteristic:

  • Correct -- Does this match the stakeholder's actual need?
  • Feasible -- Can the team implement this? Is PubChem API available?
  • Necessary -- Does this trace to a user need or business goal?
  • Prioritized -- Is this High / Medium / Low?
  • Unambiguous -- Would two developers interpret this the same way?
  • Verifiable -- Can I write a test case? (Yes: "Submit valid CAS, expect Valid; submit invalid CAS, expect Invalid CAS Number")
  • Complete -- Any TBDs or missing info? (What happens if PubChem is unreachable?)
  • Consistent -- Does this conflict with any other requirement?
  • Modifiable -- Is this a single atomic requirement?
  • Traceable -- Does it have an ID and a source?

Step 5: Rewrite Positive Where Possible

Prefer positive requirements over negative ones:

  • Negative: "The system shall not allow chemicals without a CAS number to be saved."
  • Positive: "The system shall require a valid CAS number before saving a chemical record."

Negative requirements are acceptable for security and safety constraints: "The system shall not display chemical quantities to users without the Inventory Viewer role."

Step 6: Peer Review the Requirement

Have at least one other person read the requirement and answer:

  • "What does this requirement mean to you?" (Tests ambiguity)
  • "How would you test this?" (Tests verifiability)
  • "Is anything missing?" (Tests completeness)

Examples

See examples/sample.md for complete requirement writing examples.

Mini example excerpt:

markdown
**Before (weak):**
CT.RPT.001: The system shall generate appropriate reports.

**After (strong):**
CT.RPT.001: When the lab manager selects "Monthly Inventory Report,"
ChemTrack shall generate a PDF report listing all chemicals grouped
by storage location, showing chemical name, CAS number, quantity,
and expiration date, sorted by expiration date ascending.

Common Pitfalls

Pitfall 1: Compound Requirements

Symptom: A single requirement contains "and" joining multiple distinct behaviors.

Consequence: Partial implementation goes undetected. Testers must create multiple test cases for one requirement ID.

Fix: Split into separate requirements. Each requirement should be independently implementable and testable.


Pitfall 2: Missing Trigger or Context

Symptom: "The system shall display an error message." When? Under what condition?

Consequence: Developers guess the trigger. Different developers guess differently.

Fix: Use EARS event-driven or state-driven patterns to specify the trigger explicitly.


Pitfall 3: Ambiguous Adjectives

Symptom: "The system shall provide fast search results" or "The system shall have a clean interface."

Consequence: No objective way to verify. Arguments during acceptance testing.

Fix: Replace with measurable criteria. Consult the TBD Watchlist and quantify every adjective.


Pitfall 4: Implementation Prescription

Symptom: "The system shall use REST APIs" or "The system shall store data in MongoDB."

Consequence: Constrains design prematurely. If technology changes, requirements must be rewritten.

Fix: State the need, not the solution. "The system shall expose chemical data to authorized external systems via a documented API."


Pitfall 5: Copy-Paste Inconsistency

Symptom: The same concept is described differently in different requirements (e.g., "chemical record" vs. "inventory item" vs. "substance entry").

Consequence: Readers wonder if these are the same thing or different things.

Fix: Maintain a glossary (see skills/data-dictionary/SKILL.md). Use terms consistently.

References

Related Skills

  • skills/srs-document/SKILL.md -- Organizing requirements into a specification document
  • skills/acceptance-criteria/SKILL.md -- Writing testable acceptance criteria for each requirement
  • skills/business-rule/SKILL.md -- Documenting business rules referenced by requirements
  • skills/data-dictionary/SKILL.md -- Maintaining consistent terminology across requirements
  • skills/requirements-review-advisor/SKILL.md -- Reviewing requirements for quality

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 11: Writing Excellent Requirements
  • Alistair Mavin et al., "Easy Approach to Requirements Syntax (EARS)" (2009) -- EARS templates
  • IEEE 29148:2018 -- Systems and software engineering -- Life cycle processes -- Requirements engineering

Skill type: Component Dependencies: None Used by: skills/srs-document/SKILL.md, skills/requirements-review-advisor/SKILL.md, skills/requirements-analysis-process/SKILL.md

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Writing Requirements;

Write individual requirements that are clear, testable, and unambiguous using EARS templates and quality checklists. Use when drafting or improving shall-statements and functional requirements.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Writing Requirements στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Writing Requirements είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Writing Requirements στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/jdm4pku/RE-Skills/tree/main/skills/writing-requirements. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Writing Requirements;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Writing Requirements;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Writing Requirements με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Writing Requirements;

Δημοσιεύεται στο GitHub από τον λογαριασμό jdm4pku. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇