Reviewed by 20X · No signed release verified
- Works with (as stated by the author)
- Claude Code, Cursor
Review details
- Human review
- Review recorded for these files
- Limited checks
- Limited checks recorded (v2.1.0)
- Source
- Source not verified
A verified signature checks published file bytes against a trusted publisher’s signed manifest. It does not verify safety, authorship, rights or assistant use.
Declarations and limited checks do not guarantee safety or sharing rights. Review the files before use. Access that the author has not stated is unknown.
How to use it
- 1Save the file under ~/.claude/rules/ (all projects) or .claude/rules/ inside a project.
- 2Remove any sections that don't apply to your work.
- 3Start a new Claude Code session so the rule is loaded.
Community results
0 reportsNo one has shared a result yet.
1 file. Filenames and raw files are in Technical details.
paths:
- "**/*.php"
- "**/composer.json"
PHP Coding Style
This file extends common/coding-style.md with PHP specific content.
Standards
- Follow PSR-12 formatting and naming conventions.
- Prefer
declare(strict_types=1);in application code. - Use scalar type hints, return types, and typed properties everywhere new code permits.
Immutability
- Prefer immutable DTOs and value objects for data crossing service boundaries.
- Use
readonlyproperties or immutable constructors for request/response payloads where possible. - Keep arrays for simple maps; promote business-critical structures into explicit classes.
Formatting
- Use PHP-CS-Fixer or Laravel Pint for formatting.
- Use PHPStan or Psalm for static analysis.
- Keep Composer scripts checked in so the same commands run locally and in CI.
Imports
- Add
usestatements for all referenced classes, interfaces, and traits. - Avoid relying on the global namespace unless the project explicitly prefers fully qualified names.
Error Handling
- Throw exceptions for exceptional states; avoid returning
false/nullas hidden error channels in new code. - Convert framework/request input into validated DTOs before it reaches domain logic.
Reference
See skill: backend-patterns for broader service/repository layering guidance.
Latest changes
Initial reviewed release.
Version history
v1.0.0
Initial reviewed release.
File access pausedFile verification
- File integrity
No signed release verified for this version.
This checks published bytes, not safety, authorship, rights or assistant use.
Full compatibility
As stated by the author: Claude Code, Cursor
Included files
1 filecoding-style.md
markdownPublic file access is temporarily paused.
Use in your own tool
Save this resource and connect your assistant in the Use with flow before copying a test request.
Related resources
Dart/Flutter Coding Style (ECC)
Dart/Flutter-specific coding style: formatting tools, idioms, immutability, error handling, and naming.
Claude Code, Cursor
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Cypress E2E Testing Rules
Cypress end-to-end testing conventions: selectors, commands, fixtures, and flake prevention.
Cursor
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Karpathy-Inspired Coding Guidelines (CLAUDE.md)
Four behavioral rules that stop AI coding agents from over-engineering, guessing, and making unrelated edits.
Claude Code
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Oct 3