sd-plan-tests

sd-plan-tests is a skill for Claude Code from lukasrepublic/agentic-foundry. It costs 133 tokens per session (2,401 once invoked), scanned A, original, MIT.

A test-planning procedure that turns each approved acceptance criterion into planned happy-path, edge-case, negative, and baseline tests.

In plain words
What is it for?
It helps create a per-requirement test plan before implementation, including normal behavior, unusual inputs, failures, and checks that existing behavior still works.
Why use it?
Planning tests before writing code reduces the chance that important behaviors are missed or that coverage is shaped only by the implementation.

Skill for Claude Code

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

Part of the foundry plugin — 81 skills, 8 agents, 8 hooks, 1 MCP server shipped together

Good fit It helps create a per-requirement test plan before implementation, including normal behavior…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukasrepublic/agentic-foundry/sd-plan-tests
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 lukasrepublic/agentic-foundry --skill sd-plan-tests
Clone the repo
git clone --depth 1 https://github.com/lukasrepublic/agentic-foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 81 skills, 8 agents, 8 hooks, 1 MCP server.

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 sd-plan-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/sd-plan-tests.svg)](https://agentmods.dev/skills/lukasrepublic/agentic-foundry/sd-plan-tests)
Your own site
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/sd-plan-tests"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/sd-plan-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,401 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 original 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.00133 $0.02401
Opus 5 $0.00067 $0.01201
Sonnet 5 $0.00027 $0.00480
Haiku 4.5 $0.00013 $0.00240

Measured 3d ago against content hash 971691eedc1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sd-plan-tests 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 3d ago.

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/sd-plan-tests/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sd-plan-tests — derive a per-AC test plan before implementation (SDLC step 5)

The software-delivery step sequence (a documented procedure this skill family forms — no workflow engine or state-machine file ships)'s step 5 is test-planning: the craft step that sits between front-authorization (the ACs are frozen) and implementation (code is written). Its job is to enumerate, before code exists, the behavioral cases each authorized AC implies — so the downstream test suite the merge floor's CI runs has real behavioral coverage instead of accidental coverage reverse-engineered from whatever the implementation happened to do.

This is a PROCEDURE craft skill: a deterministic enumeration procedure with a structured, parseable output. It is ADVISORY — it advises the trusted operator; it is NOT a gate and NOT a defense against the operator. It catches the omission mistake (an AC whose edge/negative/baseline cases were never enumerated); it does not enforce that you follow the plan, nor police a hostile operator. Current reality (named honestly, not silently papered over): the completeness accounting below is presently an author self-check against the enumerated rules, not a machine-verified predicate — the v0.25.0 test-suite realignment's doctor-thinning (2,900 → 255 lines) retired the the drop-in per-check selftest + its foundry-doctor.py --sd-plan-tests-selftest registration along with the whole drop-in-check registry, and (unlike several other checks) this one was not yet ported to the tests/ pytest suite. Applying the accounting below is still the right procedure; it is a self-check, not a gate, until a pytest port lands. The judgment (are these the RIGHT cases? are the assertions meaningful?) is trusted craft this skill does not claim to verify.

When to trigger

  • After /foundry:authorize has frozen an atom's acceptance-contract.yaml (spec_sha256 + contract_sha256 written) and before dispatching its implementation.
  • "plan the tests for <atom>", "derive the test plan", or SDLC step 5 of software-delivery.

Read the full file on GitHub · 155 lines

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. 3d ago First seen · 155 lines · 133 tokens per session scan A 971691eedc1b

Subscribe to this mod's changes

sd-plan-tests is a skill published in the GitHub repository lukasrepublic/agentic-foundry (1 stars, last pushed 2d ago), licensed MIT. It adds 133 tokens to every session and 2,401 once invoked, about $0.0007 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

journey-simulation

Use when caller wants to observe how a stranger encounters a flow, artifact, or sandbox — triggers like "simulate a user journey", "test our onboarding / checkout / signup", "will my ICP convert", "how does a cold reader experience this README", "first-time user test", "cognitive walkthrough", or any request to…

RockyHong/super-bootstrap · 79 tokens

are-you-done

A completion checker for coding work that asks for evidence before allowing an assistant to say a task is finished.

Keonho-Chu/menhera-loop · 27 tokens

yolo-verify

Use to check a feature's work against its successcriteria and record the result. Produces verification.md and, on pass, the YOLO-Verified trailer. Triggers on "verify this", "does it meet the criteria", or as the verify step of yolo-feature.

CoriChui/yolo · 62 tokens

test-architect

Acts as a Principal Test Architect to plan, write, prune, run, and hand off automated tests for any codebase in any language or framework — never touching production code, never committing, never running against production. Use whenever the user wants to add, fix, expand, refactor, or review tests for a feature, bug…

raghatatepiyush/ringmaster · 221 tokens

scenarios-from-requirements

Write brutally thorough, fully-traceable test scenarios from a requirement — a Jira/Confluence (or Trello/Linear/Azure DevOps/GitHub Issues) source of truth — BEFORE any test code, then a self-contained HTML/CSV coverage report. This is the requirements-first counterpart to the Test Architect: it trusts the spec and…

raghatatepiyush/ringmaster · 200 tokens

g-review

Run the review gate on the current branch diff. Runs the test suite, captures the diff, and dispatches code-lead, which verifies done conditions and reviews the diff itself. Issues MERGE READY or HOLD.

onlygian/G-Forge · 46 tokens