Command Development

Creates and documents standardized slash and plugin commands with frontmatter for Codex Code workflows.

6|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mgajewskik/opencode-config --skill command-development-mgajewskik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Command Development
Source: https://github.com/mgajewskik/opencode-config/tree/main/skills/command-development
Command: npx skills add https://github.com/mgajewskik/opencode-config --skill command-development-mgajewskik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Organizes the creation and maintenance of slash commands and plugin commands into a consistent, reusable framework that improves discoverability and collaboration across teams and projects.

Core Features & Use Cases

  • YAML frontmatter-driven command templates (description, allowed-tools, model, argument-hint) for predictable behavior and easier discovery
  • Plugin-pattern guidance (scripts, references, assets) to enable modular, extensible workflows
  • Interactive and multi-step workflow patterns, including validation, error handling, and documentation practices
  • Clear integration with plugins and components (agents, skills, hooks) to build end-to-end automation and shared standards

Quick Start

Create a new command file with a minimal frontmatter and prompt, then test it with /help.

Frequently Asked Questions about Command Development

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

FAQPage Schema
How do I design slash commands for Claude Code using YAML frontmatter?

To design slash commands for Claude Code, use YAML frontmatter fields like name, description, allowed-tools, model, and argument-hint to ensure discoverability and consistent behavior across projects, plugins, and teams.

What is the best way to structure plugin commands and scripts for Claude Code?

The best way to structure plugin commands is by applying plugin-pattern guidance that coordinates optional resources like scripts, references, and assets to enable modular, extensible workflows within Claude Code.

How do I create interactive multi-step workflows in Claude Code commands?

You create interactive multi-step workflows by applying standardized framework patterns for validation, error handling, and documentation practices throughout the slash command lifecycle in Claude Code.

Does the command development framework integrate with hooks and agents?

Yes, the command development framework provides clear integration with plugins and components like agents, skills, and hooks to build end-to-end automation and shared standards across teams.

Why are my custom Claude Code commands not discoverable across projects?

Custom commands lack discoverability when they omit standardized YAML frontmatter fields like description and argument-hint, which this framework enforces to ensure predictable behavior and easier discovery across projects.