nw-ab-critique-dimensi…
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
$ npx -y skills add nWave-ai/nWave --skill nw-agent-creation-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nw-agent-creation-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
name: nw-agent-creation-workflow description: Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement user-invocable: false disable-model-invocation: true
Create agents through 5 phases: ANALYZE -> DESIGN -> CREATE -> VALIDATE -> REFINE. Each phase has clear inputs, outputs, and quality gates. Follow "start minimal, add based on failure."
**Goal**: Understand requirements and determine agent architecture.
**Inputs**: User requirements, use case description, existing codebase context.
**Steps**: 1. Identify single clear responsibility 2. Determine new agent or modification of existing 3. Check overlap with existing agents (avoid duplication) 4. Classify agent type:
5. Identify required tools (start with Read, Glob, Grep -- add only what's needed) 6. Determine if Skills needed (domain knowledge > 50 lines)
**Gate**: Single responsibility identified. Agent type classified. No overlap.
**Output**: Requirements summary with agent type, tools list, skill needs.
**Goal**: Design agent architecture and structure.
**Inputs**: Requirements summary from Phase 1.
**Steps**: 1. Select design pattern (load `design-patterns` skill) 2. Define role and goal (1-2 sentences each) 3. Identify core principles that DIVERGE from Claude defaults:
4. Design workflow (3-7 phases) 5. Plan Skills extraction: domain knowledge -> separate Skill | Testing/validation -> separate Skill | Keep workflow and principles in core agent 6. Design Skill Loading Strategy (required for 3+ skills):
7. Draft frontmatter:
---
name: {kebab-case-id}
description: Use for {domain}. {When to delegate.}
model: inherit
tools: [{minimum tools needed}]
maxTurns: 30
skills:
- nw-{skill-name}
---**Gate**: Design fits ~200-300 lines (core) + Skills. Pattern selected. Frontmatter drafted.
**Output**: Agent architecture document (working notes, not deliverable).
**Goal**: Write agent definition file and Skills.
**Inputs**: Design from Phase 2.
**Steps**: 1. Create agent `.md` file:
2. Create Skill files if needed: each in `nWave/skills/{agent-name}/` | YAML frontmatter with `name` and `description` | Focused content, 100-250 lines each 3. Measure: `wc -l`. Target: under 300 lines.
4. Add Skill Loading Strategy section (required for agents with 3+ skills):
## Skill Loading Strategy
Load on-demand by phase, not all at once:
| Phase | Load | Trigger |
|-------|------|---------|
| 1 Phase Name | `skill-name` | Always — core methodology |
| 2 Phase Name | `other-skill` | When condition is met |
Skills path: `~/.claude/skills/nw-{skill-name}/SKILL.md` (installed) or `nWave/skills/nw-{skill-name}/SKILL.md` (repo)5. Add `Load:` directives at the start of each workflow phase referencing the applicable skills 6. Verify: every skill in frontmatter `skills:` has at least one `Load:` directive in the workflow text. Orphan skills (declared but never loaded) are a bug.
**Gate**: Agent file created. Under 300 lines. Skills created if needed. Skill Loading Strategy present for 3+ skills.
**Output**: Agent `.md` file + Skill files.
**Goal**: Verify agent meets quality standards.
**Steps**: 1. Run 14-point validation checklist:
2. Check anti-patterns: no monolithic sections (>50 lines without structure) | No duplicated Claude defaults | No embedded safety frameworks | No aggressive language 3. Test with representative inputs (Layer 1 testing)
**Gate**: All 14 items pass. No anti-patterns.
**Output**: Validation report (pass/fail per item).
**Goal**: Iteratively improve based on testing feedback.
**Steps**: 1. Address validation failures 2. Test with edge cases 3. Add instructions ONLY for observed failure modes: wrong decision -> add rule/example | Missed step -> clarify workflow | Over-generated -> add constraint 4. Re-measure: `wc -l`. If approaching 400 lines, extract to Skills. 5. Re-validate with 14-point checklist.
**Gate**: All validation passes. Line count within target. Edge cases handled.
**Output*
AI agents that guide you from idea to working code, with human judgment at every gate. nWave runs inside Claude Code. It breaks feature delivery into seven waves (discover, diverge, discuss, design, devops, distill, deliver).
Repo: nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton…
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating…
Comprehensive architecture patterns, methodologies, quality frameworks, and evaluation methods for solution architects. Load when designing system architecture…