CannonCoPilot

Example Command — Development skill for Claude Code

Development community

An example slash command that demonstrates command frontmatter options.

How to install Example Command

Installs to ~/.claude/commands/cannoncopilot-project_aion-example-command.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/CannonCoPilot/Project_Aion/HEAD/.claude/commands/example-command.md -o ~/.claude/commands/cannoncopilot-project_aion-example-command.md

Restart Claude Code, or start a new session, for it to be picked up.

What Example Command does


description: An example slash command that demonstrates command frontmatter options argument-hint: [optional-arg] allowed-tools: [Read, Glob, Grep, Bash]

Example Command

This command demonstrates slash command structure and frontmatter options.

Arguments

The user invoked this command with: $ARGUMENTS

Instructions

When this command is invoked:

  1. Parse the arguments provided by the user
  2. Perform the requested action using allowed tools
  3. Report results bac

Alternatives in Development

  • Claude Code Examples — Official example projects and patterns from Anthropic 35.6k ★
  • Example Plugin — Reference implementation for plugin developers 14k ★
  • Claude How To — by luongnv89 — Example-driven guide to mastering Claude Code through progressive tutorials with copy-paste tem 8.5k ★

Full documentation available on GitHub

View Source Repository