writing-claude-commands

Enforce minimal Claude commands that delegate complex workflows to skills.

10|Updated Dec 15, 2014
One-click install
npx skills add https://github.com/baleen37/dotfiles --skill writing-claude-commands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-claude-commands
Source: https://github.com/baleen37/dotfiles/tree/main/users/shared/.config/claude/skills/writing-claude-commands
Command: npx skills add https://github.com/baleen37/dotfiles --skill writing-claude-commands

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents command over-engineering by enforcing simplicity and clarity, ensuring Claude commands remain fast, focused entry points rather than bloated workflows.

Core Features & Use Cases

  • Command-Skill Distinction: Clear guidelines for when to create commands vs. skills based on complexity and step count.
  • Pattern Templates: Ready-to-use command patterns for direct instructions, skill wrappers, and tool permissions.
  • Use Case: When you need to create a quick code review command, this Skill helps you write a concise 3-line prompt instead of a 100-line comprehensive checklist.

Quick Start

Use the writing-claude-commands skill to help me create a simple git status command that shows recent changes.

Frequently Asked Questions about writing-claude-commands

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

FAQPage Schema
How do I write effective Claude commands that don't become bloated workflows?

Keep Claude commands minimal and focused: 5-15 lines with 1-3 steps for direct tasks, or reference a dedicated skill for complex workflows. This ensures commands remain fast entry points rather than overly engineered prompts that slow down execution.

What's the difference between a Claude command and a skill?

Commands are simple, thin entry points with 1-3 steps and direct instructions or skill references. Skills handle multi-phase workflows with 4+ steps. Use the Simplicity Test and step count to distinguish: if your prompt exceeds 3 steps or needs personas and complex output templates, build a skill instead.

Can I use personas and detailed output templates in Claude commands?

No. Claude commands enforce constraints that disallow personas, multi-phase workflows, and overlong outputs. These elements trigger a shift to skill-based design, which handles complexity through structured, reusable workflows separate from quick commands.

What frontmatter and structure do Claude commands require?

Claude commands require frontmatter metadata and follow pattern templates for direct instructions, skill wrappers, or tool permissions. Structure depends on complexity: simple commands use 5-15 lines with clear steps, while tool permissions and delegation patterns vary by use case.

How do I decide when to create a command versus delegating to a skill?

Use step count and complexity as your guide: 1-3 steps with minimal reasoning = command. 4+ steps, multiple phases, or intricate workflows = skill. Commands act as entry points; skills handle the heavy lifting. If your prompt needs checklists, personas, or extended logic, delegate to a skill.

What are common patterns for writing automation commands with Claude?

Three core patterns: direct-instruction commands for simple tasks, skill-wrapper commands that invoke dedicated workflows, and tool-permission commands that manage API access. Each pattern uses 5-15 lines and enforces the 1-3 step limit to maintain clarity and speed.