create-request

Installation
SKILL.md

Create Request

When To Use

Use this skill for request validation, authorization, input normalization, and reusable HTTP boundary rules.

Inputs Needed

  • Request purpose, actor, validated fields, authorization rule, failure behavior, and tests.

Workflow

  1. Inspect nearby request classes and naming conventions.
  2. Create the request with Artisan.
  3. Put authorization in authorize().
  4. Put validation in rules() and custom messages in messages().
  5. Use prepareForValidation() only for input normalization.
  6. Prefer reusable DTOs or Actions after validation when the same data is needed elsewhere.
  7. Add tests for authorize allow/deny and validation failures.
Installs
3
GitHub Stars
1
First Seen
Jul 7, 2026
create-request — alizharb/agent-skills