agentleFS
liuqi1024liuqi1024/matrix-boot/skills/integration-test-guide/SKILL.md

integration-test-guide

Skill1 starsChanged 5 months agoMITView on GitHub

Guide integration testing, performance testing, release readiness, and quality gates for staged software projects. Use when planning or reviewing integration tests, test data, environment dependencies, API test collections, performance tests, release checks, rollback plans, or project acceptance gates.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    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
  1. Distinctive:

    Use this skill to move a project from implementation toward verified delivery.

    line 10
  2. Very specific:

    Use implementation-verification before this skill when generated code claims to be complete.

    line 16
  3. Very specific:

    Read the confirmed project structure so source test scripts use the approved paths, defaulting to scripts/test/integration/ for integration …

    line 22
  4. Distinctive:

    Stop and request user approval before executing integration tests.

    line 28
  5. Distinctive:

    Before executing integration tests, produce test cases with:

    line 34
  6. Distinctive:

    Stop and request user approval before executing performance tests.

    line 67
  7. Distinctive:

    Before executing performance tests, produce scenarios with:

    line 71
  8. Distinctive:

    Default raw output locations:

    line 128
  9. Very specific:

    Keep scripts/ for source scripts and executable test definitions only.

    line 133
  10. Distinctive:

    After producing the integration test plan, integration test cases, and test data plan, stop and request explicit user review.

    line 135
  11. Distinctive:

    After executing integration tests, produce an execution report and stop for user review before moving to performance testing.

    line 137
  12. Distinctive:

    After producing the performance test plan and performance test cases, stop and request explicit user review.

    line 139
  13. Distinctive:

    After executing performance tests, produce an execution report and stop for user review before moving to release readiness.

    line 141
  14. Distinctive:

    After producing the release readiness checklist, stop and request explicit user review.

    line 143

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Integration Test Guide

Purpose

Use this skill to move a project from implementation toward verified delivery. Focus on integration reality: environments, dependencies, test data, observability, performance targets, and release readiness.

<!-- 中文说明: 单功能代码是否真的可用,先交给 implementation-verification;这里更关注跨系统、跨环境的集成测试。 -->

Relationship to Implementation Verification

Use implementation-verification before this skill when generated code claims to be complete. This skill assumes basic build/runtime/browser smoke checks have already been done or explicitly marked as not verified.

Integration Test Workflow

  1. Identify critical user journeys and service workflows.
  2. Map external dependencies: database, cache, message broker, third-party APIs, auth, files, scheduled jobs.
  3. Read the confirmed project structure so source test scripts use the approved paths, defaulting to scripts/test/integration/ for integration scripts and scripts/perf/ for performance scripts.
  4. Define test environments and data setup.
  5. Produce integration test cases before execution.
  6. Define API/service integration scenarios.
  7. Define failure scenarios: timeout, retry, duplicate request, partial failure, stale cache, message replay.
  8. Produce an integration test plan, test case list, test data plan, and gate checklist.
  9. Stop and request user approval before executing integration tests.

Integration Test Cases

<!-- 中文说明: 集成测试不能直接执行,必须先有测试方案和测试用例。 -->

Before executing integration tests, produce test cases with:

  • Case id.
  • Business scenario.
  • Preconditions.
  • Test data.
  • Steps.
  • Expected result.
  • Related API/service/module.
  • External dependency.
  • Priority.
  • Execution type: manual, API collection, automated test, or script.

Cover at least:

  • Critical happy paths.
  • Authentication and authorization.
  • Validation failures.
  • Not-found and duplicate submission.
  • Transaction boundary or consistency behavior.
  • Cache behavior when applicable.
  • Message retry/replay when messaging exists.
  • External dependency timeout/failure when applicable.

Performance Test Workflow

  1. Identify performance-critical scenarios.
  2. Produce performance test scenarios before execution.
  3. Define baseline metrics: throughput, latency percentiles, error rate, CPU, memory, database load, cache hit rate, queue lag.
  4. Define load model: users, requests per second, data volume, duration, ramp-up.
  5. Define pass/fail criteria.
  6. Define test tool direction: k6, JMeter, Gatling, or team-standard tool.
  7. Define bottleneck analysis and report format.
  8. Stop and request user approval before executing performance tests.

Performance Test Cases

Before executing performance tests, produce scenarios with:

  • Scenario id.
  • Business scenario.
  • Endpoint/workflow.
  • Data volume.
  • Virtual users or request rate.
  • Ramp-up strategy.
  • Duration.
  • Think time when applicable.
  • Success criteria.
  • Failure threshold.
  • Metrics to collect.
  • Required monitoring.

Cover at least:

  • Login/auth flow when relevant.
  • Core query/list page.
  • Core create/update transaction.
  • Permission-protected operation.
  • Data-volume-sensitive query.
  • Batch/export/import when in scope.

Release Readiness

Check:

  • Required artifacts exist and have been reviewed.
  • Implementation verification evidence exists for generated code and critical web flows.
  • Integration tests cover critical workflows.
  • Performance targets are explicit.
  • Observability exists for key paths.
  • Configuration and secrets are separated from code.
  • Database migration and rollback are defined.
  • Deployment and rollback steps are documented.

Output Format

Produce concise Markdown artifacts:

  • Integration test plan.
  • Integration test cases.
  • Test data plan.
  • Integration test execution report after execution.
  • Performance test plan.
  • Performance test cases.
  • Performance test execution report after execution.
  • Release readiness checklist.
  • Open risks and blocking issues.

Default script locations:

  • Integration test scripts: scripts/test/integration/
  • Performance test scripts: scripts/perf/
  • Deployment scripts and release helpers: scripts/deploy/

Default raw output locations:

  • Integration test raw outputs: reports/integration/
  • Performance test raw outputs, including JMeter HTML reports, .jtl files, k6 summaries, and Gatling reports: reports/performance/

Keep scripts/ for source scripts and executable test definitions only. Do not put generated HTML reports, logs, result files, dependency folders, or screenshots under scripts/.

After producing the integration test plan, integration test cases, and test data plan, stop and request explicit user review. Do not execute integration tests or proceed to performance testing until the user approves these artifacts.

After executing integration tests, produce an execution report and stop for user review before moving to performance testing.

After producing the performance test plan and performance test cases, stop and request explicit user review. Do not execute performance tests or proceed to release readiness until the user approves these artifacts.

After executing performance tests, produce an execution report and stop for user review before moving to release readiness.

After producing the release readiness checklist, stop and request explicit user review. Do not mark the project ready for release until the user approves the release readiness artifact.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.