bradygaster/squad-with-aspire/cli-wiring
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install bradygaster/squad-with-aspire/cli-wiringSKILL.md
The same SKILL.md was published earlier as bradygaster/squad/cli-wiring.
Skill: CLI Command Wiring
Bug class: Commands implemented in packages/squad-cli/src/cli/commands/ but never routed in cli-entry.ts.
Checklist — Adding a New CLI Command
- Create command file in
packages/squad-cli/src/cli/commands/<name>.ts
- Export a
run<Name>(cwd, options)async function (or class with static methods for utility modules)
- Add routing block in
packages/squad-cli/src/cli-entry.tsinsidemain():
``ts if (cmd === '<name>') { const { run<Name> } = await import('./cli/commands/<name>.js'); // parse args, call function await run<Name>(process.cwd(), options); return; } ``
- Add help text in the help section of
cli-entry.ts(search forCommands:):
``ts console.log( ${BOLD}<name>${RESET} <description>); console.log( Usage: <name> [flags]); ``
- Verify both exist — the recurring bug is doing step 1 but missing steps 2-3.
Wiring Patterns by Command Type
| Type | Example | How to wire | |
|---|---|---|---|
| Standard command | export.ts, build.ts | run*() function, parse flags from args | |
| Placeholder command | loop, hire | Inline in cli-entry.ts, prints pending message | |
| Utility/check module | rc-tunnel.ts, copilot-bridge.ts | Wire as diagnostic check (e.g., isDevtunnelAvailable()) | |
| Subcommand of another | init-remote.ts | Already used inside parent + standalone alias |
Common Import Pattern
Use dynamic await import() for command modules to keep startup fast (lazy loading).
History
- #237 / PR #244: 4 commands wired (rc, copilot-bridge, init-remote, rc-tunnel). aspire, link, loop, hire were already present.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsquads/review-deployment/.squad/templates/skills/cli-wiring/SKILL.md
Popularity
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/bradygaster/squad-with-aspire/cli-wiring)