Skip to content
rsoesemannPublic

About

No description, website, or topics provided.

Resources

Stars

19 stars

Watchers

1 watching

Forks

Latest commit

 

History

84 Commits

Folders and files

Repository files navigation

🪼 ROBERT.md

(rules for any AI that dares to co-work with me)

I've been watching everyone figure out how to talk to their AI coding assistants, and nobody agrees on how much you actually need to say.

Boris Cherny, who created Claude Code, says his setup is "surprisingly vanilla" — the model already knows how to code, so he barely customizes it. Peter Steinberger went the other direction with OpenClaw: give your agent a SOUL.md — a personality, opinions, a voice — because a good assistant shouldn't sound like a corporate chatbot. Meanwhile, every tool is shipping its own flavor: CLAUDE.md, AGENTS.md, .cursorrules, copilot-instructions.md. Vendor-specific files that are quietly becoming an industry standard.

This repo is me trying to make sense of all of that. One place for the stuff that's mine — how I think, how I code, what I expect — version-controlled, symlinked into ~/.claude/, and portable to whatever tool comes next.

The layers

The hard part isn't what to put in these files — it's where. What's mine personally is different from what a specific project needs.

┌──────────────────────────────────────────────────────────────┐
│  Me (ROBERT.md)                                              │
│  How I talk. How I code. What annoys me.                     │
│  AGENTS.md, rules/salesforce/                                │
│                                                              │
│  ┌────────────────────────────────────────────────────────┐  │
│  │  Project (CLAUDE.md in your repo)                      │  │
│  │  Domain model. Features. Project-specific stuff.       │  │
│  │  .claude/CLAUDE.md, .claude/skills/                    │  │
│  └────────────────────────────────────────────────────────┘  │
└──────────────────────────────────────────────────────────────┘

Claude Code merges all of this at session start. Nothing overrides — it all stacks.

What's in here

Instructions

AGENTS.md — One file for every agent: linked as ~/.claude/CLAUDE.md for Claude Code and as ~/.codex/AGENTS.md for Codex. How I talk, and my five coding commandments. Non-negotiable. Three of the Working Style bullets ("fail loud", "surface conflicts", "match the codebase's surface style, not its quality") were sharpened after digging through Andrej Karpathy's January 2026 thread on Claude's coding pitfalls — most of his observations were already covered here or by Claude Code itself, but those three earned their place. The last one is a brownfield-aware twist: match the repo's style, but don't inherit its bad habits.

claude/rules/salesforce/ — My brutal, PMD-backed Apex standards. The machine checks what I forget.

claude/settings.json — So Claude stops nagging me for permission before every git push.

Skills

Reusable capabilities that Claude can trigger automatically or I can invoke with /skillname. Lives in claude/skills/.

sf-code-analyzer — Runs Salesforce Code Analyzer after code changes. Smart enough to detect managed packages (via sfdx-project.json) and only run AppExchange security rules when they matter. Otherwise just my opinionated clean code rules.

How I use it

I run install.sh once. It symlinks everything into ~/.claude/, where Claude Code picks it up at session start.

./install.sh
~/.claude/CLAUDE.md                   →  this repo/AGENTS.md
~/.codex/AGENTS.md                    →  this repo/AGENTS.md
~/.claude/settings.json               →  this repo/claude/settings.json
~/.claude/rules/                      →  this repo/claude/rules/
~/.claude/skills/sf-code-analyzer/    →  this repo/claude/skills/sf-code-analyzer/

After I pull changes, the next session gets them automatically — symlinks always point to the latest version.

Multiple repos, one skills directory

~/.claude/skills/ is a real directory, not a symlink. This is intentional — it lets multiple config repos contribute skills to the same place. Each install script symlinks its individual skill folders in, and they coexist. For project-specific overrides, a project's own .claude/skills/ always takes precedence over ~/.claude/skills/.

About

No description, website, or topics provided.

Resources

Stars

19 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages