generate_command

Generate GitHub slash command templates with YAML frontmatter.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/The-Rabak/naysmith --skill generate-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate_command
Source: https://github.com/The-Rabak/naysmith/tree/main/.github/skills/generate_command
Command: npx skills add https://github.com/The-Rabak/naysmith --skill generate-command

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually scaffolding new custom slash commands is error-prone and time-consuming; this skill enforces a consistent template and best practices to streamline command creation.

Core Features & Use Cases

  • Command scaffolding: Generates a GitHub slash command template with required YAML frontmatter and structure.
  • Validation & guidance: Ensures the command file adheres to the YAML frontmatter rules and provides a clear development blueprint.
  • Use Case: Rapidly add new slash commands to a repository by producing ready-to-edit Markdown templates under .github/commands.

Quick Start

Create a new file at .github/commands/[name].md with YAML frontmatter and the command template.

Frequently Asked Questions about generate_command

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

FAQPage Schema
How do I create a custom GitHub slash command with YAML frontmatter?

The generate_command skill scaffolds a ready-to-edit Markdown template under .github/commands/ with required YAML frontmatter fields like name, description, and argument-hint, enforcing consistent structure and best practices for your custom GitHub slash commands.

What is the required structure for a GitHub slash command file?

A GitHub slash command file requires YAML frontmatter containing name, description, and argument-hint fields, followed by a structured Markdown template that provides a clear development blueprint for the command's workflow.

Does my repository need a CLAUDE.md file to use slash command templates?

Scaffolding slash command templates applies to repositories that follow CLAUDE.md patterns and conventions, allowing the generation process to read existing project guidelines and produce command files that adhere to your specific development workflow.

What's the best way to automate slash command creation in a GitHub repository?

Automating slash command creation is best done by using a scaffolding template that enforces YAML frontmatter rules and generates consistent command files under .github/commands/, eliminating manual file setup errors and saving development time.

Why are my custom GitHub commands failing validation?

Custom GitHub commands fail validation when they lack required YAML frontmatter fields; enforcing the name, description, and argument-hint properties during file scaffolding prevents these structural errors and ensures proper command execution.