Agent skill

Recipe Add Integration Tests

by shinpr in shinpr/claude-code-workflows

Add integration/E2E tests to existing codebase using Design Docs

MITAuto-check passedTesting & QA

Install Recipe Add Integration Tests

skills CLI
$ npx skills add shinpr/claude-code-workflows --skill recipe-add-integration-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shinpr/claude-code-workflows recipe-add-integration-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shinpr/claude-code-workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/recipe-add-integration-tests .claude/skills/recipe-add-integration-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
recipe-add-integration-tests
GitHub stars
694
Token cost
~2k tokens
SKILL.md length
926 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Add integration/E2E tests to existing codebase using Design Docs

  • Works in 7 steps: Discover and Validate Documents → Skeleton Generation → Test Implementation → …
  • Tasks that involve Integration testing
  • SKILL.md covers Orchestrator Definition, Prerequisites and Execution Flow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Recipe Add Integration Tests is an agent skill from shinpr/claude-code-workflows. Add integration/E2E tests to existing codebase using Design Docs

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Integration testing, End-to-end testing and Architecture decision records. The repository describes itself as: Development workflows for Claude Code that keep broad exploration focused on the outcome you approved. The licence is MIT.

When your agent uses it

  • Tasks that involve Integration testing
  • Tasks that involve End-to-end testing
  • Tasks that involve Architecture decision records

Example prompts

  • “/recipe-add-integration-tests”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Discover and Validate Documents
  2. Skeleton Generation
  3. Test Implementation
  4. Test Review
  5. Apply Review Fixes
  6. Quality Check
  7. Commit

What it can do on your machine

Read from SKILL.md and the folder at commit a4ecd62. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Recipe Add Integration Tests loads about 2k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 926 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shinpr/claude-code-workflows at commit a4ecd62, republished under its MIT licence (© shinpr). 926 words, ~2,047 tokens.

Download SKILL.mdSave it as .claude/skills/recipe-add-integration-tests/SKILL.md (or your agent's skills folder).
name
recipe-add-integration-tests
description
Add integration/E2E tests to existing codebase using Design Docs
disable-model-invocation
true

Explicit User Instruction: The user explicitly instructs and authorizes every subagent call named in this recipe. Execute each applicable call when its prerequisites are met.

Execute Skill: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts. Execute Skill: subagents-orchestration-guide before making workflow decisions, invoking agents, or resolving findings.

Context: Test addition workflow for existing implementations (backend, frontend, or fullstack)

Orchestrator Definition

Core Identity: "I am an orchestrator."

Local authority gate: Make this recipe's workflow decisions and validate each returned result directly; delegate semantic deliverable production to the named specialist.

Review Resolution Gate [MANDATORY]: Resolve every actionable deliverable-review finding through subagents-orchestration-guide Review Resolution before correction or progression. Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.

Execution Gate: Complete Steps 1-7 in order for each generated layer. Advance only through the current step's stated output or response gate; skip work only when its stated condition is false. Report completion after every layer has completed its review, quality, commit, and retained-limitation retry.

Why Delegate: Orchestrator's context is shared across all steps. Direct implementation consumes context needed for review and quality check phases. Subagents work in isolated context.

Execution Method:

  • Skeleton generation → delegate to acceptance-test-generator
  • Test implementation → delegate to task-executor
  • Test review → delegate to integration-test-reviewer
  • Quality checks → delegate to quality-fixer

At each Agent invocation below, build the prompt as a mechanical extraction: copy the named source values into the exact fields, apply only the declared serialization, then invoke immediately.

Document paths: $ARGUMENTS

Prerequisites

  • At least one Design Doc must exist (created manually or via reverse-engineer)
  • Existing implementation to test

Execution Flow

Step 1: Discover and Validate Documents

Confirm $ARGUMENTS names at least one existing document path; report and end when it is empty or every path is unresolvable. Then discover the remaining Design Docs, UI Specs, and PRDs under docs/design/, docs/ui-spec/, and docs/prd/.

Classify discovered documents by filename:

  • Filename contains backend → Design Doc (backend)
  • Filename contains frontend → Design Doc (frontend)
  • Located in docs/ui-spec/ → UI Spec (optional)
  • Located in docs/prd/ → approved PRD / confirmed requirement context (optional; prefer the path named by the Design Doc)
  • None of the above → treat as single-layer Design Doc
Step 2: Skeleton Generation

Invoke acceptance-test-generator using Agent tool:

  • subagent_type: "dev-workflows:acceptance-test-generator"
  • description: "Generate test skeletons"
  • design_docs: Existing backend, frontend, or single-layer Design Doc paths from Step 1
  • ui_spec: Existing UI Spec path when present
  • confirmed_requirement_context: Approved PRD path or unchanged Design Doc Requirement Convergence record

Follow subagents-orchestration-guide HC-06 for value_input_required and its unknown-value continuation before Step 3.

Expected output: generatedFiles containing integration and e2e paths

Step 3: Test Implementation

For each layer with generated skeletons, record the current HEAD as diffBase, then invoke the layer's task-executor:

  • Backend or single-layer → subagent_type: "dev-workflows:task-executor"
  • Frontend → subagent_type: "dev-workflows-frontend:task-executor-frontend"
  • description: "Implement integration tests"
  • direct_scope: Implement every test defined by the layer-specific generated skeletons
  • governing_sources: Layer-specific Design Doc, applicable UI Spec, and generated skeleton paths
  • target_paths: Generated test paths plus the existing setup or fixture paths explicitly identified before invocation
  • observable_verification: Execute the implemented tests and verify every skeleton claim at its declared boundary

Execute one layer at a time through Steps 3→4→5→6→7 before starting the next.

Expected output: status, testsAdded, mutationEvidence

Apply this response gate after every task-executor invocation in Steps 3 and 5:

  • At least one changed integration/E2E test file and its implementation evidence are confirmed from the response and repository state → Proceed to Step 4
  • Required implementation remains incomplete → Apply Specialist Result Acceptance and continue Step 3 while repository evidence supplies an advancing action
  • Other result variations → Apply subagents-orchestration-guide Specialist Result Acceptance
Show full SKILL.md (345 more words)Show less
Step 4: Test Review

Invoke integration-test-reviewer using Agent tool:

  • subagent_type: "dev-workflows:integration-test-reviewer"
  • description: "Review test quality"
  • prompt: "Review test quality. changedTestFiles: [confirmed changed integration/E2E test paths]. diffBase: [revision recorded before Step 3]. skeletonFiles: [layer-specific paths from Step 2 generatedFiles]. mutationEvidence: [Step 3 mutationEvidence]."

Expected output: status (pass/needs_revision/blocked), testFiles, reviewBasis, qualityIssues; correction re-review also returns prior_feedback_reconciliation

Step 5: Apply Review Fixes

Check Step 4 result:

  • status: pass → Mark complete, proceed to Step 6
  • status: blocked → Apply Specialist Result Acceptance
  • status: needs_revision → Pass Step 4 qualityIssues unchanged into the Review Resolution Gate; invoke task-executor for rerouted corrections, return to Step 4, and derive convergence from prior_feedback_reconciliation

Invoke the same layer's task-executor:

  • description: "Fix review findings"
  • Reuse Step 3 direct_scope, governing_sources, target_paths, and observable_verification
  • correction_findings: Complete reviewer finding objects verbatim, with only their orchestrator dispositions added
Step 6: Quality Check

Invoke quality-fixer for the current layer:

  • Backend or single-layer → subagent_type: "dev-workflows:quality-fixer"
  • Frontend → subagent_type: "dev-workflows-frontend:quality-fixer-frontend"
  • description: "Final quality assurance"
  • Copy Step 3 direct_scope, governing_sources, and observable_verification inputs unchanged.
  • Include the latest executor's correction_findings input unchanged when supplied.
  • Pass the latest executor's mutationEvidence.

Expected output: status (pass, stub_detected, verification_incomplete, or blocked)

Check quality-fixer response:

  • stub_detected → Return to Step 3 with the quality-fixer's incompleteImplementations array unchanged as the canonical incompleteImplementations field, then re-execute Steps 3→4→5→6
  • blocked → Apply Specialist Result Acceptance
  • verification_incomplete → Retain the complete result for one final retry and proceed to Step 7
  • pass → Proceed to Step 7
Step 7: Commit

On pass or verification_incomplete from quality-fixer:

  • Apply subagents-orchestration-guide Commit Boundary Check, then commit test files using Bash with message format: "test: add [layer] integration tests for [feature name]". Append its verification trailers for verification_incomplete.

After every layer has a clean commit boundary, retry each retained verification limitation once with the same layer quality-fixer inputs. When the retry returns pass, remove that limitation from retained state. Route newly discovered incomplete implementation through Steps 3→6, and retain a repeated limitation for the completion report while continuing the workflow.

In the completion report, list each repeated verification limitation and each declined actionable finding with its ID, governing reason, and evidence when any occurred.

© shinpr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/recipe-add-integration-tests of shinpr/claude-code-workflows.

Open the folder on GitHubat commit a4ecd62

Compare with similar skills

Recipe Add Integration Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Recipe Add Integration Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Recipe Add Integration Tests this skillshinpr/claude-code-workflows694—~2kAutomated safety check: PassMIT
Add Acceptance Testtalkincode/toughradius691—~827Automated safety check: PassMIT
Integration E2E Testingshinpr/ai-coding-project-boilerplate234—~2.8kAutomated safety check: PassMIT
Migrate E2E To Integrationopenshift/oc-mirror124—~1.5kAutomated safety check: PassApache-2.0
Long Task Atssuriyel/longtaskforagent177—~3.7kAutomated safety check: PassNone
Om Integration Testsgo-musicfox/go-musicfox2.6k1 repos~3.6kAutomated safety check: NotesGPL-3.0

Similar skills

  • Add Acceptance Test

    talkincode/toughradius

    Write CI-executable acceptance/integration tests for protocol or end-to-end changes (TR-F022).

    691 GitHub stars~827 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Integration E2E Testing

    shinpr/ai-coding-project-boilerplate

    Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary.

    234 GitHub stars~2.8k tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • Migrate E2E To Integration

    openshift/oc-mirror

    Migrate an oc-mirror e2e test case to the integration test suite, translating framework, registry, invocation, and assertion patterns

    124 GitHub stars~1.5k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Long Task Ats

    suriyel/longtaskforagent

    A skill your agent uses when design doc exists but no ATS doc and no feature-list.json - generate a global Acceptance Test Strategy mapping every requirement to acceptance scenarios with category…

    177 GitHub stars~3.7k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Om Integration Tests

    go-musicfox/go-musicfox

    Run and create integration/E2E tests by exploring the live app with the configured browser provider, preserving repository-native runners, reusing the shared test environment, and diagnosing…

    2.6k GitHub starsUsed in 1 repo~3.6k tokens
    Testing & QAAuto-check: notes
  • Test Collaboration

    qshanx/docs-governance

    盘点并维护项目测试资产,把需求、业务规则、风险、Bug 和跨端接口契约转成 TEST-ID 与可验证证据,生成或更新 TESTS.md。用于测试资产盘点、测试缺口分析、单元/集成/契约/E2E/冒烟分类、Bug 回归保护、前后端或多服务基于同一契约的消费者/提供者测试、测试必要性判断、测试清单维护与交付前测试证据审查。中文触发:测试盘点、测试清单、测试资产、测试缺口、测试必要性、Bug…

    134 GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed

More from shinpr/claude-code-workflows

All 30 skills in this repo
  • Integration E2E Testing

    shinpr/claude-code-workflows

    Integration and E2E test design principles, ROI calculation, test skeleton specification, and review criteria.

    694 GitHub stars~3.5k tokensUpdated 9 days ago
    Auto-check passed
  • AI Development Guide

    shinpr/claude-code-workflows

    Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates.

    694 GitHub stars~3.9k tokensUpdated 9 days ago
    Auto-check passed
  • Frontend AI Guide

    shinpr/claude-code-workflows

    Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates.

    694 GitHub stars~3k tokensUpdated 9 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/claude-code-workflows

    Implementation strategy selection framework. An agent skill from shinpr/claude-code-workflows.

    694 GitHub stars~2.6k tokensUpdated 9 days ago
    Auto-check passed
  • Recipe Quality Profile

    shinpr/claude-code-workflows

    Proposes repository-specific quality policy for implementation and review and, after confirmation, creates or updates docs/project-context/quality.yaml.

    694 GitHub stars~1.1k tokensUpdated 9 days ago
    Auto-check passed
  • Subagents Orchestration Guide

    shinpr/claude-code-workflows

    Guides subagent coordination through implementation workflows.

    694 GitHub stars~9.3k tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about Recipe Add Integration Tests

What does Recipe Add Integration Tests do?

Add integration/E2E tests to existing codebase using Design Docs. Recipe Add Integration Tests is an agent skill from shinpr/claude-code-workflows.

When should I use Recipe Add Integration Tests?

Recipe Add Integration Tests fits situations like: tasks that involve Integration testing; tasks that involve End-to-end testing; tasks that involve Architecture decision records.

How do I install Recipe Add Integration Tests in Claude Code?

Run `npx skills add shinpr/claude-code-workflows --skill recipe-add-integration-tests -a claude-code`. Or copy the skill folder (skills/recipe-add-integration-tests in shinpr/claude-code-workflows) into .claude/skills/recipe-add-integration-tests in your project. Claude Code loads it when a task matches its description.

How do I install Recipe Add Integration Tests in Codex?

Run `npx skills add shinpr/claude-code-workflows --skill recipe-add-integration-tests -a codex`. Or copy the skill folder (skills/recipe-add-integration-tests in shinpr/claude-code-workflows) into .agents/skills/recipe-add-integration-tests in your project. Codex loads it when a task matches its description.

Can I use Recipe Add Integration Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shinpr/claude-code-workflows --skill recipe-add-integration-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/recipe-add-integration-tests, .gemini/skills/recipe-add-integration-tests, .github/skills/recipe-add-integration-tests and .opencode/skills/recipe-add-integration-tests in your project.

What does Recipe Add Integration Tests need to run?

SKILL.md names no scripts, command-line tools or credentials: Recipe Add Integration Tests is instructions for the agent only.

Does Recipe Add Integration Tests access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Recipe Add Integration Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Recipe Add Integration Tests use?

Recipe Add Integration Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Recipe Add Integration Tests use?

About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Recipe Add Integration Tests?

Skills that share tags, products or a category with Recipe Add Integration Tests: Add Acceptance Test (talkincode/toughradius, 691 stars), Integration E2E Testing (shinpr/ai-coding-project-boilerplate, 234 stars), Migrate E2E To Integration (openshift/oc-mirror, 124 stars) and Long Task Ats (suriyel/longtaskforagent, 177 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Recipe Add Integration Tests?

shinpr (a GitHub user) maintains it in shinpr/claude-code-workflows, which has 694 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 1, 2026.

Source: shinpr/claude-code-workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.