squid-architecture-rev…
Periodic architectural sweep — reads existing ADRs, maps modules/dependencies/layering, and reports up to 10 prioritised findings…
Drive CI green on a pushed, review-clean feature PR — On-Call diagnoses failures and hands fix tasks to the SWE. Output: a CI-validated feature PR. Trigger after /squid-review passes.
$ npx -y skills add iusztinpaul/squid --skill squid-review-ci --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/squid-review-ciContext preview
The summary Claude sees to decide when to auto-load this skill.
Drive CI green on a pushed, review-clean feature PR — On-Call diagnoses failures and hands fix tasks to the SWE. Output: a CI-validated feature PR. Trigger after /squid-review passes.
name: squid-review-ci description: >- Drive CI green on a pushed, review-clean feature PR — On-Call diagnoses failures and hands fix tasks to the SWE. Output: a CI-validated feature PR. Trigger after /squid-review passes. argument-hint: <PR-number | branch>
Watch CI for the pushed feature PR and drive it to green. On failure, the On-Call engineer **diagnoses and hands a fix task to the SWE** (it does not fix the code itself); once CI is green, the PR is ready to merge.
You are the **orchestrator** — a MANAGER. You launch On-Call and the SWE, enforce the cap, and confirm green. You do NOT read the diff for review (that was `/squid-review`).
Read `AGENTS.md` first.
**Input:** a pushed, review-clean feature PR. **Output:** a CI-validated "ready to merge" PR (or `USER ACTION REQUIRED` if CI can't be made green within the cap).
---
Agent(
subagent_type="squid:oncall-engineer",
prompt="""Watch CI for the latest push on feat/{slug} (PR #{N}). {Working directory: {path}.} Read AGENTS.md first. Follow your role definition. CI/CD only — do not review the diff. Report green, or hand back a concrete FIX TASK (root cause + the exact failing command + affected files)."""
)Agent(
subagent_type="squid:software-engineer",
prompt="""CI failed on PR #{N}. {Working directory: {path}.} Fix task from On-Call: {root cause + failing command + files}. Reproduce locally with the same command CI ran, fix the root cause (not the symptom; fix the bug, not the test), re-run the local suite, commit per your Commit section (`Refs #N` — the original task is already closed), and push."""
)Then re-run **Watch CI (On-Call)** to confirm the new run goes green.
If CI is still red after 5 On-Call→SWE→re-check cycles, stop, surface `USER ACTION REQUIRED` with the last failing log, and end.
---
A CI-validated, ready-to-merge feature PR. Hand back to `/squid-implement-night`, or — if run standalone — report that CI is green and the PR is ready.
Periodic architectural sweep — reads existing ADRs, maps modules/dependencies/layering, and reports up to 10 prioritised findings…
Strip redundancy from prose — docs, READMEs, code comments, docstrings — keeping behaviour identical.
Shrink an agent harness (.agents/ skills + resources) to the minimum tokens that keep the exact same logic. Never touches…
Shrink the memory files sessions load — the root AGENTS.md plus every nested AGENTS.md / CLAUDE.md — to the minimum words that…
Interview the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses…
Run the full agent-team pipeline end-to-end for one feature whose Tasks Plan is already approved by /squid-plan, handing the…