integration-testing
Skill0 starsChanged 4 months agoMITView on GitHub
Integration testing guidelines for JS/TS services that talk to real databases, queues, or external systems. Use this skill whenever writing or reviewing tests that spin up a database/container, testing a repository or data-access layer, deciding whether something should be a unit or integration test, or managing test database state. Triggers on requests like "write an integration test", "test this repository against a real database", "set up testcontainers", or "how should I structure this test".
9 other projects use a version of this.
Adopted by
Most recently taken up by
- paruff/uFawkesAItheir own version, first seen Oct 3, 2026
- sipandey/create-agent-roomtheir own version, first seen Sep 26, 2026
- s-morgan-jeffries/apple-mail-fast-mcptheir own version, first seen Sep 7, 2026
- elastic/integration-skillstheir own version, first seen Aug 24, 2026
- arjunprabhulal/agent-skillstheir own version, first seen Aug 3, 2026
- lubochka/xiigen-general-skillstheir own version, first seen Jun 18, 2026
Used with
Projects with it also use api-design, test-driven-development and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
OpenAISkilltest-driven-development
Use when implementing any feature or bugfix, before writing implementation code
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- s-morgan-jeffries/apple-mail-fast-mcp★ 104same name
- DevelopersGlobal/ai-agent-skills★ 69same name
- DauQuangThanh/hanoi-rainbow★ 17same name
- elastic/integration-skills★ 16same name
- arjunprabhulal/agent-skills★ 4same name
- paruff/uFawkesAI★ 2same name
- caseyng/Claude-skills★ 1same name
- lubochka/xiigen-general-skills★ 1same name
- sipandey/create-agent-room★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-testingSkill
- e2e-testing-playwrightSkill
- performance-testingSkill
- unit-testing-vitestSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
Read rules/_sections.md for full category descriptions.
- Very specific: line 55
Before writing a new test, check scope-integration-vs-unit-boundary to confirm it actually needs a real dependency.
- Very specific: line 56
Default to Testcontainers (env-testcontainers-real-deps) plus transactional rollback (db-transactional-rollback) for anything touching a …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Integration Testing
Guidelines for testing the seams between your code and real infrastructure — databases, queues, external services — without making the suite slow or flaky. Contains 6 rules across 4 categories.
When to Apply
Reference these guidelines when:
- Deciding whether a test belongs at the unit or integration level
- Writing a test that needs a real database, cache, or message queue
- Managing database state and cleanup between tests
- Building reusable fixtures/factories for integration-level test data
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
| 1 | Test Boundary & Scope | HIGH | scope- |
| 2 | Environment & Real Dependencies | HIGH | env- |
| 3 | Database State | HIGH | db- |
| 4 | Fixtures & Test Data | MEDIUM | fixtures- |
Quick Reference
1. Test Boundary & Scope (HIGH)
scope-integration-vs-unit-boundary- Reserve integration tests for system boundaries
2. Environment & Real Dependencies (HIGH)
env-testcontainers-real-deps- Use Testcontainers instead of in-memory fakesenv-avoid-shared-state- Isolated environment per suite
3. Database State (HIGH)
db-transactional-rollback- Wrap each test in a transaction + rollbackdb-seed-minimal-fixtures- Seed only what each test needs
4. Fixtures & Test Data (MEDIUM)
fixtures-factory-functions- Build test data with factory functions
How to Use This Skill
- Read
rules/_sections.mdfor full category descriptions. - Before writing a new test, check
scope-integration-vs-unit-boundaryto confirm it actually needs a real dependency. - Default to Testcontainers (
env-testcontainers-real-deps) plus transactional rollback (db-transactional-rollback) for anything touching a database.
See rules/_template.md for the format used by every rule file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

