skills/agent-dispatch/SKILL.md
Single front door for agent/subagent architecture, config, and setup. Parses a subcommand — audit, config, init, or route — and routes to the right engine: agent-architecture-audit (diagnose LLM wrapper and agent failures), agent-config-audit (audit and sync AI agent config files across workspaces), agent-folder-init (add or repair .agents/ project context for a repo), or setup-agent-routing (write a machine-readable routing block in CLAUDE.md/AGENTS.md). Backs the /agent command. Use when asked to audit an agent system, check config drift, initialize agent docs, or wire up routing, and the action must be picked from an argument like "audit", "config", "init", or "route".
npx skillsauth add shipshitdev/library agent-dispatchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The router behind /agent. Turns a subcommand into the right action and delegates. Contains no logic of its own — delegates to agent-architecture-audit, agent-config-audit, agent-folder-init, and setup-agent-routing.
Inputs:
mode.Outputs:
audit: a severity-ranked findings report diagnosing LLM wrapper and agent
failures, with a layer-by-layer fix plan.config: an audit report covering AGENTS.override.md, AGENTS.md,
configured fallbacks, CLAUDE.md, .cursorrules, hooks, and settings, with
proposed fixes.init: a scaffolded .agents/ folder structure plus root agent entry
files, with a summary of files created versus skipped.route: a drafted ## Agent skills routing block in CLAUDE.md/AGENTS.md
and seeded docs/agents/ reference files.Creates/Modifies:
External Side Effects:
gh APIs, or
workspace files when resolving routing state.Confirmation Required:
disable-model-invocation). Each delegated
skill owns its own confirmation gate before writing files or changing config.
This router does not relax them.Delegates To:
agent-architecture-audit for audit (diagnose LLM and agent wrapper failures).agent-config-audit for config (audit and sync agent config files).agent-folder-init for init (scaffold or repair the .agents/ folder).setup-agent-routing for route (write the dev-loop routing block).Resolve the raw argument into a mode.
| Argument | Mode | Delegates to |
|---|---|---|
| (empty) | status | none — print a one-line domain summary + Usage block |
| audit | audit | agent-architecture-audit |
| config | config | agent-config-audit |
| init | init | agent-folder-init |
| route | route | setup-agent-routing |
If the argument matches none of these, report the unrecognized input and print the Usage block — do not guess a mode.
agent-architecture-audit skill.agent-config-audit skill.agent-folder-init skill.setup-agent-routing skill./agent # status: one-line domain summary + usage
/agent audit # diagnose LLM wrapper regressions, prompt/memory contamination, tool discipline failures
/agent config # audit and sync AGENTS.md, overrides, fallbacks, CLAUDE.md, hooks, and settings
/agent init # scaffold or repair the .agents/ folder and root agent entry files for a repo
/agent route # write the ## Agent skills routing block in CLAUDE.md/AGENTS.md + docs/agents/
development
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.