Skip to content

Instantly share code, notes, and snippets.

View JoeyMckenzie's full-sized avatar
🏠
Cleaning up legacy code

Joey McKenzie JoeyMckenzie

🏠
Cleaning up legacy code
View GitHub Profile
@JoeyMckenzie
JoeyMckenzie / Instructions.MD
Created January 4, 2025 15:39 — forked from diogogpinto/Instructions.MD
Best Laravel AI Prompt to use with Claude

I have been utilizing artificial intelligence to enhance and optimize my codebases. After evaluating various models, applications, and editors, I find the claude.ai interface with a Pro Account to be the most effective. Here’s the approach I’ve developed to achieve optimal results:

This gist contains a carefully crafted prompt and a script designed to convert your entire Laravel codebase (excluding the resources folder, which can be easily added if needed) into a TXT file with the following structure:

<File Start: ./path/filename.extension> Content of file <End File: ./path/filename.extension>

To implement this method: