Skip to main content
paulund

1 min read

#ai#claude#commands#agents

What Are Commands?

Commands are user-invocable shortcuts, typically triggered with slash syntax (such as /commit or /review-pr), that provide streamlined workflows for specific operations. They are stored in a dedicated commands folder and offer optimised execution paths for common tasks.

Examples of available commands include:

  • /commit -- Create git commits with proper formatting and messaging.
  • /review-pr -- Analyse and review pull requests.
  • /briefing -- Generate daily briefings with tasks and calendar events.
  • Twitter commands -- Create and manage Twitter/X content.
  • Task commands -- Manage your task system.
  • Notes commands -- Add notes to your life OS system.

Copilot Commands

GitHub Copilot uses the same concept but calls them Copilot Prompts. These are stored in the .copilot/prompts folder of your repository.

Related notes

  • AI Rules

    How to define rules and guidelines for AI coding tools like Claude Code and GitHub Copilot to ensure...

  • Claude Skills

    A complete guide to Claude Skills — what they are, how to build them, file structure, YAML requireme...

  • Claude Sub-Agents

    How sub-agents work in Claude Code, covering the exploration, planning, and implementation phases, a...


Newsletter

A weekly newsletter on React, Next.js, AI-assisted development, and engineering. No spam, unsubscribe any time.