helpers

Provide reusable stateless helpers for formatting, conversion, and calculations in Laravel projects.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/codebar-ag/coding-guidelines --skill helpers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: helpers
Source: https://github.com/codebar-ag/coding-guidelines/tree/main/resources/boost/skills/helpers
Command: npx skills add https://github.com/codebar-ag/coding-guidelines --skill helpers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stateless utility classes provide shared formatting, conversion, or calculation logic to reduce duplication and improve consistency across the codebase.

Core Features & Use Cases

  • Formatting helpers for date, number, and string values to ensure consistent presentation
  • Conversion helpers for normalization, parsing, and unit conversions
  • Lightweight calculation helpers for common arithmetic tasks across services and controllers

Quick Start

Start by using the DateHelper and MoneyHelper to format data consistently across your API responses.

Frequently Asked Questions about helpers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format dates and money values consistently across Laravel API resources?

Stateless utility helpers provide reusable formatting, conversion, and calculation logic to reduce code duplication and improve consistency across your Laravel backend codebase.

What's the best way to structure shared calculation logic in a Laravel backend?

The best way is using stateless helper classes with static methods in the App\Helpers namespace, keeping business logic out of helpers to ensure testability and reduce duplication across services.

Can I use utility helpers for data normalization and unit conversions in Laravel?

Yes, conversion helpers support normalization, parsing, and unit conversions across your backend codebase, allowing you to cleanly transform values within controllers and services without duplicating logic.

Do I need to install dependencies to use stateless helpers in my Laravel project?

No, these stateless helpers require no external dependencies, allowing you to directly implement lightweight arithmetic calculations and data formatting in your Laravel project without adding packages.

When should I avoid putting business logic inside shared utility helpers?

You should avoid placing business logic inside helpers to maintain testability; helpers should remain stateless utilities for formatting, conversion, and calculations, delegating domain rules to dedicated services.