Files You Should Never Upload to GitHub: Free AI Prompt | SheCodes

Free AI prompt · The Optimize Book

Files You Should Never Upload to GitHub

A ready-to-use prompt from the chapter Git & Environments. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.

The prompt

“Check my project and make sure none of my secret keys, installed packages, build files, or operating system junk files ever get uploaded to GitHub. Set things up correctly so only the files I actually want to share get pushed.”

How to use it

  1. Copy the prompt and paste it into your AI coding tool.
  2. Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
  3. Read the chapter to understand why it works and what to do next.

More prompts like this

All prompts