HamzaAlayed

Add Policy — Security skill for Claude Code

Security community

Add (or audit) a Policy for an Eloquent model — generate the Policy class, wire it, and patch all controllers/Livewire components/routes to use it.

How to install Add Policy

Installs to ~/.claude/skills/hamzaalayed-laravel-claude-agents-add-policy/SKILL.md

Terminal
mkdir -p ~/.claude/skills/hamzaalayed-laravel-claude-agents-add-policy && curl -fsSL https://raw.githubusercontent.com/HamzaAlayed/laravel-claude-agents/HEAD/commands/add-policy.md -o ~/.claude/skills/hamzaalayed-laravel-claude-agents-add-policy/SKILL.md

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

What Add Policy does


description: Add (or audit) a Policy for an Eloquent model — generate the Policy class, wire it, and patch all controllers/Livewire components/routes to use it. argument-hint: [--adaptive] allowed-tools: Agent, Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion

Add Policy — `{{args}}`

**Delegation:** Spawn each specialist by its registered agent type as it appears in your available-agents list — prefixed when installed as a plugin (e.g. `laravel-team:backend-developer

Alternatives in Security

  • 07 Tool System — Prompt 07: Audit and Wire Up the Tool System 2.3k ★
  • /web3 Audit — Smart contract security audit using the 10-bug-class methodology 927 ★
  • OpenTag — Open-source, channel-native agent gateway for Slack 499 ★

Full documentation available on GitHub

View Source Repository