nw-design-patterns
7 agentic design patterns with decision tree for choosing the right pattern for each agent type
npx skills add majiayu000/claude-skill-registry --skill nw-design-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agentic Design Patterns ## Pattern Decision Tree ``` Is the agent doing a single focused task? YES -> Does it need self-evaluation? YES -> Reflection NO -> ReAct (default for most agents) NO -> Is it coordinating multiple agents? YES -> Are tasks independent? YES -> Parallel Orchestration NO -> Are tasks sequential with dependencies? YES -> Sequential Orchestration NO -> Hierarchical (supervisor + workers) NO -> Is it routing to one of several specialists? YES -> Router NO -> Does it need structured task decomposition? YES -> Planning NO -> ReAct (default) ``` ## 1. ReAct (Reason + Act) General-purpose agents needing tool calling and iterative problem-solving. **Loop**: Reason -> Select/execute action -> Observe result -> Repeat until done. **When**: Default pattern. Most specialist agents. **Examples**: software-crafter, researcher, troubleshooter. ## 2. Reflection Agent must evaluate and iteratively improve its own output. **Loop**: Generate -> Review against criteria -> Identify gaps -> Refine -> Validate threshold met. **When**: Quality-critical outputs where first-draft insufficient (code review, architecture review, agent validation). **Examples**: agent-builder-reviewer, s
- Pattern Decision Tree
- 1. ReAct (Reason + Act)
- 2. Reflection
- 3. Router
- 4. Planning
- 5. Sequential Orchestration
- 6. Parallel Orchestration
- 7. Hierarchical
- Pattern Combinations
- Choosing for nWave Agents
What does the nw-design-patterns skill do?
7 agentic design patterns with decision tree for choosing the right pattern for each agent type
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill nw-design-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
