write-tests

Generate test cases from bead acceptance criteria.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Dektora/dekspec-public --skill write-tests-dektora
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-tests
Source: https://github.com/Dektora/dekspec-public/tree/main/plugins/dekspec/skills/write-tests
Command: npx skills add https://github.com/Dektora/dekspec-public --skill write-tests-dektora

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of writing tests based on acceptance criteria defined for a bead, streamlining the test development workflow and ensuring comprehensive test coverage.

Core Features & Use Cases

  • Automated Test Generation: Derives test cases directly from bead acceptance criteria.
  • Mode Selection: Offers various modes for different test writing scenarios, including help, teaching, audit, revise, integration, and bead test modes.
  • Use Case: After writing acceptance criteria for a bead, use this Skill to automatically generate test cases that can be executed to verify the bead's functionality.

Quick Start

To write tests for a bead, use the command: /write-tests BEAD-NNN

Frequently Asked Questions about write-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate test writing from acceptance criteria?

The write-tests skill automates test generation by deriving test cases directly from bead acceptance criteria. It applies to software development workflows requiring automated tests for public interface verification.

What is bead testing and how does it work for test generation?

Bead testing uses acceptance criteria defined for a bead to automatically generate test cases. The skill parses these criteria to produce executable tests that verify the bead's public interface functionality.

Can I generate different types of test cases depending on my development scenario?

Yes, the skill offers multiple modes for different test writing scenarios, including help, teaching, audit, revise, integration, and bead test modes. You select the appropriate mode to fit your specific workflow needs.

How do I generate tests for a specific bead using a command?

To generate tests for a specific bead, use the command `/write-tests BEAD-NNN` by replacing BEAD-NNN with your target bead identifier. The skill then processes the acceptance criteria for that bead.

Do I need external tools to execute the test cases generated from acceptance criteria?

Yes, while the skill generates the test cases, it requires integration with the overall workflow and potentially external tools for actual test execution. It focuses on automating test creation rather than execution.