شعار Nw Bdd Requirements

Nw Bdd Requirements

مؤسسة
nWave-ai
nw-bdd-requirements

منهجية اكتشاف متطلبات BDD — Example Mapping، وThree Amigos، وأنماط المحادثة، والتحويل إلى Given-When-Then، والمواصفات التعاونية

Add to TypingMind

نظرة عامة

الناشرnWave-ai
المستودعnWave
اسم المهارةnw-bdd-requirements
النجوم
616
التفريعات
65
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها nWave-ai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Nw Bdd Requirements في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/nWave-ai/nWave/tree/main/nWave/skills/nw-bdd-requirements
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nWave-ai/nWave.git /tmp/nWave
mkdir -p .claude/skills
cp -r /tmp/nWave/nWave/skills/nw-bdd-requirements .claude/skills/nw-bdd-requirements
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Nw Bdd Requirements في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Nw Bdd Requirements تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Nw Bdd Requirements بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

BDD Requirements Discovery

"If you're not having conversations, you're not doing BDD." -- Liz Keogh

BDD discovers "what we don't know we don't know" through collaborative exploration with concrete examples, not tools or formats.

The Three Amigos

Three perspectives revealing each other's blindspots:

  1. Problem Owner (PO, BA, Domain Expert): business need | acceptance criteria | domain knowledge
  2. Problem Solver (Developer, Engineer): technical constraints | implementation complexity | technical edge cases
  3. Skeptic (Tester, QA): failure modes | edge cases and boundaries | challenge assumptions

Session Structure (25-minute timebox)

  1. Read user story aloud (2 min) -- shared context
  2. Identify acceptance criteria/rules (8 min) -- "what must be true for done?"
  3. Explore examples per rule (12 min) -- concrete scenarios, edge cases
  4. Capture questions (ongoing) -- unknowns on red cards
  5. Review and summarize (3 min) -- shared understanding check

If unmappable in 25 min: too large (split) | too uncertain (spike) | team needs practice.

Example Mapping

Four Card Types

  • Yellow: User Story (1 per session) | Blue: Business Rules/AC | Green: Concrete Examples | Red: Questions/Unknowns (blockers)

Visual Layout

[Yellow] User Story: Transfer money between accounts
  |
  +-- [Blue] Rule: Amount must not exceed source balance
  |     +-- [Green] $500 balance, transfer $400 -> succeeds
  |     +-- [Green] $500 balance, transfer $500 -> succeeds (boundary)
  |     +-- [Green] $500 balance, transfer $501 -> fails
  |     +-- [Red] What happens if balance changes during transfer?
  |
  +-- [Blue] Rule: Both accounts belong to same customer
  |     +-- [Green] Transfer between checking and savings -> succeeds
  |     +-- [Green] Transfer to friend's account -> requires different flow
  |
  +-- [Blue] Rule: Transfer creates transaction records
        +-- [Green] $100 transfer -> 2 transactions (debit + credit)
        +-- [Red] What timezone for timestamps?

When to Use Example Mapping

Use when: story entering sprint | multiple edge cases | team uncertain about scope | cross-functional clarification needed. Skip when: trivial well-understood story | pure technical refactoring with no behavior change | strong shared understanding already.

Conversational Patterns

Pattern 1: Context Questioning

Template: "Is there any other context which, when this event happens, will produce a different outcome?"

Purpose: discover edge cases and alternative scenarios.

BA: "When a customer submits an order, the order is confirmed."
Tester: "Is there context that produces a different outcome?"
Developer: "What if the item is out of stock?"
BA: "Then the order goes to backorder status."
Tester: "What if payment is declined?"
BA: "Then the order is pending payment."

Result: three rules discovered from one statement.

Pattern 2: Outcome Questioning

Template: "Given this context, when this event happens, is there another outcome that's important?"

BA: "When admin deletes a user account, the account is deleted."
Tester: "Is there another important outcome?"
Developer: "Audit log entry for the deletion."
BA: "Email notification to the user."
Tester: "GDPR -- delete all personal data."
Developer: "What about resources owned by the user?"

Result: one simple statement revealed five important outcomes.

Pattern 3: Concrete Examples

Template: "Can you give me a concrete example?"

Abstract rules hide assumptions. Concrete examples force decisions.

BA: "User can search products by category."
Developer: "Concrete example?"
BA: "User selects 'Electronics' category."
Tester: "What if Electronics has 10,000 products?"
BA: "We paginate. Show 20 per page."
Developer: "Default sort order?"
BA: "I need to ask stakeholders."
[Red card: "Default sort order for category browsing?"]

From Examples to Given-When-Then

Translation Rules

  • Given = context (preconditions, system state)
  • When = event/action (user action, system trigger)
  • Then = outcome (observable results, state changes)

Scenario Titles: Business Outcomes Only

Scenario titles describe WHAT the user achieves, never HOW the system implements it.

BAD (implementation)GOOD (business outcome)
FileWatcher triggers TreeView refreshDashboard updates in real-time
Observer writes state.json on eventWave progress is captured when a phase completes
Debounce prevents rapid writesRapid progress changes render smoothly
Atomic write prevents partial readsDashboard always sees consistent data

Rule: If the title contains a class name, method name, file name, or protocol detail, rewrite it as the user-observable outcome.

Example Translation

Example card: "Balance $500, transfer $300 -> succeeds"

gherkin
Scenario: Successful transfer with sufficient balance
  Given my checking account balance is $500.00
  And my savings account balance is $100.00
  When I transfer $300.00 from checking to savings
  Then my checking balance is $200.00
  And my savings balance is $400.00
  And I receive a confirmation message

For Each Rule, Create 2-3 Examples

  1. Typical/happy path | 2. Boundary condition | 3. Error/alternative path

Business Outcome Focus: Five Whys

Apply Five Whys to connect stories to business value:

Story: "Add CSV export for reports"
Why? "Users can export data"
Why? "Analyze in Excel"
Why? "No pivot tables in our app"
Why? "Need to slice data by dimensions"
Why? "Identify trends for business decisions"

Real need: better analytical capabilities, not CSV export

Focus on behaviors contributing to business results. Challenge features lacking clear business value.

Acceptance Criteria Style

Traditional (implementation-focused) -- avoid:

  • "API endpoint accepts POST requests" | "Response returns JSON with 201 status"

BDD-style (outcome-focused) -- use:

  • "Customer can submit order even when offline" | "Order confirmed within 2 seconds" | "Customer receives email confirmation"

Shift from "system does X" to "user achieves Y."

Confirmation Bias Defense

Technique 1: Reverse Assumptions

Assumption: "Users fill out the form correctly." Reverse: empty form | garbage data | 50,000 characters | 100 submissions in 10 seconds.

Technique 2: Evil User Persona

"Malicious Mike" tries SQL injection, URL manipulation, unauthorized access. "Careless Cathy" never reads instructions, clicks back mid-process, refreshes constantly.

Technique 3: Force Example Diversity

For each rule, require examples from three categories:

  1. Happy path (typical success) | 2. Edge case (boundary, unusual but valid) | 3. Error case (invalid, failure condition)

Forcing diversity prevents echo chamber thinking.

Red Card Management

Red cards are blockers. Never proceed to development with unresolved questions.

Resolution process:

  1. Capture during session | 2. Assign owner (usually BA/PO) | 3. Set deadline (before dev starts) | 4. Follow-up session if answer reveals new complexity

Good red cards: "Character limit for product descriptions?" | "PDFs or only images?" | "What happens to orders if payment gateway is down?"

Requirements Document Structure

BDD hierarchy:

Business Capability (Epic)
  +-- Feature (Theme)
      +-- User Story
          +-- Acceptance Criteria (Rules)
              +-- Scenarios (Examples)

Each level includes: business value | user context | concrete examples | Given-When-Then scenarios | tracked questions with resolution status.

Bridging Business and Technical Perspectives

Same scenario, understood differently by each role:

gherkin
Scenario: High-value customer receives priority support
  Given I am a customer with "Platinum" membership
  And I submit a support ticket with priority "urgent"
  When the support team reviews new tickets
  Then my ticket appears at the top of the queue
  And I receive automated acknowledgment within 1 minute
  • Executive sees: "Platinum customers get priority" (business rule)
  • Customer sees: "My urgent issues get fast response" (user benefit)
  • Developer sees: "Filter by membership tier and priority" (implementation)
  • Tester sees: "Verify queue ordering and SLA compliance" (test case)

Same scenario, multiple valid interpretations, zero translation loss.

Discovery Workshop Format (90 minutes)

Participants: 6-8 people (PO, BA as facilitator, 2-3 developers, 1-2 testers, optional SME).

  1. Context Setting (10 min) -- business problem, success criteria
  2. Story Writing (15 min) -- brainstorm, write on yellow cards, prioritize
  3. Example Mapping Round 1 (25 min) -- top priority story
  4. Break (5 min)
  5. Example Mapping Round 2 (25 min) -- second priority story
  6. Review and Next Steps (10 min) -- summarize, assign red cards, schedule follow-up

Output: 2-3 stories mapped | 10-15 scenarios drafted | red cards assigned.

Example Mapping Anti-Patterns

  1. No examples, just rules: Blue cards without green cards. Rules are abstract. Force concrete examples for each rule.
  2. Too many rules (story too big): >5-6 blue cards means split needed.
  3. Implementation details in examples: "POST to /api/users with JSON" instead of "I register with email." Describe user-observable behavior.
  4. Ignoring red cards: Proceeding with unresolved questions leads to rework.

User Story Mapping

Decompose epics into stories by tracing the complete user workflow.

Process

  1. Map workflow end-to-end: Walk complete user journey from trigger to outcome. Each step becomes a column.
  2. Identify touchpoints: List system interactions, decisions, and information needs at each step.
  3. Break into stories: Group touchpoints into coherent user stories delivering demonstrable slices.
  4. Prioritize by value: Top row = minimum viable workflow (walking skeleton). Lower rows = enhancements.

Visual Layout

Workflow:  [Discover] --> [Evaluate] --> [Purchase] --> [Receive]
             |              |              |              |
Row 1:     Search by     View details   Add to cart    Track order
           keyword        + price        + checkout     status
             |              |              |              |
Row 2:     Filter by     Compare        Apply          Delivery
           category       products       coupon         notifications
             |              |
Row 3:     Save search   Read reviews

Row 1 = MVP release. Row 2 = second release. Row 3 = future.

Story mapping complements Example Mapping: use story mapping to identify WHICH stories, then Example Mapping to explore EACH story in depth.

Requirements Completeness Check

During Phase 1 (GATHER), verify all three requirement types. Stories covering only functional requirements produce incomplete handoffs.

Functional Requirements

  • Business capabilities and features | User interactions and system responses
  • Data processing and transformation rules | Integration and interface requirements
  • Validation: testable through acceptance tests | traceable to business objectives | complete and unambiguous

Non-Functional Requirements (NFRs)

  • Performance: response time, throughput, scalability | Security: authentication, authorization, data protection
  • Usability: user experience, accessibility | Reliability: availability, fault tolerance, recovery
  • Validation: quantifiable metrics and thresholds | testable through automated validation

Business Rules

  • Business policy enforcement | Data validation and integrity rules
  • Workflow and process constraints | Compliance and regulatory requirements
  • Validation: clear rule specification with examples | exception handling defined | rule precedence documented

For each story, ask: "Have we captured functional behavior, quality attributes (NFRs), and business constraints?" Missing any category is a completeness gap flagged during review (see review-dimensions skill, Dimension 2).

Domain Language Discovery

Formalize the ubiquitous language process. Domain language primacy (Core Principle 4) requires deliberate discovery.

Phase 1: Discovery

  • Identify domain-specific terminology through stakeholder conversations
  • Document existing business language and definitions | Capture synonyms and variations
  • Flag ambiguous terms requiring clarification

Phase 2: Definition

  • Collaborate with domain experts for precise definitions | Resolve terminology conflicts
  • Create glossary with examples per term | Validate definitions with all stakeholder groups

Phase 3: Adoption

  • Integrate ubiquitous language into all requirements artifacts
  • Use agreed terms consistently in stories, AC, and scenarios
  • Include glossary in handoff package for downstream waves (DESIGN, DISTILL)

Terms discovered here feed directly into BDD scenarios -- Given/When/Then uses the ubiquitous language, ensuring zero translation loss.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Nw Bdd Requirements؟

منهجية اكتشاف متطلبات BDD — Example Mapping، وThree Amigos، وأنماط المحادثة، والتحويل إلى Given-When-Then، والمواصفات التعاونية

لماذا تستخدم Nw Bdd Requirements على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Nw Bdd Requirements عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Nw Bdd Requirements في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/nWave-ai/nWave/tree/main/nWave/skills/nw-bdd-requirements. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Nw Bdd Requirements؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Nw Bdd Requirements؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Nw Bdd Requirements معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Nw Bdd Requirements مجانية؟

نعم. نشرها nWave-ai على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇