guetteman/claude-code
guetteman/claude-code · 2 stars · 1 plugin
Marketplace A Claude Code plugin for PHP and Laravel developers. This plugin provides agents, skills, and coding rules tailored for Laravel development.
Install
/plugin marketplace add guetteman/claude-codeRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@guetteman.
- 1laravelTools for Laravel development
/plugin install laravel@guetteman
Files
Laravel Plugin for Claude Code
A Claude Code plugin for PHP and Laravel developers. This plugin provides agents, skills, and coding rules tailored for Laravel development.
Installation
# Add the marketplace /plugin marketplace add guetteman/claude-code # Install the plugin /plugin install laravel@guetteman
Features
Agents
laravel-architect
A senior Laravel software architect following Taylor Otwell's philosophy: "Code should be like Kenny from South Park, not T1000 from Terminator—disposable, easy to change."
Use when designing features, reviewing architecture decisions, or when you need guidance on "the Laravel way."
pest-tdd-expert
An elite TDD specialist using Pest PHP. Activates for writing tests, implementing features with TDD, running test suites, architecture testing, and mutation testing. Follows the sacred RED-GREEN-REFACTOR cycle.
laravel-security-reviewer
Reviews Laravel code for security vulnerabilities and best practices.
Skills
/code-review
Reviews code against all project rules. Spawns parallel agents to check each rule file and provides a summary of violations with fix suggestions.
/create-new-project
Creates a new Laravel project from scratch with Herd integration. Guides you through project setup including authentication preferences and Herd configuration.
/start-new-feature
Starts a new feature in a dedicated branch following the feature/<feature-name> convention. Activates plan mode, conducts an interview, validates the plan with architect, TDD, and security agents, then saves the spec to specs/.
/interview
Conducts in-depth technical interviews about implementation plans before coding begins. Helps refine and validate your approach by exploring edge cases, failure modes, and tradeoffs.
/copy-rules
Copies the plugin's rules to your project's .claude/rules directory. A convenient alternative to manually copying or symlinking rules.
/init-project
Initializes your Laravel project with a Makefile, PHPStan (via Larastan), Pint, and Rector configuration files. Runs formatting and static analysis after setup.
Rules
This plugin includes opinionated coding rules organized by category:
Laravel Rules
accessors-mutators- Prefer attribute casting over accessors/mutatorsapi-resource-resolution- API resource resolution patternsarrayable-iterations- Iterating over Arrayable objectsclass-imports- Import conventionscollection-higher-order-messages- Use higher-order messages for simple operationsdatabase-transactions- Database transaction best practicesform-request-authorization- Form request authorization patternslocal-scopes- Eloquent local scope conventionsresource-collections- API resource collection patternssingle-action-controllers- When to use invokable controllers
Pest Rules
assert-database-empty- Database emptiness assertionsavoid-and-modifier- Avoid theand()modifierchained-higher-order-expectations- Chain expectations elegantlydatabase-assertions-use-models- Use models in database assertionsfactory-count-syntax- Factory count syntax preferencesfactory-relationships- Factory relationship patternshigher-order-expectations- Use higher-order expectationsmagic-factory-relationships- Magic factory relationship methodsminimize-refresh-usage- Minimize model refresh callsmocking- Mocking best practicestest-file-location- Test file organizationuse-pest-functions- Use Pest standalone functions instead of$this->method callsuse-test-function- Usetest()overit()
PHP Rules
array-destructuring- Array destructuring conventions
Filament Rules
enum-options- Enum options in Filament forms
Git Rules
commits- Commit message conventions
Important: Manual Rules Setup
Current Limitation: Claude Code plugins do not yet support automatic distribution of rules. The rules included in this plugin will not be automatically applied to your projects.
To use the rules, you need to manually copy them to your project's .claude/rules directory:
# Copy all rules to your project cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/* /path/to/your/project/.claude/rules/ # Or copy specific categories cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/laravel/* /path/to/your/project/.claude/rules/laravel/ cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/pest/* /path/to/your/project/.claude/rules/pest/
Alternatively, you can symlink the rules directory if you want to keep them in sync:
ln -s ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules /path/to/your/project/.claude/rules
Create Your Own Rules
These rules reflect my personal preferences and coding style. They are not universal truths or official Laravel conventions. Your preferences may differ, and that's perfectly fine.
I encourage you to:
-
Review the rules before using them. Read through each rule file to understand what it enforces.
-
Modify rules that don't match your style. Edit the markdown files to reflect your team's conventions.
-
Delete rules you disagree with. If a rule doesn't make sense for your project, remove it.
-
Create your own rules based on patterns you want to enforce.
-
Share your rules with your team by committing them to your project's
.claude/rulesdirectory.
Contributing
Found a bug or have a suggestion? Feel free to open an issue or submit a pull request.
License
MIT
{
"name": "guetteman",
"owner": {
"name": "Luis Güette"
},
"metadata": {
"description": "Claude Code plugins for PHP / Laravel development"
},
"plugins": [
{
"name": "laravel",
"source": "./plugins/laravel",
"description": "Tools for Laravel development",
"version": "1.0.0",
"author": {
"name": "Luis Güette"
}
}
]
}Facts
- Kind
- Marketplace
- Repo
- guetteman/claude-code
- Group
- Uncategorized
- Stars
- 2
- Marketplace name
- guetteman
- Owner
- Luis Güette
- Language
- Makefile
- Created
- 2026-02-01
- Last push
- 2026-02-08
- Plugins
- 1
Next on this shelf
- 1693ialameh/sift-coderialameh/sift-coder2
- 1694Ilm-Alan/claude-loopIlm-Alan/claude-loop2
- 1695ImproperSubset/hh-agenticsImproperSubset/hh-agentics2
- 1696jaidhyani/jai-cc-pluginsjaidhyani/jai-cc-plugins2
- 1697jovermier/claude-code-plugins-ip-labsjovermier/claude-code-plugins-ip-labs2
- 1698JSON-OBJECT/claude-codeJSON-OBJECT/claude-code2