跳到正文
cccskills
免费在 GitHub 公开

integration

Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/supergraph:integration

Integration + e2e tests. Validates modules work together. Run AFTER unit tests pass.

Usage

/supergraph:integration | plan auth-login | plan auth-login task 3

Prerequisites

  • Unit tests passing ($TEST_CMD green)
  • /supergraph:fix completed

Steps

0. Announce

"🔗 /supergraph:integration — running integration and e2e tests..."

1. Get Commands

Read from plan ## Environment Context or .supergraph-env. Missing → STOP, run /supergraph:scan first.

2. Verify Unit Tests Pass

$TEST_CMD

If unit tests FAIL → STOP: "Unit tests must pass before integration. Run /supergraph:fix first."

3. Detect Integration Setup

Check for integration configuration:

ConfigCommand
jest.integration.config.jsnpx jest --config jest.integration.config.js
vitest.integration.config.tsnpx vitest --config vitest.integration.config.ts
pytest.ini with [integration] or -m integrationpytest -m integration
cypress.config.js / cypress.config.tsnpx cypress run
docker-compose.test.ymldocker compose -f docker-compose.test.yml up --abort-on-container-exit
*.integration.test.ts / *.integration.spec.ts patternnpx jest --testPathPattern="integration"

If none found → skip: "No integration/e2e config found — skipping."

4. Run Integration Tests

Max 3 retries. On failure:

4b. Serena (optional): See serena/SKILL.md:Setup — find_referencing_symbols/get_diagnostics_for_file per failing module to surface mismatches. Skip if unavailable.

Trace failure to source module, fix, re-run.

5. Run E2E & Full-Stack QA Automation

  • QA Matrix Generation: Generate or verify ISTQB QA matrix coverage (docs/qa/test-matrix-<feature>.md) covering Happy path, Sad path, Boundary, Network 500 error injection, Auth/RBAC, and IDOR (scaffold via bash plugins/supergraph/skills/browser-agent/scripts/init-qa.sh matrix <feature> [ui|api|fullstack]).
  • Web/Frontend Projects: ALWAYS automatically invoke /supergraph:browser-agent to run autonomous user-flow tests via native Rust CDP (anti-bot bypass, zero Playwright).
  • Backend / API Services: Verify API endpoint schemas, response codes, DB state integrity, and error sanitization.
  • Execution: Run automated test cases via agent-browser or project e2e test script. Max 2 retries (e2e is inherently flaky). Annotate flaky tests — do not block merge on known-flaky external network tests.

6. Graph Validation

For CBM_PROJECT via codebase-memory-mcp (see references/codebase-memory-contract.md) — search_graph/trace_path + recipes dependencies/cross-boundary/test-gaps; fall back to Serena/filesystem if empty.

7. Update Plan Status

Pass → mark in-progress tasks Status: completed. Fail after 3 retries → mark stuck, append failure log.

8. Report

✅ /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

Rules

  • Unit tests MUST pass BEFORE running integration
  • Integration failures take priority over e2e (fix foundation first)
  • Max 3 retries integration, 2 retries e2e
  • Never block merge on @flaky-annotated e2e tests
  • Always update plan status after completion
  • After integration pass → /supergraph:verify → /supergraph:review

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

analyze

免费

Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

Proactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change.

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

Autonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting.

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

caveman

免费

Persistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact.

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

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).

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

中文简介正在准备中。当前显示原文说明。

datit309/supergraph212026年10月18日 更新

查看 datit309 的全部技能

报告此技能的问题