Agent skill · Testing & QA

integration-test-scaffold

Generate cross-module test harness with mock servers, in-memory stores, and test configuration. Use when testing networking + persistence + business logic together.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill integration-test-scaffold --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 13 KB
Bundled scripts: none
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Path: skills/testing/integration-test-scaffold/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Integration Test Scaffold Generate test infrastructure for testing multiple modules working together — networking + persistence + business logic — without hitting real servers or databases. ## When This Skill Activates Use this skill when the user: - Wants to "test the full stack" or "integration test" - Needs a mock server or mock API - Wants to test networking + caching together - Asks about "end-to-end tests without real servers" - Needs to test data flow across layers (API → Repository → ViewModel) - Mentions "test harness" or "test environment" ## Why Integration Tests ``` Unit tests: Test ONE thing in isolation (fast, focused) Integration tests: Test MULTIPLE things together (realistic, catches wiring bugs) Unit test passes: PriceCalculator works alone ✅ Integration test: PriceCalculator + API + Cache work together ✅ (Catches: wrong data format, missing mapping, race conditions) ``` ## Process ### Phase 1: Map the Integration Boundaries Identify what modules interact: ``` Grep: "import |@testable import" to find module dependencies Read: source files to understand data flow ``` Common integration boundaries: - **Network → Parser → Repository** (API data flow) - **Repository

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Why Integration Tests
  3. Process
  4. Phase 1: Map the Integration Boundaries
  5. Phase 2: Configuration Questions
  6. Phase 3: Generate Mock Server
  7. Phase 4: Generate In-Memory Store
  8. Phase 5: Generate Test Environment
  9. Phase 6: Generate Integration Tests
  10. File Structure
  11. Output Format
  12. References
More from claude-code-apple-skills
All skills →
About this skill
What does the integration-test-scaffold skill do?

Generate cross-module test harness with mock servers, in-memory stores, and test configuration. Use when testing networking + persistence + business logic together.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill integration-test-scaffold --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going