command-builder

Automate creation and configuration of Claude Code slash commands with YAML frontmatter.

1|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/bsamiee/Parametric_Portal --skill command-builder-bsamiee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-builder
Source: https://github.com/bsamiee/Parametric_Portal/tree/main/.claude/skills/command-builder
Command: npx skills add https://github.com/bsamiee/Parametric_Portal --skill command-builder-bsamiee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of Claude Code slash commands, eliminating repetitive instruction and enforcing consistency. It helps you build robust, reusable commands that automate complex tasks and reduce manual effort.

Core Features & Use Cases

  • Declarative Command Definition: Create commands with YAML frontmatter for clear descriptions, argument hints, and scoped tool permissions.
  • Dynamic Argument Handling: Incorporate $ARGUMENTS, positional parameters ($1-$N), and default values for flexible command invocation.
  • Context Injection: Include file contents (@path) or shell command outputs (!command) directly into your prompts.
  • Use Case: Create a /review-pr command that takes a pull request URL, reads the associated files, and uses a specialized agent to identify security and code quality issues, all with a single command.

Quick Start

Use the command-builder skill to create a new command /analyze-code that takes a file path as an argument and uses the Read tool to analyze its content.

Frequently Asked Questions about command-builder

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

FAQPage Schema
How do I create Claude Code slash commands with YAML?

Slash commands are defined using YAML frontmatter that specifies descriptions, arguments, and tool permissions. The command-builder Skill automates this structure, enforcing required fields, quoted strings, and proper delimiters so your commands are valid and reusable across workflows.

Can I pass arguments and file references into Claude Code commands?

Yes. Commands support dynamic arguments via `$ARGUMENTS` or positional parameters (`$1-$N`), and can inject file contents using `@path` syntax or shell command outputs with `!command`. This lets you build commands that read files and process data in a single invocation.

What's the best way to automate repetitive Claude Code command creation?

The command-builder Skill streamlines command authoring by enforcing YAML structure, argument handling patterns, and tool scoping rules. It eliminates manual formatting, reduces errors, and ensures consistency across all your custom commands.

How do I configure which tools a slash command can access?

Commands declare allowed tools in their YAML frontmatter using scoped permissions. The command-builder Skill manages this configuration, ensuring only necessary tools are granted and preventing invalid tool assignments in your command definition.

Why do my Claude Code commands fail when mixing arguments?

Slash commands cannot mix `$ARGUMENTS` with positional parameters (`$1-$N`) — the command-builder Skill enforces this constraint. Choose one argument style per command and keep command logic under 125 lines of code to maintain clarity and avoid execution failures.

Can I organize multiple commands into command namespaces?

Yes. The command-builder Skill supports namespace organization within YAML frontmatter, letting you group related commands logically. This keeps your command suite structured and discoverable as your automation workflows grow.