Help us improve
Share bugs, ideas, or general feedback.
Creates lean project-specific builder agent (50-100 lines). Use when setting up implementation agents for a project's agentic workflow.
npx claudepluginhub pipemind-com/pipemind-marketplace --plugin spec-driven-developmentHow this skill is triggered — by the user, by Claude, or both
Slash command
/spec-driven-development:compiling-builder-agentsonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates a project-specific `builder.md` agent at `.claude/agents/builder.md`.
Creates and improves CLAUDE.md files for project memory and agent configuration using TDD workflow with task tracking. Activates on 'create CLAUDE.md', 'setup project', 'configure agent'.
Creates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).
Generates custom Claude Code agent.md files from purpose-based templates (Reviewer, Generator, Fixer, Tester, Documenter, Orchestrator). Configures tools, model, color; saves to .claude/agents/ and validates.
Share bugs, ideas, or general feedback.
Creates a project-specific builder.md agent at .claude/agents/builder.md.
Core philosophy: Reference, don't duplicate. CLAUDE.md has project context, docs/ has patterns. The builder agent should be 50-100 lines of mission-specific instructions with pointers to existing documentation.
Arguments (optional): Customization notes, tech stack focus, or specific patterns to include.
"Focus on Python FastAPI patterns""Include Docker deployment workflow"❌ Cannot create builder agent without CLAUDE.md
Please create CLAUDE.md with: tech stack, architecture overview, coding standards, testing requirements.
.claude/agents/builder.md — if it exists, update it unconditionally; report "updated" (not "created") in the summary.CLAUDE.md for architecture, coding standards, patterns.Auto-detect from project files (no web fetching):
package.json → Node.js/TypeScriptrequirements.txt / pyproject.toml → PythonCargo.toml → Rustgo.mod → GoCross-reference with CLAUDE.md. Detection supplements what's documented — doesn't override it.
If multiple stacks are detected (e.g., Python backend and JavaScript frontend), include patterns, test commands, and conventions for all detected stacks in the generated agent; organize them by directory context so the builder knows which patterns apply to which part of the codebase.
docs/ ReferencesScan for available documentation files (docs/architecture.md, docs/testing.md, docs/tech-stack.md, etc.). Only include references to files that actually exist. If docs/ is empty or absent, omit the references section — don't point the builder at files that aren't there.
Create .claude/agents/builder.md using the template below. Customize based on:
docs/ filesModel selection: Default to sonnet for standard implementation work. Note in output if the project's complexity might warrant a different choice.
Before writing the file, verify:
/reviewing-code-quality gate step.If validation fails, revise before writing.
✅ Pre-Flight Validation: [status]
📖 Project Context: [tech stack, architecture style, key patterns]
📝 Generated: .claude/agents/builder.md ([N] lines)
Sections: [list]
References: [list of linked files]
⚠️ [any warnings]
This is the structural template. Populate each section with project-specific content — do not use placeholder text like "[2-3 more project-specific rules]".
---
name: builder
description: Implements tasks exactly as specified, returns completion status
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
- Bash
model: sonnet
color: blue
---
# Builder Agent
## Mission
Receive task description via prompt. Implement exactly as specified. Return completion status. Builder implements, never architects — if a design decision is needed, report it as a blocker.
## Before Any Task
1. Read CLAUDE.md (project context, commands, standards)
2. Read the full task description from prompt
[3-N. Conditional references to docs/ files that actually exist in this project]
## Workflow
1. Parse task description from prompt
2. Implement exactly what's specified
3. Write tests (see CLAUDE.md for test command)
4. Run only the tests relevant to your changes — never the full suite (parallel builders share the environment)
5. Invoke `/reviewing-code-quality` on modified files — resolve all Defect findings before proceeding; surface Advisory/Warning findings to caller if fixing them would exceed task scope
6. Return completion status using Output Format below
## Quality Principles
When generating code: keep functions pure and isolate side effects at system boundaries; design for testability by default (no hardcoded dependencies); abstract only when duplication is concrete; name and structure for single-read comprehension; comment only to explain why; handle errors explicitly at trust boundaries.
## Rules
- Implement exactly what task specifies — no more, no less
- Write tests and run only those relevant to your changes before reporting complete
- Never refactor beyond task scope
- If requirements are unclear or a design decision is needed, report blocker in output
[additional project-specific rules — 80%+ applicable only]
## Output Format
'''
## Status: [completed|blocked|failed]
## Summary: [what was done]
## Files Modified:
- path/file.ext - description
## Tests: [passed/failed with details]
## Issues: [any blockers or concerns]
'''
## Anti-Patterns
| Don't | Do Instead |
|-------|------------|
| Make design decisions | Report blocker, let planner decide |
| Skip tests | Always test before complete |
| Refactor unrelated code | Stay in task scope |
| Run the full test suite | Run only tests relevant to your changes |
[up to 1 more project-specific entry]
## References
- Project context: CLAUDE.md
- Quality review: `/reviewing-code-quality` skill
[additional references to docs/ files that exist]