generate

generate is a skill for Claude Code from dgambhir01/ado-testcraft. It costs 30 tokens per session (1,215 once invoked), scanned A, original, MIT.

A skill that creates structured software test cases from an Azure DevOps User Story, which describes a requested product change.

In plain words
What is it for?
Use it with a numeric User Story ID or supported Azure DevOps URL to generate test cases.
Why use it?
It validates the story identifier and setup before requesting test cases, reducing errors caused by invalid IDs or missing connections.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code.

Part of the ado-testcraft plugin — 3 skills, 1 MCP server shipped together

Good fit Use it with a numeric User Story ID or supported Azure DevOps URL to generate test cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dgambhir01/ado-testcraft/generate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dgambhir01/ado-testcraft --skill generate
Clone the repo
git clone --depth 1 https://github.com/dgambhir01/ado-testcraft

Made for: Claude Code.

Or install ado-testcraft, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/generate.svg)](https://agentmods.dev/skills/dgambhir01/ado-testcraft/generate)
Your own site
<a href="https://agentmods.dev/skills/dgambhir01/ado-testcraft/generate"><img src="https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01215
Opus 5 $0.00015 $0.00607
Sonnet 5 $0.00006 $0.00243
Haiku 4.5 $0.00003 $0.00121

Measured 8d ago against content hash ba1b2f328590, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/generate/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate Test Cases from ADO User Story

Instructions

The user will provide an Azure DevOps User Story ID (e.g. 12345) or a full ADO URL.

Step 0 — Pre-flight checks (before any MCP call)

Validate input format first.

  • If the input is a plain integer (e.g. 12345), use it directly as the work item ID.
  • If the input is a URL, extract the numeric ID from either of these formats:
    • https://dev.azure.com/{org}/{project}/_workitems/edit/{id}
    • https://{org}.visualstudio.com/{project}/_workitems/edit/{id}
  • If the input is neither a numeric ID nor a recognised ADO URL, stop immediately:

    "That doesn't look like a valid ADO work item ID or URL. Please provide a numeric ID (e.g. 12345) or a full Azure DevOps work item URL."

Validate MCP availability.

Confirm the Azure DevOps MCP server is connected. If it is not available, stop:

"The Azure DevOps MCP server is not connected. Run /ado-testcraft:setup to configure your credentials, then restart Claude Code."

Resolve the project name from the environment.

Read the ADO_PROJECT environment variable using a shell tool and remember the value — you will pass it as the project parameter on every MCP tool call to avoid being prompted on each invocation.

  • Windows (PowerShell): $env:ADO_PROJECT
  • macOS / Linux (Bash): echo $ADO_PROJECT

If the returned value is empty, stop:

"ADO_PROJECT environment variable is not set. Run /ado-testcraft:setup for step-by-step configuration."

Step 1 — Fetch and validate the work item

Use the Azure DevOps MCP to fetch the work item by ID. Always pass the project parameter with the value resolved in Step 0 — do not let the MCP server elicit it. Always fetch fresh data — never reuse work item data from a previous invocation in the same conversation. Work item state can change between calls.

If the fetch fails or the ID does not exist, stop:

"Could not fetch work item [ID]. Please verify the ID is correct and that your PAT has Work Items (Read) scope."

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 119 lines · 30 tokens per session scan A ba1b2f328590

Subscribe to this mod's changes

generate is a skill published in the GitHub repository dgambhir01/ado-testcraft (1 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 1,215 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.