Skip to content

Templates

← Back to the start

Fill-in-the-blank starting points for the primer. Copy one, fill in the parts in angle brackets, and make it yours. They end in .example.md so an assistant working in this folder doesn't mistake them for real instructions. Drop the .example when you copy them.

For the habits in action, see EXAMPLES.md. For finished rules notes to borrow, see SAMPLE-RULES.md.

For everyone

File What it is Where it goes
ABOUT-ME.example.md One note about you: who you are, your people, your limits Your app's personal instructions or memory, or the top of each rules note
INSTRUCTIONS.example.md Your rules note: how you like to work, what it can do alone, what it asks about first Your AI app's standing instructions (in Claude, a Project's instructions)
DECISIONS.example.md What we decided, with the date and the reason A document in the subject's home
PLAN.example.md A plan in small phases, each with a check A document in the subject's home
HANDOFF.example.md A where-we-left-off note A document in the subject's home, one per stopping point
IDEAS.example.md A someday list A document in the subject's home

For the technical setup

These go with the technical setup.

File What it is Where it goes
CLAUDE.example.md The rules file Claude reads in each repo CLAUDE.md in every repo, and library/template/
SUBJECT-README.example.md The front page of a new subject repo README.md in the repo, and library/template/

The next three are settings files, so they're shown here for you to copy rather than kept as real files.

.claude/settings.json

Lets the assistant push without a prompt, and blocks the common forms of force push, mirror push and branch delete. Put it in the repo's .claude/ folder. The technical setup explains it.

{
  "permissions": {
    "allow": [
      "Bash(git push *)",
      "Bash(git -C * push *)",
      "Bash(git -c push.negotiate=true push *)",
      "Bash(git -C * -c push.negotiate=true push *)"
    ],
    "deny": [
      "Bash(git *push*--force*)",
      "Bash(git *push* -f*)",
      "Bash(git *push*+*)",
      "Bash(git *push*--mirror*)",
      "Bash(git *push*--delete*)",
      "Bash(git *push* -d *)",
      "Bash(git *push* :*)"
    ]
  }
}

.gitignore

Keeps secrets, real config files and clutter out of git. Add your own lines for exports and data folders.

# Secrets and local configuration: never committed.
.env
.env.*
!.env.example
config.local.*
*.local.yaml
*.local.yml
*.local.json
*.local.toml
secrets.*
!secrets.example.*
*.pem
*.key
*.p12
*.pfx
id_rsa*
id_ed25519*

# Real config files; commit config.example.* instead.
config.yaml
config.yml
config.json
config.toml
config.ini
config.env

# Data exports with personal details (bank, health and similar).
*.csv

# OS clutter
.DS_Store
Thumbs.db
desktop.ini

# Editors
.vscode/
.idea/
*.swp
*~

# Python
__pycache__/
*.pyc
.venv/
venv/

# Node
node_modules/

# Logs and scratch output
*.log
tmp/
out/

Remove the *.csv line if a repo keeps CSV files you do want in git, such as a recipe list.

library/repos.txt

The list the sync script reads.

# Repos synced by sync.sh, one per line.
# Lines starting with # and blank lines are ignored.
#
#   name          a repo under the same account as this library repo
#   owner:name    a repo under another account or organization

# Subject repos
notes
<subject-1>
<subject-2>

# Repos that belong to a group you're part of
<group-org>:<group-repo>

← Back: Your notes, not their data · Next: Afterword → · Back to the start