Logo van Derive Acceptance Criteria From Business Logic

Derive Acceptance Criteria From Business Logic

Community
meirm
derive-acceptance-criteria-from-business-logic

Converts trusted business logic into product-owner-grade acceptance criteria and developer-ready tasks using Given/When/Then scenarios. Use when creating user stories, preparing for sprints, or turning BL into executable requirements.

Add to TypingMind

Overzicht

Uitgevermeirm
Repositoryreverse-engineering-skill
Skillnaamderive-acceptance-criteria-from-business-logic
Sterren
46
Forks
7
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door meirm op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Derive Acceptance Criteria From Business Logic in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/meirm/reverse-engineering-skill/tree/main/skills/derive-acceptance-criteria-from-business-logic
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/meirm/reverse-engineering-skill.git /tmp/reverse-engineering-skill
mkdir -p .claude/skills
cp -r /tmp/reverse-engineering-skill/skills/derive-acceptance-criteria-from-business-logic .claude/skills/derive-acceptance-criteria-from-business-logic
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Derive Acceptance Criteria From Business Logic in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Derive Acceptance Criteria From Business Logic automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Derive Acceptance Criteria From Business Logic niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Deriving Acceptance Criteria from Business Logic

Project-agnostic. Use BDD/project_config.yaml → terminology for domain terms in scenarios when present (see tailor-bdd-skills-for-project).

Purpose

Transform trusted business logic into clear, testable acceptance criteria that can guide development and verify implementation. This is how BL starts leading software development.

Prerequisites

  • Refined business logic document (use refine-business-logic-for-implementation first)
  • Understanding of the target audience (product owners, developers, QA)
  • Access to project templates or standards for acceptance criteria

Instructions

Step 1: Parse the Business Logic Document

Read the refined BL and identify:

bash
cat path/to/refined_bl_document.md

Extract:

  • User-facing capabilities and features
  • Business policies and constraints
  • Workflows and user journeys
  • Error conditions and edge cases
  • Billing and financial rules

Step 2: Identify User Stories

For each capability, frame it as a user story:

markdown
Format:
  As a <actor>,
  I want to <capability>,
  So that <business_value>.

Examples:

markdown
As a [user role],
I want to [perform core action],
So that [business value].

As an administrator,
I want to monitor [account/balance] state,
So that I can ensure service continuity.

Step 3: Generate Given/When/Then Scenarios

For each user story, create specific scenarios using the Gherkin format:

gherkin
Scenario: <Descriptive title>
  Given <initial context>
  When <action occurs>
  Then <expected outcome>
  And <additional outcomes>

Scenario Categories:

  1. Happy path - Successful operation
  2. Sad path - Error conditions
  3. Edge cases - Boundary conditions
  4. Business rules - Specific policy enforcement

Step 4: Create Acceptance Criteria

For each user story, list concrete acceptance criteria:

markdown
Acceptance Criteria:
  1. [Specific, testable requirement]
  2. [Specific, testable requirement]
  ...

Good acceptance criteria are:

  • Specific and unambiguous
  • Testable (can be verified)
  • Independent (not dependent on other stories)
  • Negotiable (can be discussed and clarified)

Step 5: Add Implementation Checklist

Add technical checklist items for developers:

markdown
Implementation Checklist:
  - [ ] Database migration if needed
  - [ ] API endpoint changes
  - [ ] Background task modifications
  - [ ] Validation logic
  - [ ] Error handling
  - [ ] Logging requirements
  - [ ] Test coverage

Step 6: Define Non-Functional Requirements

Add relevant non-functional requirements:

markdown
Non-Functional Requirements:
  - Performance: <specific metrics>
  - Security: <specific requirements>
  - Reliability: <specific guarantees>
  - Scalability: <specific constraints>

Step 7: Define "Done" Criteria

Specify what "done" means for this story:

markdown
Done Means:
  - Code reviewed and approved
  - Unit tests written and passing
  - Integration tests passing
  - API documentation updated
  - Business logic document updated
  - No critical bugs outstanding

Step 8: Output the Acceptance Criteria Document

Structure the document:

markdown
# Acceptance Criteria: [Feature Name]

## User Stories
[List of user stories]

## Scenarios
[Given/When/Then scenarios for each story]

## Acceptance Criteria
[Testable requirements for each story]

## Implementation Checklist
[Developer checklist]

## Non-Functional Requirements
[Performance, security, etc.]

## Done Criteria
[Definition of done]

Best Practices

Given/When/Then Guidelines:

  • Given: Set up the initial state (avoid test setup details)
  • When: Describe the action or event
  • Then: Describe the observable outcome
  • Use business language, not technical implementation
  • Be specific with values (use actual numbers, not "valid value")

Acceptance Criteria Guidelines:

  • Start each criterion with a verb
  • Make it measurable (can be verified as pass/fail)
  • Focus on what, not how
  • Include business rules explicitly
  • Cover error cases

Implementation Checklist Guidelines:

  • Include all technical tasks
  • Consider database changes, API changes, background tasks
  • Don't forget tests and documentation
  • Include monitoring and logging if relevant

Common Anti-Patterns to Avoid

❌ Vague scenarios:

gherkin
Scenario: Query is processed
  Given a valid request
  When the request is processed
  Then it should work

✅ Specific scenarios:

gherkin
Scenario: Request submitted with sufficient balance
  Given an account with 100 [balance units]
  And the operation cost is 10 [units]
  When the user submits the [operation]
  Then the request is created with status "SUBMITTED"
  And the account balance is 90 [units]

❌ Implementation details in scenarios:

gherkin
Scenario: Database transaction works
  Given the database is available
  When the transaction starts
  Then the lock is acquired

✅ Business-focused scenarios:

gherkin
Scenario: Concurrent operations handled correctly
  Given an account with exactly 10 [balance units]
  When two users submit 10-unit operations simultaneously
  Then only one operation succeeds
  And the other is rejected with insufficient balance error

Examples

Example 1: Request/operation submission acceptance criteria

User request:

Create acceptance criteria for [request/operation] submission

You would:

User Story: As a [role], I want to [action], So that [value].

Scenarios: Write Given/When/Then for:

  • Successful submission with sufficient balance (include balance deduction and ledger/audit if applicable)
  • Rejection due to insufficient balance (correct status code, no deduction)
  • Rejection due to invalid input (validation error, no charge)
  • Concurrent submissions with exact balance (one succeeds, one rejected; balance never negative)

Acceptance Criteria: List testable conditions for: when the operation is accepted, when and how balance is deducted, when it is rejected and with which codes, and what the response includes.

Implementation Checklist: Validation, balance check, deduction (with concurrency safety if needed), ledger/audit, error codes, tests for concurrency. Use project terminology from config.

Example 2: Async job / status polling acceptance criteria

User request:

Create acceptance criteria for [async job] status polling

You would:

User Story: As a [role], I want to check [job/file] status so that I know when the result is ready.

Scenarios: Given/When/Then for: initial poll returns PROCESSING (with submission_time, estimated_completion); poll returns COMPLETED (with download/result URL and metadata); timeout leads to STALLED and user can request continue polling.

Acceptance Criteria: What the status API returns (status enum, timestamps, for COMPLETED: result URL/metadata, for STALLED: continue option); polling interval and max duration; STALLED and CONTINUE rules (reset counter, max CONTINUEs).

Non-Functional Requirements: Performance (e.g. API response time), reliability (retries), monitoring if applicable.

Acceptance Criteria Template

markdown
# Acceptance Criteria: [Feature Name]

## User Story
As a <actor>,
I want to <capability>,
So that <business_value>.

## Scenarios

### Happy Path
Scenario: [Descriptive title]
  Given [context]
  When [action]
  Then [outcome]

### Sad Path
Scenario: [Descriptive title]
  Given [context]
  When [action]
  Then [outcome]

### Edge Cases
Scenario: [Descriptive title]
  Given [context]
  When [action]
  Then [outcome]

## Acceptance Criteria

1. [Requirement 1]
   - [Sub-requirement or detail]
   - [Sub-requirement or detail]

2. [Requirement 2]
   - [Sub-requirement or detail]

## Implementation Checklist
- [ ] [Task 1]
- [ ] [Task 2]
- [ ] [Task 3]

## Non-Functional Requirements
- **Performance**: [Specific requirement]
- **Security**: [Specific requirement]
- **Reliability**: [Specific requirement]

## Done Means
- [ ] [Criteria 1]
- [ ] [Criteria 2]
- [ ] [Criteria 3]

Output Artifacts

The skill generates:

  1. User stories with clear value propositions
  2. Given/When/Then scenarios for BDD testing
  3. Acceptance criteria checklist for verification
  4. Implementation checklist for developers
  5. Non-functional requirements where applicable
  6. Done criteria for sprint completion

Veelgestelde vragen

Wat doet de AI-skill Derive Acceptance Criteria From Business Logic?

Converts trusted business logic into product-owner-grade acceptance criteria and developer-ready tasks using Given/When/Then scenarios. Use when creating user stories, preparing for sprints, or turning BL into executable requirements.

Waarom Derive Acceptance Criteria From Business Logic gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Derive Acceptance Criteria From Business Logic bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Derive Acceptance Criteria From Business Logic in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/meirm/reverse-engineering-skill/tree/main/skills/derive-acceptance-criteria-from-business-logic. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Derive Acceptance Criteria From Business Logic gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Derive Acceptance Criteria From Business Logic gebruiken?

Zoveel als je wilt. Je kunt Derive Acceptance Criteria From Business Logic gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Derive Acceptance Criteria From Business Logic gratis?

Ja. Deze skill is door meirm op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇