원클릭으로
Operation completion gate — notify the user or dispatch the next task
npx skills add https://github.com/LangSensei/swat-marketplace --skill debrief이 명령을 Claude Code에 복사하여 붙여넣어 스킬을 설치하세요
Operation completion gate — notify the user or dispatch the next task
npx skills add https://github.com/LangSensei/swat-marketplace --skill debrief이 명령을 Claude Code에 복사하여 붙여넣어 스킬을 설치하세요
| name | debrief |
| version | 3.2.0 |
| description | Operation completion gate — notify the user or dispatch the next task |
| dependencies | {"skills":[],"mcps":["swat"]} |
Every operation must end with a debrief. Choose exactly one exit:
Never both. Never neither.
Use this flowchart to decide which exit to take. Squad-specific debrief rules in the MANIFEST always override this general guidance.
START
│
├─ Does your squad MANIFEST have "Debrief Rules (mandatory)" section?
│ YES → Follow those rules exactly. Stop here.
│ NO → Continue below.
│
├─ Did your operation produce work that needs follow-up by another squad?
│ YES → Exit 2 (Dispatch)
│ NO → Continue below.
│
├─ Did your operation complete its assigned task successfully?
│ YES → Exit 1 (Notify)
│ NO → Continue below.
│
├─ Did your operation fail in a way another squad could fix?
│ YES → Exit 2 (Dispatch) with failure context
│ NO → Exit 1 (Notify) with failure report
│
END
| Scenario | Exit | Target |
|---|---|---|
| PR opened, needs review | Dispatch | swat-review |
| PR reviewed, changes requested | Dispatch | swat-dev |
| PR reviewed, approved, zero comments | Notify | — |
| Analysis/research completed | Notify | — |
| Lint found errors, needs fix | Dispatch | swat-dev |
| All checks pass | Notify | — |
| Task failed, another squad can help | Dispatch | relevant squad |
| Task failed, no recovery path | Notify | — |
Send a concise notification to the user with your key findings.
Call the swat_notify MCP tool with your notification message:
swat_notify({"operation_id": "<your-operation-id>", "message": "your notification message"})
operation_id— read from OPERATION.md frontmatter. This enables the desktop notification to link directly toreport.htmlwhen clicked. Optional but recommended.
Good — leads with conclusion, includes data:
PR #42 on LangSensei/swat approved with no comments. Clean merge candidate.
Good — failure with context:
Build failed for feature/mcp-retry on LangSensei/swat. Go compilation error in mcp/client.go:128 — undefined reference to RetryConfig. This appears to require a type definition that wasn't included in the brief.
Bad — too vague:
Operation complete. Check the report for details.
When further work is needed, use the swat_dispatch MCP tool to hand off to the next squad.
Call the swat_dispatch MCP tool with a task brief:
swat_dispatch({"brief": "your dispatch brief", "details": "additional context, file paths, specifics"})
brief— concise one-line task description (used for classification). Keep it short and actionable.details— expanded context, constraints, file paths, code snippets, error messages. Put lengthy context here instead of cramming it intobrief.
Every dispatch brief must be self-contained — the receiving squad has no access to your operation context. Include:
Good — PR review dispatch (swat-dev → swat-review):
Review PR #47 on LangSensei/swat (branch: swat/20260415-abc12345).
Changes: Added retry logic to MCP client with exponential backoff. Modified mcp/client.go and mcp/client_test.go.
Files changed: mcp/client.go, mcp/client_test.go, mcp/config.go
Good — fix dispatch (swat-review → swat-dev):
Fix review comments on PR #47, LangSensei/swat. Branch: swat/20260415-abc12345. Resume the existing branch.
Fixes needed:
[blocking] mcp/client.go:142 — retry loop does not check context cancellation, risk of infinite retry on shutdown
[blocking] mcp/client.go:156 — error wrapping loses original error type, breaks errors.Is() checks downstream
[suggestion] mcp/config.go:28 — MaxRetries default of 10 seems high, consider 3 with longer backoff
PR context: Adds retry logic to MCP client for transient network failures.
Bad — missing context:
Fix the PR issues.
Single-file HTML slide-deck template for Tao Te Ching chapter decks — ink-style, 10-page narrative, hand-rolled engine, reusable CSS variables and animation classes
Design or interpret dye process curves for woven synthetics, diagnose defects, and recommend colorfastness improvements with explicit trade-offs.
Identify woven synthetic fibers and explain their dyeing and finishing implications from lab clues, fabric specs, and supplier claims.
Compare finish systems, interpret SDS or trade names, assess PFAS and chemical compliance, and recommend substitutes for woven synthetics.
Reference knowledge for DWR system comparison, PFAS regulations, hazardous substance thresholds, and auxiliary chemical brand identification.
Reference knowledge for woven synthetic fiber identification, dye-class matching, process windows, and cost/energy structure.