From epic
Runs isolated integration tests in a fresh worktree, creates a PR with spec and check report, watches CI, and auto-fixes failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/epic:shipThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**CRITICAL**: Run `HARNESS_DIR=$(epic-harness path)` first. NEVER use `.harness/` in the project directory.
CRITICAL: Run HARNESS_DIR=$(epic-harness path) first. NEVER use .harness/ in the project directory.
Load the spec for PR content:
ls -t $HARNESS_DIR/specs/SPEC-*.md | head -1
Gate: check must have passed. If no check report exists, invoke the check skill before continuing.
1a. Isolated Integration Test
Launch an agent with isolation: "worktree" to verify in a clean environment:
cargo build --release / npm run build / etc.)Gate: If isolated test fails → STOP. "Fix with /go, then re-run /check before shipping."
gh pr create --title "<goal from spec>" --body "$(cat <<'EOF'
## Summary
<Goal from spec — what and why, not how>
## Spec
- Spec ID: SPEC-{timestamp}
- Requirements: R1, R2, ...
## Changes
<bullet list of key changes>
## Acceptance Criteria Verified
- AC1: ✅
- AC2: ✅
## Check Report
<paste full Check Report>
## Test Plan
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual verification done
EOF
)"
gh pr checks <PR_NUMBER> --watch
If CI fails, diagnose and fix automatically. Retry up to 2 times.
## Ship Report
- Spec: SPEC-{timestamp} ({goal_slug})
- PR: <URL>
- CI: [PASS/FAIL/N/A]
- Ready to merge: [YES/NO]
- Action needed: <if any>
If inside /orbit: Return control to orbit — it will run evolve automatically.
If standalone: Suggest "Run /evolve to analyze this session."
| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "CI will catch it" | CI doesn't catch everything | Run isolated test locally first |
| "The PR description doesn't matter" | It's the permanent record of why | Include spec + check report |
| "I'll merge without CI" | CI is a safety net | Wait for CI, fix failures |
npx claudepluginhub epicsagas/epic-harness --plugin epic-harnessGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.