create-console-command

Installation
SKILL.md

Create Console Command

When To Use

Use this skill for Laravel Artisan commands, especially when the command should be discoverable, generator-backed, and friendly to interactive users.

Inputs Needed

  • Command purpose, signature, options, prompts, output, side effects, and tests.

Workflow

  1. Check whether an Artisan generator already exists before creating the file manually.
  2. Use the appropriate php artisan make:* command when one exists.
  3. Put reusable behavior in Actions, Services, Jobs, or Support classes.
  4. Use laravel/prompts for interactive input, choice, and confirmation instead of ad hoc console IO.
  5. Keep the command thin and typed.
  6. Add tests for signature, output, and behavior.
Installs
2
GitHub Stars
1
First Seen
Jul 7, 2026
create-console-command — alizharb/agent-skills