sohei56/maul-team/integration-tests
Claude Code and agent skill by sohei56/maul-team
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Integration Tests — design-driven, systematic verification for the Integration Sprint. Derives boundary-value, flow-branch, and pattern-branch test cases from the enabled design specs, builds stubs for non-reproducible external interfaces, automates API and UI tests as committed project assets, and records results to .scrum/test-results.json. Runs before UAT & Release.
Install
npx vskill@latest install sohei56/maul-team/integration-testsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sohei56/maul-team/integration-tests.
Inputs
- state.json → phase: "retrospective" (entered via
sprint_continuation: integration_sprint) or already "integration_sprint" on re-entry.
docs/design/catalog-config.json—enabledarray of spec IDs
(SSOT for which specs are in scope).
docs/design/specs/**— enabled spec files. Per
docs/design/catalog.md, each lives at docs/design/specs/{category}/{id}-{slug}.md.
docs/requirements.md— context for resolving spec terms
(read-only).
.scrum/sprint.json.id— current sprint id, used in output paths.- Project source code + existing test suites.
Outputs
.scrum/integration-tests/<sprint-id>/test-cases.md— the test-case
matrix plus a spec ⇄ case traceability table (see references/test-case-design.md).
tests/integration/**— API integration tests in the project's
test language, committed to the target project (persistent asset).
tests/e2e/**— Playwright UI tests, committed to the target
project (persistent asset).
tests/stubs/**— external-interface stubs, committed to the target
project. See references/stub-construction.md.
.scrum/test-results.json— TestCategories appended via
.scrum/scripts/record-test-result.sh (integration_api / integration_ui / design_coverage / manual_probe); overall_status recomputed by the wrapper.
- Defect PBIs in
.scrum/backlog.jsonwhen the quality gate fails. - A completion report to the SM via
SendMessage.
Output discipline. Follow ../../rules/scrum-context.md § Output discipline — lead with the outcome, no preamble, no closing recap.
Preconditions
- ≥1 Development Sprint completed (tests and running system exist).
- requirements.md and the enabled design specs exist.
- Testing Developer teammate(s) available to run the pipeline.
PO Mode (po_mode: "agent")
When .scrum/config.json.po_mode == "agent", every PO-approval prompt in the Steps below re-targets to the product-owner teammate per ../../rules/scrum-context.md § PO seat resolution; the ceremony shape is unchanged, and Steps not overridden in this table run verbatim. The decision to enter the Integration Sprint is already made upstream by the retrospective sprint_continuation decision — this skill has no start gate of its own.
| Step | Override (po_mode=agent) | |
|---|---|---|
7. Quality gate (failed) | Replace "ask user for additional issues" with one structured PO pass: [sprint-<N>] PO_DECISION_REQUEST kind=defect_triage options=[high,medium,low,reject] recommendation=<...> carrying the full failure list (smoke + integration + design-coverage). PO returns a priority for each failure in a single reply. No human-input wait, no "any other issues" loop. |
Steps
- Enter the phase. state.json → phase: "integration_sprint":
``bash .scrum/scripts/update-state-phase.sh integration_sprint `` (No-op when already there on re-entry.)
Codebase-audit pre-flight re-check (mandatory, thin). The whole-repo codebase-audit (4 axes) runs inside the Sprint-end cross-review ceremony (context (a)) every third Sprint (N % 3 == 0). This mandatory preflight is cadence-independent: run the codebase-audit skill with context=integration_entry. It verifies (i) the latest audit report is fresh — .scrum/reviews/codebase-audit-s{N}.md exists for the final development Sprint (N = numeric sprint number from sprint.json.id) — and (ii) no open [codebase-audit:*] PBI with a blocking (non-low) audit_severity remains in backlog.json (done = fixed and cancelled = PO-descoped; neither counts as open). Both hold → proceed to Step 2. Report stale/missing (including a final non-due Sprint with no scheduled report) → it runs a fresh audit now; any unresolved blocking PBI → it sets the phase to backlog_created and stops here (the Integration Sprint resumes after the defect-fix loop). This closes the hole where an audit PBI was filed but never fixed before integration. If that fresh audit finds documentation drift, the DOCS batch is also routed to backlog_created and completed through the normal fix loop before Step 2, regardless of severity; on re-entry the current/final Sprint report is checked again.
- Spawn the testing Developer teammate(s) via the
spawn-teammates skill (1–2 for testing). The Developer(s) run Steps 3–6.
- Delegate the `smoke-test` skill and wait for completion (do
NOT proceed early). This confirms the existing test assets still pass (regression) and records the base categories in .scrum/test-results.json. passed_with_skips is not a failure — continue.
- Design the test cases — follow
references/test-case-design.md. Derive a test-case matrix from every enabled spec applying the per-category derivation rules (boundary values + equivalence partitioning for interfaces, decision tables for business rules, state-transition coverage for workflows, screen-flow + form boundaries + journeys for UI, stub scenarios for external integration), and write it to .scrum/integration-tests/<sprint-id>/test-cases.md with a spec ⇄ case traceability table. The uncovered list MUST be empty or carry an explicit per-item waiver rationale.
- Build stubs for non-reproducible external interfaces — follow
references/stub-construction.md. Enumerate the external interfaces that cannot be exercised locally, map each from its S-022 contract, and implement stubs under tests/stubs/. Connection switching is by environment variable — never embed a stub branch in product code.
- Automate and execute — follow
references/test-automation.md. Implement API cases in tests/integration/ (project test library) and UI cases in tests/e2e/ (Playwright code); run them. Only cases that cannot be automated fall back to Claude-driven probes (Playwright MCP / Chrome DevTools MCP with logged evidence), then to a human-manual checklist. Record verdicts through .scrum/scripts/record-test-result.sh under categories integration_api / integration_ui / design_coverage / manual_probe, and report the automation rate. Once the tests are green, commit the test assets (tests/integration/, tests/e2e/, tests/stubs/) to the target project's main worktree — the sole sanctioned path is .scrum/scripts/commit-integration-tests.sh "<message>", which refuses to commit anything outside the test-asset set. When a test runner configuration file (e.g. pytest.ini, playwright.config.ts) must be committed alongside the assets, pass it via --allow <path> and state the path and reason in the Step 7 SM report.
- Quality gate + SM report (combined
overall_statusacross smoke
- integration + design-coverage categories):
- passed / passed_with_skips → report to the SM that
integration tests are green. The SM transitions the phase to uat_release and launches the uat-release skill. This skill does not transition to `uat_release` itself — that is uat-release Step 1. Note skipped categories, not_testable items, and the human-manual checklist in the report so they carry into UAT.
- failed → review errors → self-review related code → present
all failures → ask the user for any additional issues → create one PBI per confirmed failure (acceptance_criteria: expected vs actual, priority by severity) → transition to the development loop: ``bash .scrum/scripts/update-state-phase.sh backlog_created `` After the fix Sprint, re-enter integration tests.
- No fix without an assigned PBI — non-negotiable.
design_coveragefailures (includingmissingspec'd functions)
follow the same failed path. missing items become implementation PBIs referencing the spec anchor recorded in the test-case matrix.
- po_mode=agent: replace "ask the user for additional issues"
with one kind=defect_triage PO_DECISION_REQUEST carrying the full failure list; the PO returns priorities in a single reply (no per-failure round-trip).
Ref: FR-013
Strict Rules
- The tester never fixes defects discovered during this skill.
Defects route through SM → PBI per FR-010. No fix without an assigned PBI.
- The tester never edits product source code or design specs while
this skill runs.
- Functions not in an enabled spec are out of scope — no
spec-invention. Catalog governance (docs/design/catalog.md) applies.
- A spec assertion is never lowered to make a test pass. Ambiguous
assertions become not_testable with a rationale.
- A
missingitem never gets reclassified asnot_testableto
dodge the failed-count. not_testable means "cannot express the check as a runnable integration scenario", not "no implementation yet".
- Stubs are a mapping of the S-022 contract only — never invent
external behavior the spec does not state.
- Never silently drop an uncovered branch or boundary. Every
uncovered item is either covered by a case or waived with a rationale in the traceability table.
Exit Criteria
.scrum/integration-tests/<sprint-id>/test-cases.mdexists with a
complete spec ⇄ case traceability table (uncovered list empty or explicitly waived).
.scrum/test-results.jsonhasoverall_statusset, with
integration_api, integration_ui, and design_coverage categories recorded (executed or skipped-with-reason).
- Committed automation assets exist under
tests/integration/and/or
tests/e2e/ for the automated cases; stubs under tests/stubs/ for any external interface.
- Automation rate reported to the SM.
- passed → SM notified to launch
uat-release; OR failed → defect PBIs
created and phase returned to backlog_created.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/integration-tests/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 5
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sohei56/maul-team/integration-tests)