scaffold-archipy-bdd

scaffold-archipy-bdd is a skill for Claude Code from SyntaxArc/archipy-plugin. It costs 46 tokens per session (766 once invoked), scanned A, original, MIT.

A generator for setting up Behave BDD acceptance tests in an ArchiPy application. BDD, or behavior-driven development, describes expected behavior as user-readable scenarios before connecting them to Python steps.

In plain words
What is it for?
Use it when adding acceptance tests under a features/ folder, with either mocked services or real Redis, PostgreSQL, and other test containers.
Why use it?
It removes the repetitive work of creating the folders, shared test context, hooks, and optional container setup needed for these tests.

Skill for Claude Code

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

Part of the archipy plugin — 12 skills, 19 commands shipped together

Good fit Use it when adding acceptance tests under a features/ folder, with either mocked services or real Redis, PostgreSQL, and other test containers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/syntaxarc/archipy-plugin/scaffold-archipy-bdd
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 SyntaxArc/archipy-plugin --skill scaffold-archipy-bdd
Clone the repo
git clone --depth 1 https://github.com/SyntaxArc/archipy-plugin

Made for: Claude Code.

Or install archipy, the plugin that ships this one along with the rest of its 12 skills, 19 commands.

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 scaffold-archipy-bdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/syntaxarc/archipy-plugin/scaffold-archipy-bdd.svg)](https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-archipy-bdd)
Your own site
<a href="https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-archipy-bdd"><img src="https://agentmods.dev/badge/skills/syntaxarc/archipy-plugin/scaffold-archipy-bdd.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 766 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.00046 $0.00766
Opus 5 $0.00023 $0.00383
Sonnet 5 $0.00009 $0.00153
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

scaffold-archipy-bdd 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 7d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (reference/environment.py, reference/scenario_context_pool_manager.py, reference/scenario_context.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/scaffold-archipy-bdd/SKILL.md · 86 lines

How it starts

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

Scaffold ArchiPy BDD

Before writing files

Ask the user for:

  1. Feature name / file stem (e.g. user_registration)
  2. Mode: mocks only vs infra (@needs-* + testcontainers)

Prefer ArchiPy

uv add "archipy[behave]"
# infra mode also:
uv add "archipy[testcontainers]"

Generate

Under project root (create shared files only if missing):

features/
├── <name>.feature
├── steps/
│   └── <name>_steps.py
├── scenario_context.py              # always — adapt from ArchiPy pattern
├── scenario_context_pool_manager.py # always — Singleton pool
├── environment.py                   # always — behave hooks
├── test_helpers.py                  # always — get_current_scenario_context
└── test_containers.py               # infra mode only — ContainerManager + needed containers
.env.test                            # infra mode — REDIS__IMAGE, POSTGRES__IMAGE, …

Model after ArchiPy features/ + docs tutorial (consumer-slim — no library gRPC/Temporal special cases unless the app needs them).

Copy templates from reference/, adapt package imports, create only if missing:

Destination Template
features/scenario_context.py reference/scenario_context.py
features/scenario_context_pool_manager.py reference/scenario_context_pool_manager.py
features/test_helpers.py reference/test_helpers.py
features/environment.py reference/environment.py

Uncomment / wire ContainerManager in environment.py when mode is infra.

features/test_containers.py (infra mode)

Copy pattern from ArchiPy features/test_containers.py, not the full multi-service registry:

  1. TAG_CONTAINER_MAP (needs-redisredis, …)
  2. ContainerManager with register, get_container, start_containers, extract_containers_from_tags, stop_all
  3. Only register containers the app actually tests (e.g. one RedisTestContainer Singleton that starts RedisContainer, patches BaseConfig.global_config().REDIS)

Read the full file on GitHub · 86 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 86 lines · 46 tokens per session scan A 63b3fb17c785

Subscribe to this mod's changes

scaffold-archipy-bdd is a skill published in the GitHub repository SyntaxArc/archipy-plugin (2 stars, last pushed 14d ago), licensed MIT. It adds 46 tokens to every session and 766 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

bdd-methodology

Use when writing, reviewing, or structuring BDD scenarios in Gherkin format. Covers Given/When/Then conventions, scenario outline patterns, background usage, tag strategies, and domain language alignment. Load before any Gherkin authoring.

SebastienDegodez/skraft-plugin · 54 tokens

playwright-evidence

Use when capturing E2E test evidence (screenshots, videos, traces) and storing them in .copilot-tracking/skraft-plans/{projectSlug}/changes/{date}/evidence/{story}/evidence/ for agents to consume. Covers Playwright setup, on-failure capture, trace collection, and evidence manifest generation.

SebastienDegodez/skraft-plugin · 73 tokens

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens

e2e-testing-patterns

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

wshobson/agents · 51 tokens

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-X/claude-workflow-v2 · 48 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

code-yeongyu/oh-my-openagent · 51 tokens