Skip to content
Back to skills

specdd-test

ASecurity

Use when Agent needs to derive, add, update, or assess tests from active SpecDD specs.

  • 0 votes
  • 0 copies
  • 4 views
  • Added June 12, 2026
toolsgotesting

Works with

  • cli

Security analysis

A100/100

Scanned June 12, 2026

npx -y skills add specdd/agentskills --skill specdd-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of specdd-test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for specdd-test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/specdd-specdd-test/badge)](https://www.skillsdirectory.com/skills/specdd-specdd-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: specdd-test
description: Use when Agent needs to derive, add, update, or assess tests from active SpecDD specs.
license: Apache-2.0
---

# 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:

1. `.specdd/bootstrap.md`
2. `.specdd/bootstrap.project.md`, if it exists
3. `.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:

1. Identify the target path, task, behavior, or changed files.
2. Resolve the effective spec chain using the active bootstrap rules.
3. Include same-directory basename specs when applicable.
4. Walk ancestor specs from the selected content root to the target.
5. Read explicit `References` only when they affect the requested work.
6. Read or reread the specific governing specs needed for the current decision when exact contract text is not already reliable in context.
7. 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

1. Identify test authority from the nearest relevant spec.
2. Derive cases from applicable `Must`, `Scenario`, `Handles`, `Returns`, `Raises`, `Tasks`, and `Done when` entries.
3. Prefer the smallest tests that prove the specified behavior.
4. 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.