بنقرة واحدة
integration
Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Meta-orchestrator — dispatches to the right skill for the task. Use before any non-trivial work.
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.
Structured 6-phase debugging. Build feedback loop first, reproduce deterministically, hypothesize with ranked falsifiable theories, instrument one variable at a time, fix with regression test, cleanup. Use when a bug exists, tests fail unexpectedly, or behavior is wrong and cause is unknown.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).
Plan-aware graph-enhanced code review before merge. CRITICAL issues block merge. Use after fix/verify.
| name | integration |
| description | Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green. |
| mcp | codebase-memory-mcp |
Integration + e2e tests. Validates modules work together. Run AFTER unit tests pass.
/supergraph:integration | plan auth-login | plan auth-login task 3
$TEST_CMD green)/supergraph:fix completed"🔗 /supergraph:integration — running integration and e2e tests..."
Read from plan ## Environment Context or .supergraph-env. Missing → STOP, run /supergraph:scan first.
$TEST_CMD
If unit tests FAIL → STOP: "Unit tests must pass before integration. Run /supergraph:fix first."
Check for integration configuration:
| Config | Command |
|---|---|
jest.integration.config.js | npx jest --config jest.integration.config.js |
vitest.integration.config.ts | npx vitest --config vitest.integration.config.ts |
pytest.ini with [integration] or -m integration | pytest -m integration |
cypress.config.js / cypress.config.ts | npx cypress run |
playwright.config.js / playwright.config.ts | npx playwright test |
docker-compose.test.yml | docker compose -f docker-compose.test.yml up --abort-on-container-exit |
*.integration.test.ts / *.integration.spec.ts pattern | npx jest --testPathPattern="integration" |
If none found → skip: "No integration/e2e config found — skipping."
Max 3 retries. On failure:
4b. Serena cross-module analysis (optional):
If /supergraph:scan was not run this session, call mcp__serena__initial_instructions() first. Skip if SERENA_ACTIVE=false.
For each failed integration module:
mcp__serena__find_referencing_symbols(symbol=<failing_export>)
mcp__serena__get_diagnostics_for_file(file=<failing_file>)
Interface mismatches surface immediately — check for signature changes or missing implementations. Skip if Serena unavailable.
Trace failure to source module, fix, re-run.
Max 2 retries (e2e is inherently flaky). Flaky tests: annotate with @flaky / test.slow() / @pytest.mark.flaky per framework — do not block merge on known-flaky tests.
Use CBM_PROJECT with search_graph, trace_path for affected call/data-flow
paths, and validated dependencies, cross-boundary, and test-gaps recipes.
Empty results are unavailable evidence; fall back to Serena/filesystem checks.
Cross-module flows all covered? Surprising connections investigated?
Pass → mark in-progress tasks Status: completed.
Fail after 3 retries → mark stuck, append failure log.
✅ /supergraph:integration complete
- Unit: PASS | Integration: PASS|FAIL|SKIP | E2E: PASS|FAIL|SKIP
- Cross-module flows: N/M covered | Surprising connections: [list/none]
- Plan status: updated|none
- Next: /supergraph:verify → /supergraph:review
@flaky-annotated e2e tests/supergraph:verify → /supergraph:review