acceptance-criteria-given-when-then

acceptance-criteria-given-when-then is a skill for Claude Code from PranavNagrecha/AwesomeSalesforceSkills. It costs 161 tokens per session (3,937 once invoked), scanned A, original, no licence file.

A guide for writing test-first acceptance criteria in Given/When/Then format for Salesforce user stories. Given/When/Then describes the starting situation, the action, and the expected result.

In plain words
What is it for?
Use it to write acceptance criteria that can guide user-acceptance testing and Apex test design.
Why use it?
It turns a user story into clear checks for normal cases, edge cases, failures, permissions, and data conditions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sfskills plugin — 74 skills, 69 commands, 50 agents shipped together

Good fit Use it to write acceptance criteria that can guide user-acceptance testing and Apex test design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PranavNagrecha/AwesomeSalesforceSkills --skill acceptance-criteria-given-when-then
Clone the repo
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills

Made for: Claude Code.

Or install sfskills, the plugin that ships this one along with the rest of its 74 skills, 69 commands, 50 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for acceptance-criteria-given-when-then

README.md
[![agentmods](https://agentmods.dev/badge/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then/github.svg)](https://agentmods.dev/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then)
Your own site
<a href="https://agentmods.dev/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then"><img src="https://agentmods.dev/badge/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acceptance-criteria-given-when-then

Your own site · 80×15
<a href="https://agentmods.dev/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then"><img src="https://agentmods.dev/badge/skills/pranavnagrecha/awesomesalesforceskills/acceptance-criteria-given-when-then.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00161 $0.03937
Opus 5 $0.00081 $0.01969
Sonnet 5 $0.00032 $0.00787
Haiku 4.5 $0.00016 $0.00394

Measured 9d ago against content hash 4e3561b43b7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

acceptance-criteria-given-when-then scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_ac_format.py, scripts/check_acceptance_criteria_given_when_then.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/admin/acceptance-criteria-given-when-then/SKILL.md · 261 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 261 lines · 161 tokens per session scan A 4e3561b43b7e

Subscribe to this mod's changes

acceptance-criteria-given-when-then is a skill published in the GitHub repository PranavNagrecha/AwesomeSalesforceSkills (17 stars, last pushed 8d ago), with no licence file. It adds 161 tokens to every session and 3,937 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

software-test-creation

Write failing tests for a TDD slice based on acceptance criteria and codebase conventions. Use when the "red" phase of red-green-refactor requires tests that define expected behavior before implementation exists. Discovers codebase test conventions first, writes test files that compile or parse but fail because the…

stencila/stencila · 82 tokens

tdd-workflow

Drive implementation through a test-first loop: write a failing test, make it pass with the simplest change, then refactor under a green suite. Use when the user asks for TDD or test-driven development, wants tests written before the code, is adding behaviour to code that has tests, is fixing a bug and wants a…

personamanagmentlayer/pcl · 97 tokens

testing-expert

Expert-level software testing with unit tests, integration tests, E2E tests, TDD/BDD, and testing best practices. Use when the user mentions TDD, BDD, unit tests, integration tests, or end-to-end tests, or when the task involves Testing Fundamentals, Unit Testing, Integration Testing, or End-to-End Testing.

personamanagmentlayer/pcl · 73 tokens

test-audit

Audit test suites for T1-T4 violations using AST analysis, mock detection, and multi-stage synthesis. Invoke when user asks to audit tests, check test quality, find mock violations, review test effectiveness, or inspect test suites for over-mocking. Triggers automatic rewrites when quality gates fail.

QBall-Inc/the-bulwark · 0 tokens

bdd-mathematical-verification

BDD-Driven Mathematical Content Verification Skill Combines Behavior-Driven Development with mathematical formula extraction, verification, and transformation using: Cucumber/Gherkin for specification RSpec for implementation verification mathpix-gem for LaTeX/mathematical content extraction Pattern matching on syntax…

plurigrid/asi · 89 tokens

test-driven-development

TDD workflow — Red, Green, Refactor cycle with practical examples.

furkangonel/cowrangler · 19 tokens