npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin conarylabs-miraThis skill uses the workspace's default tool permissions.
<!-- plugin/skills/full-cycle/SKILL.md -->
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Requires: Claude Code Agent Teams feature.
End-to-end expert review with automatic implementation and QA verification.
Arguments: $ARGUMENTS
Parse arguments (optional):
--discovery-only -> Only run Phase 1 (same as /mira:experts)--skip-qa -> Skip Phase 3 QA verification--members nadia,sable -> Only spawn these specific discovery experts (by first name)Determine context: The user's question, the area to review, or the scope of analysis. If no context is obvious, ask the user what they'd like reviewed.
Launch discovery team: Call the Mira launch MCP tool to get agent specs:
launch(team="expert-review-team", scope=user_context, members="nadia,sable" or omit for all)
The members parameter is only needed if the user passed --members.
Create the team:
TeamCreate(team_name=result.data.suggested_team_id)
Create and assign discovery tasks: For each agent in result.data.agents:
TaskCreate(subject=agent.task_subject, description=agent.task_description)
TaskUpdate(taskId=id, owner=agent.name, status="in_progress")
Spawn discovery experts: For each agent in result.data.agents, use the Task tool:
Task(
subagent_type="general-purpose",
name=agent.name,
model=agent.model,
team_name=result.data.suggested_team_id,
prompt=agent.prompt + "\n\n## Context\n\n" + user_context,
run_in_background=true
)
Spawn all discovery experts in parallel (multiple Task calls in one message).
IMPORTANT: Do NOT use mode="bypassPermissions" for discovery agents -- they are read-only explorers.
IMPORTANT: Always pass model="sonnet" to the Task tool. This ensures read-only agents use a cost-efficient model.
Wait for findings: All discovery experts will send findings via SendMessage. Wait for all to finish, then shut them down.
Synthesize findings into a unified report:
IMPORTANT: Preserve genuine disagreements. Do NOT force consensus.
Present synthesis to user and WAIT for their approval before proceeding to implementation. Do not auto-proceed.
Launch implementation team: Call launch to get implementation agent specs:
launch(team="implement-team", scope=approved_items)
Spawn Kai (implementation planner) from the launch results:
Task(
subagent_type="general-purpose",
name="kai",
model=kai_agent.model,
team_name=implement_result.data.suggested_team_id,
prompt=kai_agent.prompt + "\n\n## Approved Findings\n\n" + approved_items,
run_in_background=true
)
Kai groups fixes by file ownership, identifies dependencies, and sets max 3-5 fixes per agent.
Spawn implementation agents based on Kai's work breakdown:
Task(
subagent_type="general-purpose",
name="fixer-{group-name}",
team_name=implement_result.data.suggested_team_id, # result from step 10's launch call
prompt=implementation_prompt + task_descriptions,
run_in_background=true,
mode="bypassPermissions"
)
Follow the implement-team coordination rules: strict file ownership, max 3-5 fixes per agent, schema changes first, verify with cargo test --no-run (NEVER --release).
Spawn all implementation agents in parallel. Monitor build diagnostics and send hints if needed.
Spawn Rio (integration verifier) from the launch results after implementation agents complete:
Task(
subagent_type="general-purpose",
name="rio",
model=rio_agent.model,
team_name=implement_result.data.suggested_team_id,
prompt=rio_agent.prompt + "\n\n## Changes Made\n\n" + summary_of_changes,
run_in_background=true,
mode="bypassPermissions"
)
Rio runs compilation checks, linters, tests, and fixes cross-agent issues.
Wait for implementation: All agents report completion via SendMessage. Shut them down.
Launch QA team: Call launch to get QA agent specs:
launch(team="qa-hardening-team", scope=summary_of_changes)
Spawn QA agents: For each agent in the QA launch results:
Task(
subagent_type="general-purpose",
name=agent.name,
model=agent.model,
team_name=qa_result.data.suggested_team_id, # result from step 15's launch call
prompt=agent.prompt + "\n\n## Changes Made\n\n" + summary_of_changes,
run_in_background=true
)
IMPORTANT: Do NOT use mode="bypassPermissions" for QA agents -- they are read-only.
IMPORTANT: Always pass model="sonnet" to the Task tool. This ensures read-only agents use a cost-efficient model.
Create and assign QA tasks for each auditor.
Wait for QA results: If issues found, either fix directly or spawn additional fixers.
cargo clippy --all-targets --all-features -- -D warnings + cargo fmt --all -- --check + cargo test (NEVER --release).TeamDeleteIf an agent has not responded after an unusually long time, send it a direct message via SendMessage to check status. For discovery agents, shut down if unresponsive and note the gap. For implementation agents, fix directly or reassign. Do not wait indefinitely.
/mira:full-cycle
-> Prompts for what to review, then runs full discovery -> implementation -> QA cycle
/mira:full-cycle Review the database layer for issues
-> 4 experts review the DB layer, findings are implemented, QA verifies
/mira:full-cycle --discovery-only
-> Only runs Phase 1 (equivalent to /mira:experts)
/mira:full-cycle --skip-qa
-> Runs discovery + implementation but skips QA phase
/mira:full-cycle --members nadia,jiro
-> Only Nadia and Jiro run discovery, then full implementation + QA cycle
| Phase | Agents | Purpose |
|---|---|---|
| Discovery | Nadia, Jiro, Sable, Lena (expert-review-team) | Find issues, propose improvements |
| Implementation | Kai plans, dynamic agents execute, Rio verifies (implement-team) | Implement fixes in parallel |
| QA | Hana, Orin, Kali, Zara (qa-hardening-team) | Verify changes, catch regressions |