From csdlc
Hand off a single story to a sub-agent (intern) for execution. Reads the story from Foundry, crafts the agent prompt, spawns the intern in a worktree, writes results back to Foundry. Use when the user says "intern", "hand this off", "send it to the intern", "dispatch", "execute this story".
npx claudepluginhub danhannah94/claymore-plugins --plugin csdlcThis skill uses the workspace's default tool permissions.
Hand off this story to a sub-agent: **$ARGUMENTS**
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Hand off this story to a sub-agent: $ARGUMENTS
This is Step 3 of the CSDLC pipeline. A refined, scoped story gets handed to an "intern" (sub-agent) for execution. The intern works in an isolated worktree, implements the story, and reports back.
Read the story. $ARGUMENTS is either:
FND-E12-S3) → search Foundry for the story section in the epic docget_page to read itVerify the story is ready. Check that it has:
If any are missing, flag them and ask: "This story is missing [X]. Want me to fill it in, or should we /refine it first?"
Craft the agent prompt. Use the csdlc-craft-agent-prompt skill to assemble the prompt. The prompt includes:
Confirm with the user. Present a summary:
Ready to dispatch:
Story: {ID} — {title}
Repo: {path}
Branch: {branch-name}
Scope: {one-line summary}
Send the intern? (or review the full prompt first)
Spawn the intern. Use the Agent tool with isolation: "worktree":
Report results. When the intern completes:
Story {ID} executed.
Status: complete / failed
Branch: {branch}
PR: {url}
Tests: {summary}
/review to verify, or dispatch the next story| Mode | When | How |
|---|---|---|
| Direct sub-agent | Simple, well-scoped stories | Spawn intern with full prompt. Intern implements and reports back. |
| Managed agent | Complex stories, audit trail needed | Spawn a lightweight manager (Sonnet) that delegates to Claude Code for implementation. |
Default to direct sub-agent. Use managed agent when the story is complex enough to warrant orchestration.
/shipit is running the batch).