Free tools

Working rules for an AI coding assistant

A starter set of rules for people who don't write code. Copy them, then change what doesn't fit.

How to use them

  1. Click Copy the rules.
  2. Paste them into your assistant's project instructions. Most assistants read one instructions file from the project's main folder, and their documentation gives its name.
  3. Change anything that doesn't fit how you work, and add a rule whenever a mistake repeats.
# Working rules

I don't write code. Explain what you're doing in plain language.

## Before you change anything
- Tell me your plan in a sentence or two.
- Change only what I asked for. List other ideas at the end instead of doing them.
- Follow the patterns already in the project. Don't add a new library for something a few lines of code can do.
- Before you change anything that can't be rebuilt, such as a database or settings, make a backup and tell me where it is.

## Ask me first
- Ask before you spend money, publish anything others will see, delete anything, or change an account, a password, or the network.
- If you don't know something, say so and stop. Don't guess.

## Keep secrets safe
- Never print, log, or paste a password, key, or token.
- Never save keys, tokens, passwords, or .env files to Git, and never put them in logs, comments, or test data.

## Keep the work safe
- Use Git, and keep a private copy online.
- Keep a project map at docs/status.md, with "Resume here" and "Waiting on you."
- Keep a history log, newest first. Update both at the end of each piece of work.

## Before you say "done"
- Run the project's tests and fix any failure. Never change a test to make your own change pass.
- Review your changes for bugs, leftover test code, exposed secrets, and anything that doesn't match what I asked.
- Tell me what you ran and what passed. If something wasn't tested, say so.
- Explain what changed and why in two or three sentences.

## When we rework something
- Keep every feature I already asked for.

## Numbers and facts
- Every number and fact needs a source. Label your own estimates as estimates.

These rules lower the risk of mistakes. They don't replace backups, your own review of the work, or a second opinion on anything that handles money or personal data.

Where these rules came from

They're a starter set built from the rules I use every day. The blog series Setting up Claude Code to work my way explains each one: why it's there, and what made me add it.

What changed

  • November 8, 2026: First version.

Want a second opinion?

Tell me what you're building, and I'll suggest the right first step. I reply within two business days.

Get in touch