create-command

Scaffold Forge command files with YAML frontmatter in .forge/commands.

7.5k|1.4k|Updated Dec 8, 2024
One-click install
npx skills add https://github.com/antinomyhq/forge --skill create-command-antinomyhq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-command
Source: https://github.com/antinomyhq/forge/tree/main/.forge/skills/create-command
Command: npx skills add https://github.com/antinomyhq/forge --skill create-command-antinomyhq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured way to create new Forge commands by placing Markdown files in the <cwd>/.forge/commands directory, ensuring consistent frontmatter and clear usage.

Core Features & Use Cases

  • Scaffold new command files with YAML frontmatter (name and description) in the correct directory.
  • Document and organize command steps within the Markdown body for consistent execution.
  • Use when users need to add, modify, or understand the command file structure for Forge automation.

Quick Start

Create the file <cwd>/.forge/commands/<command-name>.md with the required frontmatter and a step-by-step body to implement your command.

Frequently Asked Questions about create-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom automation commands using Markdown and YAML frontmatter?

To create custom automation commands, you scaffold Markdown files with YAML frontmatter containing name and description fields, placing them in the .forge/commands directory for consistent execution across projects.

What is the required file structure for Forge command files?

Forge command files are Markdown documents placed in the .forge/commands directory, requiring YAML frontmatter with name and description properties, and a step-by-step body documenting the command execution.

How do I automate workflows with special tags in Forge command files?

You automate workflows by inserting special tags like <lint> and <test> within the Markdown body of your Forge command files to trigger automated processing steps during execution.

Do I need any dependencies to scaffold Forge command files?

No dependencies are required to scaffold Forge command files; the skill operates independently to generate and manage Markdown files with YAML frontmatter in your local project directory.

Can I modify existing command file structures for Forge automation?

Yes, you can modify existing command file structures by updating the YAML frontmatter and Markdown body to adjust the name, description, or step-by-step execution instructions as needed.