claude-import-laravel-conventions

Applies Laravel architecture, typing, action/service, transaction, and error-handling conventions to code.

Updated Aug 25, 2017
One-click install
npx skills add https://github.com/loki495/dotfiles --skill claude-import-laravel-conventions-loki495
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-import-laravel-conventions
Source: https://github.com/loki495/dotfiles/tree/main/ai/codex-skills/claude-import-laravel-conventions
Command: npx skills add https://github.com/loki495/dotfiles --skill claude-import-laravel-conventions-loki495

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a consistent personal coding style across Laravel projects is hard when conventions live only in memory. This Skill loads a defined set of Laravel architecture, typing, action/service, transaction, and error-handling conventions so generated or reviewed code follows them automatically. ## Core Features & Use Cases - Convention Loading: Reads the full laravel-conventions SKILL.md from the dotfiles repository and applies its rules to the current session. - Framework Guardrail: Activates only after confirming the project is Laravel, explicitly preventing these conventions from leaking into OpenCart codebases. - Use Case: When starting work on a Laravel application, invoke this Skill so all subsequent code generation follows the established action/service patterns, strict typing, transaction usage, and error-handling style. ## Quick Start Load the Laravel conventions skill and apply them to this Laravel project before writing any new code.

Frequently Asked Questions about claude-import-laravel-conventions

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

FAQPage Schema
How do I enforce consistent Laravel coding conventions with an AI assistant?▼

Load a conventions skill that reads a documented rule set covering architecture, typing, actions, services, transactions, and error handling. Once loaded, the assistant applies those rules to all code it generates or reviews in the session.

How to apply action and service patterns in Laravel projects?▼

Activate this Skill in a confirmed Laravel project and it reads the full conventions document defining action/service structure. Subsequent code generation follows those patterns for controllers, actions, and service classes.

Can I use Laravel conventions in an OpenCart project?▼

No. The Skill explicitly instructs never to mix these Laravel conventions into OpenCart codebases. It must only be used after confirming the project is Laravel.

Why does the skill fail to load the conventions file?▼

The Skill reads ~/dotfiles/ai/skills/laravel-conventions/SKILL.md, so the dotfiles repository must be cloned at ~/dotfiles. If the repository is cloned elsewhere or the referenced file is missing, the conventions cannot be loaded.

What topics do the Laravel conventions cover?▼

The conventions cover architecture, typing, action and service patterns, database transactions, and error handling. The full details live in the referenced laravel-conventions SKILL.md file, which this Skill reads completely.