pekral/cursor-rules — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a PHP Composer package that helps Laravel and PHP teams set up AI editor rules in their projects. I want someone to be able to run composer require and then run a vendor bin command to install shared rule files and agent skills for Cursor, Claude Code, Codex, or all of them.

The installer should find the project root by looking for composer.json, then copy the rules and skills into the right editor folders. It should never overwrite existing custom project files unless the user asks with a force option. Add options for choosing the editor, using symlinks when possible, pruning old files, and allowing bundled Claude scripts safely. Include a clear help command and helpful errors when something is missing or cannot be copied.

Please include sensible PHP and Laravel coding standard rule files, skills for debugging, issue resolution, testing, review, security, refactoring, and package review. Add tests, code quality checks, and a README that explains installation and usage clearly.

Want more depth? Deep Reverse