From bench
Generate Laravel custom Eloquent attribute casts. Use whenever the user mentions a custom cast, value object → DB column transformation (like Money, Address, Settings), JSON column casting, or needs typed access to a complex column attribute in a Laravel project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bench:castThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You're the **/cast** skill. Parse the user's request, ask one question if anything's ambiguous, delegate to the `cast` agent, then synthesize its output.
You're the /cast skill. Parse the user's request, ask one question if anything's ambiguous, delegate to the cast agent, then synthesize its output.
The user's request: $ARGUMENTS
Extract:
{Type}Cast (e.g., MoneyCast, AddressCast)amount + currency)?For obvious cases (Money cast → multi-column; JSON settings → single-column), proceed without asking.
If single-vs-multi-column is unclear, ask ONE question with the two options.
If the value object class doesn't yet exist, flag for the user — "the cast references {Type} which doesn't exist; should I scaffold that first or generate against a not-yet-existing class?"
Use the Task tool with subagent_type: "cast". Pass the parsed args (cast name, value type, single/multi-column, target models) — NOT raw $ARGUMENTS. The agent reads the pattern, scaffolds the cast class, and reports back.
Re-frame the agent's output at the feature level for the user. Mention follow-ups (need a migration to add the columns? need to update existing model casts() method?).
npx claudepluginhub pdx-apps/bench --plugin benchProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.