{"id":50102987,"url":"https://github.com/stakiran/my.md","last_synced_at":"2026-05-23T08:34:46.940Z","repository":{"id":348893128,"uuid":"1200283480","full_name":"stakiran/my.md","owner":"stakiran","description":"Add `.claude/rules/my.md` to `.gitignore`.","archived":false,"fork":false,"pushed_at":"2026-04-03T08:56:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-03T14:46:31.929Z","etag":null,"topics":["best-practices","claude-code","claude-md","conventions","gitignore"],"latest_commit_sha":null,"homepage":"https://stakiran.github.io/my.md/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stakiran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T08:28:31.000Z","updated_at":"2026-04-03T08:59:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stakiran/my.md","commit_stats":null,"previous_names":["stakiran/my.md"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/stakiran/my.md","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakiran%2Fmy.md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakiran%2Fmy.md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakiran%2Fmy.md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakiran%2Fmy.md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stakiran","download_url":"https://codeload.github.com/stakiran/my.md/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakiran%2Fmy.md/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33389225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["best-practices","claude-code","claude-md","conventions","gitignore"],"created_at":"2026-05-23T08:34:46.258Z","updated_at":"2026-05-23T08:34:46.931Z","avatar_url":"https://github.com/stakiran.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# my.md\nAdd `.claude/rules/my.md` to `.gitignore`.\n\n## Why my.md?\n\nClaude Code officially provides `CLAUDE.local.md` for personal project overrides (gitignored, auto-loaded). But **my.md is a better convention**.\n\n### The name says it all\n\n- `my.md` — instantly clear that this is *your* personal file. No ambiguity.\n- `CLAUDE.local.md` — what does \"local\" mean? Local machine? Local branch? You have to *know* the convention to understand it.\n\n### Right-sized for what you actually write\n\nYour personal rules are usually short — things like \"reply in Japanese\" or \"use this commit format.\" A root-level `CLAUDE.local.md` feels like overkill for a few one-liners. A small file in `rules/` matches the actual granularity of what you're writing.\n\n### Clean separation\n\nWith `my.md` in `.claude/rules/`, your personal rules live alongside other rule files — `team-conventions.md`, `code-style.md`, and `my.md`. The structure tells the story at a glance: team rules + your rules, all in one place with consistent granularity.\n\n### No workaround needed\n\nSome suggest using `@import` in `CLAUDE.md` to include a personal file (e.g., `@~/.claude/my-preferences.md`) as an alternative to `CLAUDE.local.md`. But this has a fundamental problem: where do you write the `@import` line? If you add it to the shared `CLAUDE.md`, it gets committed. If you add it to `CLAUDE.local.md`, you might as well write your rules there directly.\n\nWith `my.md`, there's nothing to wire up. Files in `.claude/rules/` are auto-loaded — no import lines, no indirection, and no worktree issues since rules are picked up from every worktree automatically.\n\n### Easy to adopt\n\nJust two steps for any project:\n\n1. Add `.claude/rules/my.md` to `.gitignore`\n2. Write your personal rules in `.claude/rules/my.md`\n\nThat's it. Your rules are automatically loaded by Claude Code, kept out of version control, and unmistakably yours.\n\n## Setup\n\nClone this repo (or just copy the `.gitignore`) and start writing your own `my.md`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakiran%2Fmy.md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstakiran%2Fmy.md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakiran%2Fmy.md/lists"}