/prometheus-skills-mini:bdd-cucumber-jsfrom prometheus-skills-mini
Author Gherkin features, real assertions, step definitions and runner configuration for adopted scenario IDs on plain Node (cucumber-js, ESM, no TypeScript or browser required for API and CLI scenarios). Default mode is author-only; execution belongs to value-scenario-verify at the authorized phase boundary.
Ships in prometheus-skills-mini. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Compact mini counterpart of the full pack's JS BDD guidance. It covers API and CLI scenarios that need no browser, Rust toolchain, shell or Python helper, or service. Playwright, video proof and Rust BDD are not part of mini's skill set.
author-only <contract-reference> <scenario-IDs> consumes adopted scenario IDs
and writes features, assertions, steps and config. Read
the author-only procedure and stop after writing.
Do not execute or import the generated code, dry-run, build, lint, typecheck,
install dependencies or edit protected scenarios.execute <contract-reference> <scenario-IDs> is a separate request: follow
value-scenario-verify and require the complete agreed value-phase production
plus current boundary authority before any command in "Running" below. A task,
hour, commit or reviewer request is not that boundary, and exit code zero is
not an assertion.Define scenarios first (value-scenario-discovery), then author under the
governing repository policy. Where that policy is production-first (mini's A-9),
wait for the complete production implementation before writing these files.
Unknown or unadopted IDs block. Available tools or example commands are not
execution permission. Report authored artifacts as NOT_EXERCISED.
tests/bdd/
features/<capability>/<name>.feature one feature per file, scenarios tagged with stable IDs
steps/<name>.steps.mjs ESM step definitions
support/world.mjs World: base URL, scratch root, process handles
assertion-map.json scenario ID -> assertion/oracle provenance
cucumber.mjs runner config (ESM default export)
Keep fixtures under the contract's scratch fixture root, not the repository tree.
@API @SCN-001
Feature: Export a report
Scenario: Operator exports a report over the real CLI
Given a fixture workspace with 3 records
When the operator runs the export command
Then the exported file contains exactly those 3 records
Rules: declarative steps; one behavior per scenario; tag every scenario with its
adopted ID (^[A-Z]+-[0-9]+$) and @API or @CLI; use Scenario Outline for
data variation. Steps exercise the production entry named in the contract.
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { When, Then } from '@cucumber/cucumber';
When('the operator runs the export command', function () {
// Real production entry; argv comes from the adopted contract, no shell.
execFileSync(process.execPath, [this.entry, 'export', '--out', this.outFile], { cwd: this.scratchRoot });
});
Then('the exported file contains exactly those {int} records', function (count) {
const rows = JSON.parse(readFileSync(join(this.scratchRoot, 'out.json'), 'utf8'));
// expectedRecords comes from the adopted fixture, captured before running the CLI.
assert.equal(this.expectedRecords.length, count);
assert.deepEqual(rows, this.expectedRecords);
});
Use async function (not arrow functions) so this is the World. For HTTP use
fetch against the endpoint the contract names. Never write a step that only
returns success, asserts exitCode === 0, or reuses the product's output as its
own expected value; each Then compares against an independent truth.
// cucumber.mjs
export default {
import: ['tests/bdd/support/*.mjs', 'tests/bdd/steps/*.mjs'],
paths: ['tests/bdd/features/**/*.feature'],
format: ['json:tests/bdd/reports/cucumber.json'],
};
Tag selection (tags: '@SCN-001') is added per profile. Package versions are
read from the project's own manifest and versions.toml; this skill pins none.
For every authored ID record in assertion-map.json: contract digest,
requirement source, expected-truth source, real boundary, and the plausible false
positive the assertion excludes. This feeds the negative control that
value-scenario-verify runs later.
Only after the boundary is admitted, using the contract's boundaryPacket
commands, for example npx --no-install cucumber-js. --no-install forbids
silent downloads; a missing package is BLOCKED, not fixed. --dry-run loads
support code and skips steps: it is neither author-only nor evidence. Triage a
failure as product failure versus prerequisite, fixture, permission or evidence
failure; retries and flake tags never turn a failing oracle into PASS.
Related: value-scenario-discovery, value-scenario-verify,
docs/value-scenario-workflow.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skills-mini --plugin prometheus-skills-mini106 skills in this plugin
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's per-change QA gate (diff mode). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state./agent-team-handoffPrepare and accept a durable handoff between agent roles or coding harnesses using task context, Git identity, evidence and memory references. Use when work must continue in another harness or agent; use agent-team-manage for ordinary same-owner task updates. Do not use for ordinary same-owner task updates (see agent-team-manage).Other plugins' skills for the same job