Specdd Test
Testing & Qualityspecdd-testSpecdd Test is an Agent Skill for testing & quality published in the aiskillstore/marketplace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when Agent needs to derive, add, update, or assess tests from active SpecDD specs.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/aiskillstore/marketplace/blob/HEAD/skills/specdd/specdd-test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/specdd-test, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
SpecDD Test
Use this skill to connect SpecDD contracts to focused verification.
Skill Scope
Use this skill only for projects that already have a root .specdd/bootstrap.md and are therefore SpecDD projects.
If .specdd/bootstrap.md is missing, do not continue with this skill. Use specdd-adopt only when the operator explicitly asks to add or adopt SpecDD in a new or existing non-SpecDD project.
Bootstrap Resolution
Ensure you know the active bootstrap chain for the target project. If it is not already reliable in the current context, read bootstrap files in this exact order:
.specdd/bootstrap.md.specdd/bootstrap.project.md, if it exists.specdd/bootstrap.local.md, if it exists
Apply them in that order. Later files may narrow or specialize earlier rules, but must not silently weaken project contracts, inherited constraints, or write authority.
Do not reread bootstrap files merely because another SpecDD skill or workflow phase starts. Reread the specific bootstrap file only when the active project root changes, a bootstrap file may have changed, or you need exact bootstrap text for a decision, quote, comparison, authorization, or report.
Spec Chain Resolution
Before planning, editing, reviewing, testing, or reporting on a target, ensure the effective spec chain for that target is known:
- Identify the target path, task, behavior, or changed files.
- Resolve the effective spec chain using the active bootstrap rules.
- Include same-directory basename specs when applicable.
- Walk ancestor specs from the selected content root to the target.
- Read explicit
Referencesonly when they affect the requested work. - Read or reread the specific governing specs needed for the current decision when exact contract text is not already reliable in context.
- Identify the nearest local spec that grants write authority before any edit.
Do not infer authority from similar filenames, nearby files, symbols, module names, or conventions unless the active bootstrap or a governing spec explicitly defines that mapping.
Do not reread an entire chain just because a workflow phase changed. Reopen the narrowest relevant spec when you need to apply, quote, compare, authorize, report, or edit against exact text, when the target scope changes, when a governing spec may have changed, or when earlier context came only from CLI output or a summary.
Workflow
- Identify test authority from the nearest relevant spec.
- Derive cases from applicable
Must,Scenario,Handles,Returns,Raises,Tasks, andDone whenentries. - Prefer the smallest tests that prove the specified behavior.
- Run the relevant project test command when available.
Test Rules
- Test observable behavior, not wording in the spec.
- Cover forbidden behavior when it can regress silently.
- Add regression tests for confirmed bugs.
- Do not create broad test harnesses unless the spec or project convention requires them.
- If the spec requires behavior but grants no clear test-file authority, ask before editing.
Report which spec entries each test covers and any specified behavior that still lacks verification.