command-development

Design Claude Code slash commands with YAML frontmatter and dynamic arguments.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/softee-p/redwoodSDK-toolkit --skill command-development-softee-p
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/softee-p/redwoodSDK-toolkit/tree/main/dev-plugins/plugin-dev/skills/command-development
Command: npx skills add https://github.com/softee-p/redwoodSDK-toolkit --skill command-development-softee-p

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing Claude Code slash commands is hard without a disciplined approach. This skill provides a structured framework for frontmatter, dynamic arguments, file references, bash execution, and plugin-patterns to help engineers create reusable, safe prompts that scale across projects.

Core Features & Use Cases

  • Structured YAML frontmatter guidance for quality, discoverability, and safety.
  • Dynamic arguments support ($ARGUMENTS, $1, $2) and file references (@path) for flexible prompts.
  • Plugin integration patterns (agents, skills, hooks) and script/template/resource references.
  • Progressive disclosure of concepts with self-contained references and examples to speed adoption.

Quick Start

Create a minimal command with frontmatter and a short prompt, then invoke /my-command to run it.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create custom slash commands in Claude Code?

Create custom Claude Code slash commands by defining structured YAML frontmatter and prompt logic in markdown files. Use dynamic arguments and file references to build flexible, reusable workflows that execute directly within your project environment.

What is YAML frontmatter used for in slash-command development?

YAML frontmatter provides structured metadata for slash commands, ensuring quality, discoverability, and safety. It defines execution parameters and validation patterns that help engineers create robust, maintainable prompts scaling across teams.

How do I pass dynamic arguments to a Claude Code slash command?

Pass dynamic arguments to slash commands using $ARGUMENTS, $1, and $2 variables. This allows flexible prompt construction by injecting user inputs and file references like @path directly into the command execution context.

Can I execute Bash scripts within a Claude Code slash command?

Yes, Claude Code slash commands support Bash execution. You can integrate script and template references directly into command workflows, enabling automated processes and plugin integration patterns for complex task execution.

Does this approach to command development work across multiple projects?

Yes, this command development framework builds reusable workflows using plugin patterns, agents, and hooks. Structured frontmatter and self-contained references ensure commands maintain consistency and safety across different projects and teams.

What's the best way to structure slash commands for team reuse?

Structure slash commands for team reuse by applying disciplined YAML frontmatter, progressive disclosure of concepts, and plugin integration patterns. This approach creates self-contained, validated workflows that scale safely across collaborative environments.