smoke-test

Generate and maintain a local deploy.sh smoke test script.

Updated Nov 6, 2023
One-click install
npx skills add https://github.com/cryptofish7/dotfiles --skill smoke-test-cryptofish7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoke-test
Source: https://github.com/cryptofish7/dotfiles/tree/main/config/claude/skills/smoke-test
Command: npx skills add https://github.com/cryptofish7/dotfiles --skill smoke-test-cryptofish7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate and maintain a local smoke test script (deploy.sh). Discovers project tooling, tests only what's implemented, and grows as features are added. Use when the user asks to "smoke test", "deploy locally", "test local deploy", "update deploy script", "run deploy", or "run smoke test".

Core Features & Use Cases

  • Generate and maintain a deploy.sh script that verifies the project runs correctly locally.
  • Re-audits the project on each invocation and updates stages to match what's implemented.
  • Supports projects with varying languages and tooling by discovering existing configuration and commands.

Quick Start

Run the smoke-test skill to generate or update the deploy.sh script for the current project.

Frequently Asked Questions about smoke-test

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

FAQPage Schema
How do I create a local smoke test script that verifies my project runs correctly?

A local smoke test script like deploy.sh verifies your project runs correctly by automating deployment checks. It discovers existing project tooling, tests only implemented features, and outputs a deterministic script suitable for repeated runs to catch runtime issues.

What is the best way to maintain a deploy script as new features are added?

Maintaining a deploy script involves re-auditing the project state on each invocation to detect newly implemented commands. This updates the smoke test stages automatically, ensuring the script evolves alongside your codebase without manual intervention.

Does a generated smoke test work with projects that use different languages and tooling?

Yes, smoke tests support projects with varying languages and tooling by discovering existing configuration and commands. The script audits the current project state to detect implemented features, ensuring compatibility across different codebases and tech stacks.

How do I update my deploy.sh to test only implemented features?

To update deploy.sh for testing only implemented features, run an automated smoke test generator that audits the project state. It detects implemented commands and outputs a deterministic script that tests only the features currently available in your codebase.

When do I need a deterministic and idempotent deploy script for local testing?

You need a deterministic and idempotent deploy script for local testing when you want to verify project deployment repeatedly without side effects. This ensures consistent smoke test results across multiple runs, catching integration issues safely before pushing changes.

What are the limitations of using an automated smoke test for local deployment?

The main limitation of an automated local smoke test is that it only tests implemented features by discovering existing tooling. It does not replace comprehensive integration tests, but rather verifies that the current project state runs correctly locally.