dev-test

Generate test plans and placeholder stubs from acceptance criteria.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/learnzdevelopmenthub/paadhai --skill dev-test-learnzdevelopmenthub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-test
Source: https://github.com/learnzdevelopmenthub/paadhai/tree/main/.claude/skills/dev-test
Command: npx skills add https://github.com/learnzdevelopmenthub/paadhai --skill dev-test-learnzdevelopmenthub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dev-test ends the guesswork of creating tests for new work by deriving the scope directly from acceptance criteria, plan docs, and issue context before any implementation starts. It also enforces config-driven commands and branch awareness so the resulting plan and stubs fit the repository's stack and workflow.

Core Features & Use Cases

  • Acceptance criteria ingestion: Pulls ACs from docs/plans/issue-<n>/plan.md and GitHub issue bodies, reports counts, and highlights the issue title in the announcement banner.
  • Structured planning & stubs: Produces a detailed plan grouped by happy, edge, and error cases, writes docs/plans/issue-<n>/test-plan.md, and scaffolds placeholder test files that follow the detected framework conventions.
  • Verification and handoff: Runs the configured build and test commands to ensure placeholder assertions do not fail, then commits the plan and stubs with the counts and files needed for the next skill.
  • Use Case: On a branch like feature/42-add-login, run dev-test before dev-implement so reviewers have a documented test roadmap, stub files, and clear coverage targets.

Quick Start

Ask the AI to run dev-test to derive acceptance criteria, produce the issue-specific test plan, and scaffold stub files before implementation begins.

Frequently Asked Questions about dev-test

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

FAQPage Schema
How do I generate test stubs from acceptance criteria before coding?

You can generate a test plan and stubs from acceptance criteria by running a pre-implementation test planning process that ingests issue data and plan docs. It scaffolds placeholder test files grouped by happy, edge, and error cases before any implementation begins.

How does test plan generation work with GitHub issues?

Test plan generation uses GitHub CLI to look up issue bodies and extract acceptance criteria directly. It pulls ACs from GitHub issue data and local plan docs, counts the criteria, and writes a structured test plan file scoped to that specific issue.

Do I need a configuration file to automate test scaffolding on a git branch?

Yes, automated test scaffolding requires a project .paadhai.json config file on your git branch. This config supplies the stack build and test commands needed to verify that placeholder assertions do not fail before committing the generated test stubs.

Can I run test planning on an issue branch before implementation starts?

Yes, test planning targets feature or fix branches in git repositories before implementation starts. It derives the testing scope from the branch context and linked GitHub issue data, producing a documented test roadmap and placeholder stubs for the upcoming code.

What is the best way to structure test cases for new features?

The best way to structure test cases for new features is to group them into happy, edge, and error cases derived directly from acceptance criteria. This approach writes a detailed test plan file and scaffolds matching placeholder test files before implementation begins.

Why do my placeholder test files fail the build before implementation?

Placeholder test files should not fail the build because the test planning process runs configured build and test commands to verify them. If they fail, check your project .paadhai.json config file to ensure the stack build and test commands are correctly defined for your environment.