New command

From cortex-tms/cortex-tms · View interactive version

New command is an AI agent skill from the GitHub repository cortex-tms/cortex-tms. Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.

How to use this skill

Skill file

New Command

Scaffold a new CLI command for Cortex TMS.

Before Writing Code

  1. Read existing patterns — look at src/commands/archive.ts and src/commands/status.ts as reference implementations
  2. Read types — check src/types/cli.ts for existing interfaces
  3. Read tests — check src/tests/archive.test.ts for the test pattern
  4. Propose the command — describe what it does, its subcommands/options, and which files will be created/modified. Follow Propose/Justify/Recommend. Wait for approval.

Implementation Checklist

After the user approves the plan:

Rules

Arguments

$ARGUMENTS — the name and purpose of the new command

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.