From agent-workflows
Recombines 2-3 prototype designs into hybrid versions by analyzing structures, comparing elements, and spawning agents with dominant-parent architectures grafting others' strengths.
npx claudepluginhub sjarmak/agent-workflowsThis skill uses the workspace's default tool permissions.
Structural recombination of existing designs. Takes 2-3 prototypes or design approaches and spawns N agents to create HYBRID designs, each with a different "dominant parent" whose architecture leads while grafting specific elements from the others.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Structural recombination of existing designs. Takes 2-3 prototypes or design approaches and spawns N agents to create HYBRID designs, each with a different "dominant parent" whose architecture leads while grafting specific elements from the others.
$ARGUMENTS — format: [N] path1 path2 [path3] where N is optional number of hybrid agents (default: one per parent, min 2, max 5) and paths point to prototype branches, design docs, or PROTOTYPE_NOTES.md files
Extract:
Validate:
For each parent design:
Present a parent comparison table to the user:
| Element | Parent A | Parent B | Parent C |
|---|---|---|---|
| Architecture | ... | ... | ... |
| Data model | ... | ... | ... |
| Key algorithm | ... | ... | ... |
| API design | ... | ... | ... |
| Dependencies | ... | ... | ... |
| Error handling | ... | ... | ... |
| Distinctive strength | ... | ... | ... |
| Weakness / gap | ... | ... | ... |
Ask the user to confirm which elements they want to see recombined before proceeding.
Based on the parent count, design N recombination strategies. Each strategy names a dominant parent and specifies exactly which elements to graft from the others.
For 2 parents (A, B), typical strategies:
For 3 parents (A, B, C), add: 4. "Best-of-each: A's architecture + B's data model + C's error handling" — one element from each parent 5. "Minimal hybrid: smallest viable combination" — fewest grafting points, highest coherence
Present the strategies to the user and get confirmation before spawning agents.
Launch all N agents in parallel using the Agent tool. Each agent MUST:
isolation: "worktree" — each gets its own copy of the reposubagent_type: "general-purpose"CROSSBREED_NOTES.md in the repo root documenting:
Agent prompt template:
You are a crossbreed agent creating a hybrid design from multiple parent prototypes.
## Parent Analysis
{full_analysis_of_all_parents}
## Your Strategy: {strategy_name}
{strategy_description}
## Dominant Parent
{dominant_parent_path_and_summary}
## Elements to Graft
{specific_elements_from_other_parents}
Create a working hybrid implementation following your recombination strategy.
## Instructions
1. Read the dominant parent's code to understand its architecture
2. Read the other parent(s) to understand the elements you need to graft
3. Start from the dominant parent's structure
4. Graft the specified elements — adapt them to fit the dominant architecture
5. Build any connective tissue needed to make the grafts work together
6. Write CROSSBREED_NOTES.md in the repo root with:
- What was taken from which parent and why
- Integration challenges encountered
- New code invented to connect the grafts ("connective tissue")
- What was lost from non-dominant parents
- Seam locations: where parent code was spliced (these are where bugs will live)
- Self-assessed coherence [1-5] with rationale
- Estimated effort to production-ready [hours/days]
7. Stage and commit all changes with message: "crossbreed: {strategy_name}"
Do NOT:
- Destroy or modify the original parent branches
- Ignore incompatibilities — document them honestly
- Force a combination that does not work — flag it as low coherence instead
- Over-polish — working hybrid > perfect hybrid
After ALL agents return, for each hybrid:
CROSSBREED_NOTES.md from each worktree/branchgit diff --stat from base)1. Hybrid Comparison Table
| Dimension | Hybrid 1 | Hybrid 2 | Hybrid 3 |
|---|---|---|---|
| Dominant parent | ... | ... | ... |
| Elements grafted | ... | ... | ... |
| New connective tissue needed | ... | ... | ... |
| Self-assessed coherence | ... | ... | ... |
| Strengths inherited | ... | ... | ... |
| Trade-offs made | ... | ... | ... |
| Files changed | ... | ... | ... |
2. Graft Compatibility Map For each pair of elements from different parents, report whether they:
This map reveals which design elements are naturally composable and which resist combination.
3. Emergent Properties Identify any hybrid behaviors that were NOT present in ANY individual parent — cases where the combination produced something the parts did not. These are the most valuable findings.
4. Seam Risk Assessment For each hybrid, list the grafting points (seams) and assess their risk:
5. Recommended Hybrid Based on coherence, requirement coverage, and seam quality:
6. Per-Hybrid Highlights For each hybrid, a 2-3 sentence summary of its most distinctive contribution and biggest risk.
Ask the user how they want to proceed:
/stress-test to find where the seams breakisolation: "worktree".This skill sits between divergent exploration and final implementation:
/brainstorm (ideas) -> /diverge-prototype (N prototypes) -> /crossbreed (hybrids) -> /stress-test -> ship
Use /crossbreed when you have multiple promising prototypes and want to find the best combination rather than just picking one winner.