Skip to content
Back to skills

Add Command

ASecurity

Add a new Shipwright CLI command in TypeScript (not a port). Use when a feature needs a new subcommand.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 18, 2026
ai-agentstypescriptbash

Works with

  • cli

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add sethdford/shipwright --skill add-command --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Command?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Command
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sethdford-add-command/badge)](https://www.skillsdirectory.com/skills/sethdford-add-command)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-command
description: Add a new Shipwright CLI command in TypeScript (not a port). Use when a feature needs a new subcommand.
---
1. Choose the bounded context (AGENTS.md). Write the use case test in
   `src/contexts/<ctx>/application/<name>.test.ts`, then implement it; export it from `index.ts`.
2. Create `src/cli/commands/<name>.ts` exporting a `Command` (name, aliases, summary, usage, run).
   `run` only parses args, calls the use case, renders output and returns an exit code.
3. Register it in `src/cli/commands/index.ts` and add a router entry in `scripts/sw` using the
   `run_ts` helper: `<name>) run_ts <name> "$@" ;;`.
4. Add a progress.json entry with status `parity-green`, `parity: null` (new behavior) and
   `script: "sw-<name>.sh"` (no bash file needs to exist). `bun run port:check` fails for a
   `run_ts` route without an entry.
5. `bun run docs:gen && bun run check`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.