smoke-test

Generate chainable curl-based smoke test scripts from controller source files.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/MiDouTech/myTapd --skill smoke-test-midoutech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoke-test
Source: https://github.com/MiDouTech/myTapd/tree/main/.claude/skills/smoke-test
Command: npx skills add https://github.com/MiDouTech/myTapd --skill smoke-test-midoutech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates ready-to-run smoke test scripts so developers and QA don't have to hand-craft repetitive curl sequences to verify CRUD and core business flows across API controllers, reducing manual effort and human error.

Core Features & Use Cases

  • Controller scanning: Parse controller source files to extract HTTP endpoints, route patterns, DTOs, and validation rules.
  • Chainable curl scripts: Produce a self-contained bash script that runs read, create, read-by-id, update, business action, and cleanup steps while passing IDs between requests.
  • Environment-driven authentication: Read AI_ACCESS_KEY and SMOKE_TEST_HOST from the environment and emit header-based authentication, with clear observability and failure messages.
  • Module templates: Include module-specific sequences for common modules like automations, users, logs, and visual-agent, and provide clear guidance for production safety.

Quick Start

Run the smoke-test skill to generate a bash script for a target module that uses AI_ACCESS_KEY and SMOKE_TEST_HOST from your environment and outputs an executable curl-based test.

Frequently Asked Questions about smoke-test

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

FAQPage Schema
How do I generate curl scripts for API smoke testing?

Generate chainable curl scripts for API smoke testing by scanning controller source files to extract endpoints, routes, and DTOs. The resulting self-contained bash script executes create, read, update, business action, and cleanup steps sequentially.

How does controller scanning extract API routes and DTOs for end-to-end testing?

Controller scanning parses backend module source files to extract HTTP endpoints, route patterns, DTOs, and validation rules. This extracted metadata is then used to construct chainable curl requests that validate end-to-end CRUD and business flows.

Can I use bash and curl for automated end-to-end API testing?

Yes, you can automate end-to-end API testing using bash and curl. The generated script reads AI_ACCESS_KEY and SMOKE_TEST_HOST from the environment, applies header authentication, and passes extracted IDs between requests using jq.

What is the best way to automate CRUD smoke tests for backend modules?

The best way to automate CRUD smoke tests is generating a self-contained bash script with module-specific sequences for automations, users, and logs. It chains curl requests for create, read, update, and cleanup while maintaining observability and clear failure messages.

Does the generated smoke test script handle authentication and environment variables?

Yes, the smoke test script handles authentication by reading AI_ACCESS_KEY and SMOKE_TEST_HOST from your environment variables. It emits header-based authentication automatically and provides clear observability for production safety.

How do I pass extracted IDs between curl requests in a bash smoke test?

Pass extracted IDs between curl requests in a bash smoke test by using jq to parse JSON responses. The chainable script extracts the necessary identifiers from create operations and passes them to subsequent read, update, and cleanup steps.