Create new commands for the code-forge application. Commands are stored as .md files in the <cwd>/.forge/commands directory with YAML frontmatter (name, description) and markdown body containing command steps. Use when users need to add new commands, modify existing commands, or understand the command file structure. Supports special command tags like <lint> and <test> for automated workflows.
Create and manage commands for the code-forge application. Commands are modular workflows that can be invoked to perform specific tasks.
CRITICAL: All command files must be created in the <cwd>/.forge/commands directory, where <cwd> is the current working directory of your code-forge project.
<cwd>/.forge/commands{command-name}.md/home/user/my-project, commands go in /home/user/my-project/.forge/commands/This is the only location where forge will discover and load custom commands.
Every command file must have:
YAML Frontmatter (required):
name: Command identifier (use hyphens for multi-word names)description: What the command doesCommand Body (required):
---