speckit-squad-generate

Regenerate Squad agent definitions, capabilities, and routing rules from a spec.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-squad-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-squad-generate
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-squad-generate
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-squad-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It keeps your Squad agent definitions, capabilities, and routing rules synchronized with a changing specification so you can safely re-generate without manual drift or stale configurations.

Core Features & Use Cases

  • Spec-driven regeneration: Re-reads .specify/spec.md and updates Squad agent definitions to match the latest domain structure and tech choices.
  • Safe repeated runs via diffing: Compares against existing agents in .squad/agents/, updates changed domains, adds new ones, and marks removed domains as status: inactive instead of deleting.
  • Routing and config alignment: Updates squad.config.ts and .squad/routing.md so routing rules and model tier assignments stay consistent with the regenerated agent set.

Quick Start

Run the command to regenerate agents from your current spec and update the routing rules to match the new agent set.

Frequently Asked Questions about speckit-squad-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep Squad agent definitions in sync with a changing spec?

To keep Squad agent definitions synchronized, regenerate them from `.specify/spec.md`. This updates agent capabilities and routing rules to eliminate configuration drift.

Does regenerating Squad agents delete removed domains?

Regenerating Squad agents does not delete removed domains. It safely marks non-spec domains as `status: inactive` in `.squad/agents/`, allowing safe re-generation without losing configurations.

How do I update routing rules when adding new domains to my spec?

Updating routing rules happens during regeneration. The process updates `squad.config.ts` and `.squad/routing.md` so routing rules and model tier assignments stay consistent with the new agent set.

Can I override default agent generation settings in spec-kit?

You can override default generation settings using `.specify/extensions/squad/squad-config.yml`. The regeneration process applies these optional overrides when reading `.specify/spec.md` to update agents.

What is configuration drift in Squad agents and how do I fix it?

Configuration drift occurs when Squad agent definitions become stale after specification changes. Fix it by diffing existing `.squad/agents/` against the updated spec to add new domains, update changed ones, and mark removed ones inactive.