Spec Tests — Paste an Agent Spec, Get Test Cases per Step

    1

    Turn a written automation or AI procedure into a review table.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Spec Tests — Paste an Agent Spec, Get Test Cases per Step

    Example session with this skill installed

    Run spec-tests on examples/spec.txt in markdown format. The spec is: "## Order intake" then 1. Read the customer request.
    2. Confirm the required fields are present; if any are missing, ask for them.
    3. Save the accepted order record.
    4. If saving fails, report the error and stop.

    • Read your context and instructions
    • Compiled the spec tests

    Proposed test cases

    4 candidate step(s); 12 proposed check(s). Not executed.

    StepScenarioCheckExpected observationSource evidence
    Step 1 [手順]: Read the customer request.Normal operationProvide the inputs described by the step and perform its stated actionObserve whether the stated action and next handoff occur; this is a proposed check, not a pass result.Line 2: 1. Read the customer request.
    Step 1 [手順]: Read the customer request.Missing inputOmit one input explicitly needed by this stepObserve whether the step can continue and record the actual behavior; no fallback is specified here.Line 2: 1. Read the customer request.
    Step 1 [手順]: Read the customer request.Mid-process failureSimulate an interruption while this step is in progressRecord the observed behavior; this step does not state a failure response.Line 2: 1. Read the customer request.
    Step 2 [手順]: Confirm the required fields are present; if any are missing, ask for them.Normal operationProvide the inputs described by the step and perform its stated actionObserve whether the stated action and next handoff occur; this is a proposed check, not a pass result.Line 3: 2. Confirm the required fields are present; if any are missing, ask for them.
    Step 2 [手順]: Confirm the required fields are present; if any are missing, ask for them.Missing inputWithhold the named required valueObserve the documented missing-input branch, if the spec defines one.Line 3: 2. Confirm the required fields are present; if any are missing, ask for them.
    Step 2 [手順]: Confirm the required fields are present; if any are missing, ask for them.Mid-process failureSimulate an interruption while this step is in progressRecord the observed behavior; this step does not state a failure response.Line 3: 2. Confirm the required fields are present; if any are missing, ask for them.
    Step 3 [手順]: Save the accepted order record.Normal operationProvide the inputs described by the step and perform its stated actionObserve whether the stated action and next handoff occur; this is a proposed check, not a pass result.Line 4: 3. Save the accepted order record.
    Step 3 [手順]: Save the accepted order record.Missing inputOmit one input explicitly needed by this stepObserve whether the step can continue and record the actual behavior; no fallback is specified here.Line 4: 3. Save the accepted order record.
    Step 3 [手順]: Save the accepted order record.Mid-process failureSimulate an interruption while this step is in progressRecord the observed behavior; this step does not state a failure response.Line 4: 3. Save the accepted order record.
    Step 4 [手順]: If saving fails, report the error and stop.Normal operationProvide the inputs described by the step and perform its stated actionObserve whether the stated action and next handoff occur; this is a proposed check, not a pass result.Line 5: 4. If saving fails, report the error and stop.
    Step 4 [手順]: If saving fails, report the error and stop.Missing inputOmit one input explicitly needed by this stepObserve whether the step can continue and record the actual behavior; no fallback is specified here.Line 5: 4. If saving fails, report the error and stop.
    Step 4 [手順]: If saving fails, report the error and stop.Mid-process failureTrigger the failure condition named in this stepCompare the observed recovery with the quoted retry, stop, or reporting instruction.Line 5: 4. If saving fails, report the error and stop.

    Limit: List items are surfaced for review; items whose type is unclear are labeled '型が分からない手順'. Unnumbered continuation lines are joined to the preceding list step, but other prose may still be missed or joined incorrectly. Review every quote and edit the proposed checks before use. This tool does not execute steps, infer undocumented requirements, or determine pass/fail.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Turn a written automation or AI procedure into a review table. For each candidate step, Spec Tests drafts a normal-operation check, a missing-input check, and a mid-process-failure check, with the source line quoted beside each. It proposes checks only: it does not run the procedure or decide whether anything passes.

    What it does

    • Finds candidate steps in numbered steps and Markdown list items, in source order.
    • Drafts three proposed checks per step: normal operation, missing input, and mid-process failure.
    • Points the expected observation back to the source wording when the spec states a missing-input or failure response; otherwise says the specification does not state one.
    • Quotes the exact source line and line number beside every proposed check.
    • Prints text, markdown, JSON, or CSV.

    How it works

    1. Save your procedure as a text file.
    2. Run python3 scripts/spec_tests.py spec.txt --format markdown.
    3. Review the extracted steps and every quote, then edit the checks and define expected behavior with the procedure owner before running any tests.

    Limits

    This is a text-pattern drafting aid, not a test runner or specification validator. It cannot know whether a step is complete, whether a quote is the right requirement, or whether a proposed check covers a real risk. Unnumbered prose can be missed, and a wrapped step may still be joined or split incorrectly. For inputs with more than 200 candidate steps, only the first 200 are shown and the output states where the review stopped.

    It requires Python 3.8+ and uses only the standard library.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    A text-pattern drafting aid, not a test runner or specification validator. It does not execute steps or decide pass/fail. Unnumbered prose can be missed, and a wrapped step may be joined or split incorrectly. Only the first 200 candidate steps are shown.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    Software
    Python 3.8+ (standard library only)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    Paste an agent procedure to draft normal, missing-input, and mid-process-failure checks for each extracted step. Each idea includes its source quote and line. The offline tool drafts checks only; it does not execute the workflow or claim a test passed.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Spec Tests — Paste an Agent Spec, Get Test Cases per Step on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Testing & Debugging