Logo von Acceptance Criteria Given When Then

Acceptance Criteria Given When Then

Community
PranavNagrecha
acceptance-criteria-given-when-then

Use this skill when writing test-first, behavior-driven acceptance criteria in Given/When/Then format for a Salesforce user story. Covers happy path, edge cases, negative paths, permission boundaries, and data-state preconditions so the AC block can drive UAT scripts and Apex test design downstream. Trigger keywords: given when then, gherkin, behavior driven AC, test first acceptance criteria, scenario outline, BDD acceptance criteria. NOT for the user-story format itself (use admin/user-story-writing-for-salesforce). NOT for UAT script writing (use admin/uat-test-case-design). NOT for Apex test method generation (use agents/test-class-generator). NOT for high-level UAT planning (use admin/uat-and-acceptance-criteria). More triggers: acceptance criteria record, ac_id, req_id on a criterion, artefact under test, negative case for a rule-type requirement, no-match fall-through criterion, oracle for a Then clause, test type apex flow manual, criteria linter, check_ac_format.py, --manifest-dir.

Übersicht

HerausgeberPranavNagrecha
RepositoryAwesomeSalesforceSkills
Skill-Nameacceptance-criteria-given-when-then
Sterne
26
Forks
5
Mitgelieferte Dateien
9
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 9

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von PranavNagrecha auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Acceptance Criteria Given When Then in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/acceptance-criteria-given-when-then
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/acceptance-criteria-given-when-then .claude/skills/acceptance-criteria-given-when-then
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Acceptance Criteria Given When Then in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Acceptance Criteria Given When Then automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Acceptance Criteria Given When Then nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Acceptance Criteria — Given/When/Then for Salesforce

This skill activates when an author needs to convert a user story's intent into a precise, testable Given/When/Then (Gherkin-style) acceptance criteria block. The output drives three downstream artifacts: UAT scripts, the Apex test design plan, and the data-loader pre-flight shape. The discipline of this skill is forcing every "should" to have a paired "should not" and every behavior to declare its data-state and permission preconditions explicitly.


Before Starting

Gather this context before drafting AC:

  • Which persona, profile, and permission set group? A criterion that says "the user can edit Stage" is meaningless without naming the user's profile or PSG. AC for Salesforce always names the actor in permission terms, not job titles.
  • What is the data-state precondition? Most Salesforce behavior is conditional on record ownership, lifecycle stage, related-record existence, or sharing scope. AC must capture that state in the Given clause — not assume it.
  • Is this a bulk or single-record scenario? Salesforce executes triggers, flows, and validation rules in batches of up to 200 records. A criterion that only describes one-record behavior leaves the bulk path untested and is the most common cause of governor-limit defects in production.
  • Is there an integration or async boundary? If the behavior depends on a callout, Platform Event, or Queueable, the Then clause must say what is observable when — synchronously, after a poll, or after a job completes.

Questions to Ask Before Configuring

Ask these before a single Scenario is written. Each traces to a gotcha in references/gotchas.md; skipping one produces criteria that read well and prove nothing.

AskWhy it mattersWhat a good answer adds
"Which requirement id does this belong to, and does that requirement already have criteria somewhere else?"Ids are the join key the RTM, the workbook and the UAT script all read; two authors writing the same When is a backlog problem that only surfaces at sign-off (gotcha 6)A req_id on every criterion, and a merge-or-scope decision taken before duplicate criteria ship
"Who runs it — named user, profile, permission set — and do they hold record access as well as object access?"allowEdit on a permission set is an object-level capability; only modifyAllRecords / viewAllRecords bypass sharing, so "the PSG grants edit" is half a requirement (gotcha 5)A persona per criterion, plus the paired deny-case naming the user who must fail and how
"What happens when the rule matches nothing?"Every rule engine defines an order and a fall-through; the AC is the only place the fall-through owner gets named, and the first unmatched record in production is where it is discovered otherwise (gotcha 10)A criterion marked negative whose Given is "matches no entry" and whose Then names the fall-through
"Which clock measures every elapsed time here — wall clock, or a business-hours calendar with holidays?"Escalation and milestone targets run on the calendar attached to the record, and holidays suspend it; a Then written in clock hours will be reported as a defect against working metadata (gotcha 12)The calendar named in the Given, a holiday criterion per calendar, and the sign on any warning trigger
"How will we observe the Then — a field value, a query, an error string, or a mailbox?"A Then with no named observable is untestable, and a query against an untracked field cannot fail (gotchas 4 and 13)A proof on every criterion, and the automatable-vs-manual verdict that falls out of it
"Which sandbox proves this, and what must be seeded there first?"Personas, seed records and field-history tracking are preconditions of the oracle, not of the behaviour, so they belong in the Background rather than in a tester's head (gotcha 13)sandbox and seed_data on every criterion, and the tracking the oracle depends on declared once
"Will this behaviour ever meet 200 records at once, and through which tool?"Governor limits bite at the batch, not the record, and Data Loader, Bulk API 2.0 and REST disagree about whether rules run at all when nothing is specified (gotchas 7 and 11)A bulk criterion with the entry path pinned, and an honest manual verdict for the paths Apex cannot exercise

What a proper criteria set adds over just writing "the user can do X": every criterion names the actor, the record state, the artefact under test and the thing that proves it, so a pass is evidence and a failure points at one component instead of a feature.


Core Concepts

The Given/When/Then Anatomy

Given/When/Then (also called Gherkin, after the Cucumber syntax) splits each acceptance criterion into three clauses:

  • Given — the precondition. State of the org, user identity, record ownership, related-record existence, sharing scope, picklist value of a field, status of a parent record. Givens are facts true before the action.
  • When — the action. Exactly one event: a record is created, a field is updated to a value, a button is invoked, a Platform Event is published, a batch job runs. One AC = one When.
  • Then — the observable, deterministic outcome. A field has a specific value, a record exists with specific fields, a validation error fires with a specific message, a callout is sent with a specific payload, a Task is created on a specific record.

A criterion is testable only if all three are present. Drop the Given and the test cannot be set up reproducibly. Drop the When and the test has no trigger. Drop the Then and the test has no oracle. The Salesforce Trailhead BA curriculum aligns with this format and recommends "if/then" phrasing as a simpler equivalent — Given/When/Then is the more rigorous extension that explicitly carves out the precondition from the trigger.

Scenario Outlines and Examples Tables

When the same Given/When/Then shape applies to multiple data points (different stages, different record types, different user profiles), do not write n nearly-identical scenarios. Instead, parameterize with a Scenario Outline and an Examples table:

Scenario Outline: Stage transitions allowed by Sales Process

  Given an Opportunity owned by a user in the "Sales_Rep_PSG" permission set group
    And the Opportunity StageName is "<from_stage>"
   When the user updates StageName to "<to_stage>"
   Then the save <result>
    And StageName is "<final_stage>"

  Examples:
    | from_stage      | to_stage          | result                                | final_stage     |
    | Prospecting     | Qualification     | succeeds                              | Qualification   |
    | Qualification   | Closed Won        | fails with "Skip-stage not allowed"   | Qualification   |
    | Negotiation     | Closed Lost       | succeeds                              | Closed Lost     |
    | Closed Won      | Prospecting       | fails with "Cannot reopen Closed Won" | Closed Won      |

This is the cleanest way to drive a parameterized Apex test or UAT matrix. The test generator skill consumes the Examples rows directly as test-method seeds.

Negative-Path Discipline (Every "Should" Pairs With a "Should Not")

The single highest-value rule in this skill: every happy-path AC must have a paired negative-path AC. If the story says "a Sales Rep should be able to set Stage to Closed Won when Probability is 100", the AC block must also include "a Sales Rep should NOT be able to set Stage to Closed Won when Probability is below 100, and the validation message is X." The vast majority of UAT regressions come from missing negative paths, not missing happy paths.

The same discipline applies to permission boundaries: for every "user with PSG-A can do X" there must be a "user without PSG-A cannot do X, and the system response is Y" (CRUD denial, FLS hidden, sharing access denied, validation error).

Permission and Sharing Preconditions

Salesforce behavior is conditional on the running user's permissions and sharing context. AC that says "the user can see the Credit Limit field" is wrong; AC that says "Given a user in the Finance_Reader PSG, when they open the Account record page, then the Credit Limit field is visible read-only" is correct. Always name:

  • The profile or permission set group
  • The role / role hierarchy position when sharing matters
  • Whether the user is the record owner, a member of an Opportunity Team, in a queue, or accessing via a sharing rule
  • Any field-level security override

Data-State Preconditions

Most Salesforce defects trace back to an unstated data assumption. AC must explicitly state:

  • Record ownership ("Given an Opportunity owned by user A")
  • Lifecycle stage / status of parent and child records
  • Picklist values that gate behavior
  • Whether related records exist and how many
  • Whether the org is sandbox, scratch, or production-like (for sandbox-sensitive features such as email deliverability)

Avoid UI-Coupled Language

Do not write AC against the chrome of the UI: button labels, page tab names, toast positions, color, the exact path through the App Launcher. UI changes between releases; behavior does not. Replace "click the Save button" with "the record is saved", "navigate to the Opportunities tab" with "view a list of Opportunities the user has access to". The AC is a behavior contract, not a click script — that comes later in the UAT script (a separate skill).

Handoff to Test Design

Well-formed Given/When/Then AC is consumed by three downstream agents:

  1. agents/test-class-generator/AGENT.md uses each Scenario as a test method seed and each Examples row as parameterized data.
  2. agents/data-loader-pre-flight/AGENT.md uses the Given clauses to compute the record shape required to seed UAT and integration tests.
  3. admin/uat-test-case-design translates each Scenario into a step-by-step UAT script with screenshots and tester instructions.

If the AC is missing a Given (precondition), test-class-generator will hallucinate the seed; if it is missing the bulk path, the Apex test will pass at one record and break in production.

Requirement Ids on Every Criterion

A criterion with no requirement id is untraceable the moment it leaves the story. Use the RTM convention — REQ-nnn, assigned during elicitation, immutable, never reused (admin/requirements-traceability-matrix § ID Conventions) — and carry it on every row. Criterion ids are scoped to the requirement: AC-001.2 is the second criterion of REQ-001, and it is the ac_id the UAT script joins on (admin/uat-and-acceptance-criteria § The UAT Script).

FG-XXX ids in the configuration workbook map 1:1 to REQ-XXX ids. admin/configuration-workbook-authoring § Per-Row Schema documents source_req_id as "the RTM req_id", while the worked rows in that skill's references/examples.md carry FG-014, FG-031, FG-051 — fit-gap row ids. The two spaces are one-to-one and the pairing is recorded upstream, on each requirements-catalogue row as downstream.fit_gap_row (admin/requirements-gathering-for-sf § The Requirements Catalogue). Write req_id in acceptance criteria; translate to FG- only when writing into a workbook that already uses it, and never renumber either space to make them line up.


Common Patterns

Pattern: One AC = One Behavior, One Outcome

When to use: Always. Compound AC like "the user can save the record AND a Task is created AND an email is sent" is three separate scenarios, not one. Splitting them lets the team see exactly which one regresses.

How it works: Use a single When and a single primary Then per scenario. Use And to chain related assertions on the same outcome (multiple field values on the same created record). Use a new Scenario when the outcome is a different system observable (a different record created, a different email sent).

Why not the alternative: Compound AC hide which assertion failed in UAT and force test-class-generator to write tests with multiple oracles in one method, which violates Apex test single-responsibility.

Pattern: Permission-Precondition Block at the Top of Each Scenario Set

When to use: Whenever the story involves more than one user role or an explicit permission boundary.

How it works: Open the AC block with a "Background" section that lists the user identities and PSGs that subsequent scenarios reference. Each Scenario then says "Given a user in <role>" without re-introducing the role.

Background:
  Given a user "Alice" in the "Sales_Rep_PSG" permission set group with role "EMEA Sales"
    And a user "Bob"   in the "Sales_Manager_PSG" permission set group with role "EMEA Sales Manager"
    And the Opportunity OWD is "Private"

Scenario: Owner can edit Stage
  Given an Opportunity owned by Alice
   When Alice updates StageName to "Qualification"
   Then the save succeeds

This forces the author to declare the sharing model up front (OWD private, role hierarchy in play) and prevents repetition.

Pattern: Bulk Path Scenario Per Behavior

When to use: Any AC that describes Apex trigger, record-triggered flow, validation rule, or integration behavior.

How it works: For every single-record happy-path scenario, add a corresponding bulk scenario with explicit volumes:

Scenario: Bulk Stage update across 200 Opportunities
  Given 200 Opportunities owned by users in "Sales_Rep_PSG" with StageName "Prospecting"
   When a Data Loader update sets StageName to "Qualification" on all 200
   Then all 200 saves succeed without governor-limit errors
    And LastModifiedDate is set on each record

200 is the trigger batch size. The bulk scenario is what protects the design from a single-record-only Apex test that passes in CI and fails on a Data Loader run.


Decision Guidance

SituationRecommended ApproachReason
Story straddles two object lifecycles (e.g. Opportunity → Order conversion)Split into two AC blocks, one per object, with cross-referencesEach block is independently testable and matches a single Apex test class scope
Behavior depends on async (Queueable, Platform Event)Use "Then eventually" with a polling clause and a max-wait timeSynchronous Then on async behavior produces flaky tests
Behavior is FLS- or sharing-conditionalAdd a permission-precondition Background blockPrevents per-Scenario repetition and surfaces the sharing model explicitly
Same shape applies to many picklist values or record typesScenario Outline with Examples tableDrives parameterized Apex tests and matrix UAT
AC has more than one WhenSplit into multiple ScenariosOne AC = one behavior; compound When hides which step failed
Story is a "look and feel" change (color, spacing)Reject for AC; redirect to UX reviewGiven/When/Then is for behavior, not aesthetics
Behavior involves a callout to an external systemUse "the system sends a request to " not "the system calls API"Names the named credential the integration tests can stub
Volume exceeds 10,000 records per transactionAdd a bulk-failure Scenario that asserts partial-success behaviorForces design of Database.SaveResult handling, not "all-or-nothing" assumption

Recommended Workflow

  1. Pull the requirement and its id. Take the REQ-nnn from the RTM or the requirements catalogue and carry it unchanged onto every criterion you write. If the workbook row you are testing shows an FG- id in source_req_id, translate it rather than renumbering — see § Requirement Ids on Every Criterion and references/worked-examples.md § 1.
  2. Answer the seven questions above, then write the Background once. Sandbox, named users with their permission sets, seed records, and any field-history tracking an oracle will depend on. references/worked-examples.md § 3 is the filled-in shape; the persona roster comes from admin/uat-and-acceptance-criteria, not from this skill.
  3. Write the happy path, then its deny-case, for each behaviour verb. One Given, one When, one Then, And only for related assertions on the same outcome. For a rule-type requirement (assignment, auto-response, escalation, duplicate, validation) the deny-case that names the no-match fall-through is mandatory — references/gotchas.md gotcha 10.
  4. Give every Then an oracle, then decide automatable. Name a field value, a queryable row, or an exact error string. The oracle decides the verdict, not the technology: if the only way to observe it is to wait for a clock or read a mailbox, the criterion is manual. references/worked-examples.md § 6 records the verdict and the platform fact behind it.
  5. Compress and cover volume. Collapse near-duplicate Scenarios into a Scenario Outline with an Examples table; add a bulk Scenario per trigger / flow / validation behaviour with the entry path pinned (the Data Loader Assignment rule setting, the Bulk API assignmentRuleId, or the REST default) — references/gotchas.md gotcha 11.
  6. Emit the record and lint it. Use the YAML shape in references/worked-examples.md § 5, or the markdown table in § 7 for story tools that cannot hold YAML, then run python3 scripts/check_ac_format.py --file acceptance-criteria.yaml (or --manifest-dir ./docs/stories/ for a folder). The same script still lints a Gherkin story markdown. Fix every ERROR before handing off.
  7. Hand off. admin/uat-and-acceptance-criteria turns the ac_ids into a UAT programme; agents/test-class-generator/AGENT.md takes the criteria marked test_type: apex; agents/data-loader-pre-flight/AGENT.md reads the Given clauses for the seed shape.

Review Checklist

Run through these before marking the AC block complete:

  • Every Scenario has exactly one Given, one When, one Then (with optional And chains)
  • Every happy-path Scenario has a paired negative-path Scenario
  • Every Scenario names the running user by PSG / profile, not by job title
  • Every Scenario states the record ownership / lifecycle precondition explicitly
  • No Scenario uses UI-chrome language (button labels, click verbs, tab names, toast position)
  • Each behavior has at least one bulk Scenario with explicit volume (200, 10k, etc.)
  • Any async behavior uses "eventually" with a max-wait time, not synchronous Then
  • Any Examples-table parameterization compresses what would otherwise be near-duplicate Scenarios
  • Validation-rule expectations name the exact error message text
  • Integration expectations name the named credential, not "the API"
  • Every criterion carries a req_id, a persona, a sandbox, the artefact under test, and a proof
  • Every rule-type requirement (assignment, auto-response, escalation, duplicate, validation) has a criterion for the no-match fall-through
  • Every elapsed-time Then names the number, the unit, and the calendar that measures it
  • python3 scripts/check_ac_format.py --file <record> reports 0 errors

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems when the AC misses them:

  1. Bulk path missing means a passing CI test that breaks under Data Loader — Apex governor limits do not bite at 1 record. They bite at 200. AC that says only "the trigger updates the record" without a bulk Scenario produces an Apex test that uses one record, passes, and fails on the first real load. Always pair single-record Scenarios with bulk Scenarios.
  2. Async outcome stated synchronously — When the behavior is implemented as a Queueable, Platform Event subscriber, or batch job, a synchronous Then ("the field is updated") will be false in the moment the calling transaction commits. Use Then eventually within N seconds and let test-class-generator know it must enqueue / poll.
  3. Shared/owned ambiguity — AC that says "a Sales user can edit the Opportunity" without naming whether the user is the owner, in the Account team, or accessing via role hierarchy leaves the sharing model unstated. The build team will pick a default that may not match the business intent — and UAT will not catch it because the testing user is also unclear.

Output Artifacts

ArtifactDescription
AC blockGiven/When/Then scenarios pasted into the user story body, with Background and Examples tables
Scenario OutlineParameterized table for any AC that varies by picklist value, record type, or user role
Negative-path listOne-to-one paired deny-case scenarios for every happy-path scenario
Permission precondition blockNamed users, PSGs, roles, and OWD context referenced by all Scenarios in the story
Bulk path scenariosPer-behavior 200-record (or higher) Scenarios that protect the trigger / flow design from governor-limit regressions
Criteria recordThe same criteria as a lintable YAML file or markdown table — ac_id, req_id, persona, sandbox, seed data, artefact, test_type, negative, Given/When/Then, proof — the shape scripts/check_ac_format.py reads and admin/uat-and-acceptance-criteria consumes
Automatability verdictPer criterion: Apex test, Flow test, or manual, with the platform fact that decided it

Reference Files

FileRead it when
references/worked-examples.mdYou need six requirements from one real build worked into criteria — Background, Given/When/Then per requirement, sandbox / persona / seed data / artefact / proof per criterion, the automatable verdict with the platform fact behind it, and the same set as a lintable YAML record and as a markdown table
references/gotchas.mdBefore writing a Then, and before calling a criterion automatable — 13 failure modes with what happens / when it occurs / how to avoid, the platform ones grounded in the guides
references/examples.mdYou want three complete AC blocks (Probability gate, sharing visibility, bulk duplicate load) plus the compound-AC anti-pattern and how to turn a visibility Then into a query oracle
references/well-architected.mdYou are justifying the criteria depth to a delivery lead, or you need the source behind a platform claim (## Official Sources Used)
references/llm-anti-patterns.mdYou are reviewing AI-generated acceptance criteria before they reach a build team or a tester
templates/ac-template.mdStarting a new AC block — copy, fill the placeholders, then lint
templates/acceptance-criteria-given-when-then-template.mdStarting a working session on an existing story — records the context gathered and the patterns chosen
scripts/check_ac_format.pyBefore every handoff — lints a criteria record (YAML or markdown table) or a Gherkin story file; --file for one, --manifest-dir for a folder

Related Skills

  • admin/user-story-writing-for-salesforce — produces the As a / I want / So that wrapper that this skill's AC block lives inside
  • admin/uat-test-case-design — translates each Scenario in this skill's output into a step-by-step UAT script
  • admin/uat-and-acceptance-criteria — higher-level UAT planning skill that this technique slots into
  • admin/requirements-gathering-for-sf — produces the upstream user stories whose ACs this skill formats
  • agents/test-class-generator/AGENT.md — consumes the AC block and Examples tables to design Apex test classes
  • agents/data-loader-pre-flight/AGENT.md — uses Given clauses to compute the seed-data shape for UAT loads
  • admin/requirements-traceability-matrix — owns the REQ-nnn convention every criterion carries, and the forward/backward traceability the ac_id closes
  • admin/configuration-workbook-authoring — consumes criteria through source_req_id; its worked rows are where the FG-XXX ids come from
  • admin/case-management-setup — supplies the case-intake build that references/worked-examples.md writes criteria against

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Acceptance Criteria Given When Then?

Use this skill when writing test-first, behavior-driven acceptance criteria in Given/When/Then format for a Salesforce user story. Covers happy path, edge cases, negative paths, permission boundaries, and data-state preconditions so the AC block can drive UAT scripts and Apex test design downstream. Trigger keywords: given when then, gherkin, behavior driven AC, test first acceptance criteria, scenario outline, BDD acceptance criteria. NOT for the user-story format itself (use admin/user-story-writing-for-salesforce). NOT for UAT script writing (use admin/uat-test-case-design). NOT for Apex...

Warum Acceptance Criteria Given When Then in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Acceptance Criteria Given When Then besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Acceptance Criteria Given When Then in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/acceptance-criteria-given-when-then ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Acceptance Criteria Given When Then nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Acceptance Criteria Given When Then verwenden?

So viele Sie möchten. In TypingMind können Sie Acceptance Criteria Given When Then mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Acceptance Criteria Given When Then kostenlos?

Der Skill wird von PranavNagrecha auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇