Skip to content
Development
Skill

/nw-ab-migrate-monolith

PROCEDURE — migrate one legacy monolithic agent to a lean core plus routed skills. Trigger: an existing agent has measured size, embedded-configuration, duplication, aggressive-language, or multi-responsibility debt. Composes agent validation and requested skill optimization.

From plugin
nwave
635183 skills37 agents

Claude Code

$ npx -y skills add nWave-ai/nWave --skill nw-ab-migrate-monolith --agent claude-code

SKILL.md

nw-ab-migrate-monolith.SKILL.md
name: nw-ab-migrate-monolith
description: "PROCEDURE — migrate one legacy monolithic agent to a lean core plus routed skills. Trigger: an existing agent has measured size, embedded-configuration, duplication, aggressive-language, or multi-responsibility debt. Composes agent validation and requested skill optimization."
user-invocable: false

nw-ab-migrate-monolith (PROCEDURE)

**Kind**: PROCEDURE | **One job**: migrate one existing agent monolith | **One trigger**: a legacy agent has measured size, embedded-configuration, duplication, aggressive-language, or multi-responsibility debt.

Deterministic workflow

Run these steps in order:

1. **Baseline** — Measure the agent's lines, words, bytes, responsibilities, monolith debt, and existing behavioral projections. Stop: baseline is red, the target is not an agent, or a textual pin cannot be preserved. 2. **Extract configuration** — Move semantic configuration into frontmatter while preserving `name`, `model`, `tools`, `maxTurns`, `skills`, and public behavior. Stop: a field cannot be represented without behavior change. 3. **Map** — Reuse existing skills first. Map each original rule to one owner: lean agent core, one existing skill, or one extracted skill. Define disjoint, exhaustive triggers for extracted skills. Stop: an owner overlaps, a trigger gaps/overlaps, or public fan-out is missing. 4. **Simplify** — Preserve the agent name, public contract, tool surface, model, and `maxTurns`; retain only routing and global invariants in the core. Remove duplication and route distinct-trigger knowledge/procedures. Safety by construction first (frontmatter tool surface, typed grammar); hooks last resort with a recorded reason (GDP-0). Prefer remove, relax, route, or construct over a new check. Stop: preservation would change behavior or require added ceremony. 5. **De-escalate language** — Replace aggressive language with direct calm language; retain `MUST` only for skill-loading instructions. Stop: a required textual pin cannot be preserved. 6. **Optimize referenced skills** — For each referenced skill selected for optimization, invoke `nw-ab-optimize-skill`. Continue agent migration when it returns `NOT_ELIGIBLE`. Stop: a preservation risk, or a worsened resident cost without an explicit decision. 7. **Validate once** — Batch the planned edits, run existing agent validation once through `nw-ab-validate-spec`, and execute the existing behavioral projections. Do not create validators or tests. Stop: validation or a projection is red. 8. **Handoff** — Report ownership map, trigger partition, before/after measurements, executed projections, independent-review-needed, and residual `INDETERMINATE`. Stop: any required fact remains unmeasured.

Composition

| Kind | Skill | Use | |---|---|---| | PROCEDURE | `nw-ab-validate-spec` | Step 7, agent validation only | | PROCEDURE | `nw-ab-optimize-skill` | Step 6, for a referenced skill selected for optimization | | KNOWLEDGE | `nw-ab-house-style` | Steps 2, 4, and 5; preserve lean core and literal protections |

Boundaries

  • Input is one existing agent; skill optimization remains the composed procedure's job.
  • `nw-ab-validate-spec` validates the agent result only.
  • Existing behavioral projections are evidence, never permission to change behavior.
  • No public command, agent, or artifact is created by migration.

Success criteria

  • [ ] Agent name, public contract, model, tools, and `maxTurns` preserved.
  • [ ] Every original rule has exactly one owner; extracted triggers are disjoint and exhaustive.
  • [ ] Referenced skills are optimized only through `nw-ab-optimize-skill` when eligible.
  • [ ] Existing validation runs once after batched edits; existing behavioral projections remain green.
  • [ ] Terminal handoff contains measurements, ownership, trigger partition, review need, and residual `INDETERMINATE`.
Read more
@nwave-ai
Ships withnwave

nWave supplies specialist roles and a host-led delivery workflow for software teams.

635183 skills37 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
635
Star history of nWave-ai/nWave on GitHub, a chart by star-history.com

Other skills on nwave.

nw-ab-agent-template

nw-ab-agent-template

KNOWLEDGE — the canonical agent-spec template (frontmatter + body skeleton). Reference loaded by the create/migrate procedures;…

@nwave-ai@nwave-aiInstall Skill
nw-ab-anti-patterns

nw-ab-anti-patterns

KNOWLEDGE — agent/skill/command anti-pattern catalog with fixes. Reference scanned by validate-spec; no sequence.

@nwave-ai@nwave-aiInstall Skill
nw-ab-create-agent

nw-ab-create-agent

PROCEDURE — create a NEW agent via the 5-phase workflow (ANALYZE→DESIGN→CREATE→VALIDATE→REFINE). Trigger: build a new AI agent.…

@nwave-ai@nwave-aiInstall Skill
nw-ab-examples

nw-ab-examples

KNOWLEDGE — canonical worked examples for agent creation, migration, and command optimization. Reference for the relevant…

@nwave-ai@nwave-aiInstall Skill
nw-ab-house-style

nw-ab-house-style

KNOWLEDGE — caveman-native authoring house style + by-construction guarantees (Reasoning Mandate injection, measured-gain…

@nwave-ai@nwave-aiInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about nw-ab-migrate-monolith.

Which coding agents can use nw-ab-migrate-monolith?
nw-ab-migrate-monolith installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.