Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add noartem/skills --skill "laravel-custom-helpers"
Install specific skill from multi-skill repository
# Description
Create and register small, pure helper functions when they improve clarity; keep them organized and tested
# SKILL.md
name: laravel-custom-helpers
description: Create and register small, pure helper functions when they improve clarity; keep them organized and tested
Custom Helpers
Create a helper file
// app/Support/helpers.php
function money(int $cents): string { return number_format($cents / 100, 2); }
Autoload
Add to composer.json:
{
"autoload": { "files": ["app/Support/helpers.php"] }
}
Run composer dump-autoload.
Guidelines
- Keep helpers small and pure; avoid hidden IO/state
- Prefer static methods on value objects when domain-specific
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.