nwave-ai/nwave/nw-command-design-patterns

Claude Code and agent skill by nwave-ai/nwave

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Best practices for command definition files - size targets, declarative template, anti-patterns, and canonical examples based on research evidence

Install

npx vskill@latest install nwave-ai/nwave/nw-command-design-patterns

SKILL.md

The same SKILL.md was published earlier as nwave-ai/nwave/nw-command-design-patterns.

Command Design Patterns (composing core)

Kind: KNOWLEDGE (lean composing core). The command-design knowledge is decomposed into three one-trigger modules; this core holds the canonical examples and composes the modules by trigger. Load the module(s) for the question in play.

Composition

ModuleLoad when the question isPath
nw-command-design-patterns-classificationwhat CATEGORY / what SIZE / what SHAPE (declarative template, WHAT-vs-HOW logic placement)~/.claude/skills/nw-command-design-patterns-classification/SKILL.md
nw-command-design-patterns-reductionwhat is REDUCIBLE / what to REMOVE / how far to COMPRESS (duplication triangle, anti-patterns, compression rules)~/.claude/skills/nw-command-design-patterns-reduction/SKILL.md
nw-command-design-patterns-authoringI am creating a NEW command — which FILES / what FORMAT (v2.8+ three-file install contract)~/.claude/skills/nw-command-design-patterns-authoring/SKILL.md

The three triggers partition the space: classification (size an existing command), reduction (trim a bloated one), authoring (lay out a new one). No overlap, no gap.

Canonical Examples

Example 1: Minimal Dispatcher (forge.md pattern, ~40 lines)
markdown
# DW-FORGE: Create Agent (V2)
**Wave**: CROSS_WAVE
**Agent**: Zeus (nw-agent-builder)
## Overview
Create a new agent using the research-validated v2 approach.
## Agent Invocation
@nw-agent-builder
Execute \*forge to create {agent-name} agent.
**Configuration:**
-agent_type: specialist | reviewer | orchestrator
## Success Criteria
-[ ] Agent definition under 400 lines
-[ ] Every `nw-ab-validation-checklist` item passes
-[ ] 3-5 canonical examples included
## Next Wave
**Handoff To**: Agent installation and deployment
**Deliverables**: Agent specification file + Skill files
Example 2: Medium Dispatcher with Context (~80 lines)
markdown
# DW-RESEARCH: Evidence-Driven Research
**Wave**: CROSS_WAVE
**Agent**: Nova (nw-researcher)
## Overview
Execute systematic evidence-based research with source verification.
## Orchestration: Trusted Source Config
Read .nwave/trusted-source-domains.yaml at orchestration time, embed inline in prompt.
## Agent Invocation
@nw-researcher
Execute \*research on {topic} [--embed-for={agent-name}].
**Configuration:**
-research_depth: detailed
-output_directory: docs/research/
## Success Criteria
-[ ] All sources from trusted domains
-[ ] Cross-reference performed (3+ sources per major claim)
-[ ] Research file created in docs/research/
## Next Wave
**Handoff To**: Invoking workflow
**Deliverables**: Research document + optional embed file
Example 3: Orchestrator (~200 lines)

Coordinates multiple phases without embedding agent knowledge:

markdown
# DW-DOCUMENT: Documentation Creation
**Wave**: CROSS_WAVE
**Agent**: Orchestrator (self)
## Overview
Create DIVIO-compliant documentation through research and writing phases.
## Phases
1.Research phase: @nw-researcher gathers domain knowledge
2.Writing phase: @nw-documentarist creates documentation
3.Review phase: @nw-reviewer validates quality
## Phase 1: Research
@nw-researcher - Execute \*research on {topic}
[Orchestrator reads and passes relevant context files]
## Phase 2: Writing
@nw-documentarist - Create {doc-type} documentation
[Orchestrator passes research output as context]
## Phase 3: Review
@nw-reviewer - Review documentation against DIVIO standards
[Orchestrator passes documentation for review]
## Success Criteria
[Per-phase and overall criteria]

The orchestrator describes WHAT each phase does and WHO does it. The agents know HOW.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
568
Repository forks
57
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nwave-ai/nwave/nw-command-design-patterns/badge)](https://verified-skill.com/skills/nwave-ai/nwave/nw-command-design-patterns)

Something wrong with this skill or its page? Tell us.