{"id":49215847,"url":"https://github.com/leanercloud/dotclaude","last_synced_at":"2026-04-24T00:01:45.711Z","repository":{"id":351836391,"uuid":"1212717547","full_name":"LeanerCloud/dotclaude","owner":"LeanerCloud","description":"Global Claude Code configuration: CLAUDE.md, coding standards, conventions, workflow docs, and agent definitions","archived":false,"fork":false,"pushed_at":"2026-04-16T16:59:09.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-16T18:36:50.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeanerCloud.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-16T16:56:50.000Z","updated_at":"2026-04-16T16:59:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LeanerCloud/dotclaude","commit_stats":null,"previous_names":["leanercloud/dotclaude"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/LeanerCloud/dotclaude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeanerCloud%2Fdotclaude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeanerCloud%2Fdotclaude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeanerCloud%2Fdotclaude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeanerCloud%2Fdotclaude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeanerCloud","download_url":"https://codeload.github.com/LeanerCloud/dotclaude/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeanerCloud%2Fdotclaude/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32203362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T20:19:26.138Z","status":"ssl_error","status_checked_at":"2026-04-23T20:19:23.520Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-04-24T00:01:43.587Z","updated_at":"2026-04-24T00:01:45.701Z","avatar_url":"https://github.com/LeanerCloud.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotclaude\n\nA personal, opinionated configuration for [Claude Code](https://claude.com/claude-code). These are the files that live under `~/.claude/` and shape how Claude Code behaves across every project on the machine — coding standards, git workflow, tool-selection rules, multi-agent coordination, and a curated agent library.\n\nPublished as-is in case it's useful as a starting point. Fork it, trim what you don't need, bend the rest to your preferences.\n\n## What's in here\n\n| File | Purpose |\n|------|---------|\n| [`CLAUDE.md`](CLAUDE.md) | Root config. Loaded at the start of every session. Points at the topic files below. |\n| [`coding-standards.md`](coding-standards.md) | Stack preferences, testing philosophy, error handling, security, API design. |\n| [`conventions.md`](conventions.md) | Language- and tool-specific conventions: Go, TypeScript, Python, Shell, Docker, Terraform, databases. |\n| [`git-workflow.md`](git-workflow.md) | Conventional commits, pre-commit review loop, atomic commits, PR rules, post-push CI watcher. |\n| [`tool-usage.md`](tool-usage.md) | When to use native tools vs. Bash, how to avoid approval prompts, script review loop. |\n| [`infra-ops.md`](infra-ops.md) | Rollback awareness, secrets, monitoring, timeouts, CI/CD, Terraform ops. |\n| [`project-docs.md`](project-docs.md) | Project knowledge-base layout, ADR template, runbook template, `known-issues.md` convention. |\n| [`multi-agent-comms.md`](multi-agent-comms.md) | Protocol for multiple Claude instances / agents coordinating on the same project. |\n| [`commands/`](commands/) | Custom slash commands. |\n| [`agents/`](agents/) | Submodule pointing to [`contains-studio/agents`](https://github.com/contains-studio/agents) — a curated agent library. |\n| [`projects.md.example`](projects.md.example) | Template for `projects.md`, the personal index of projects Claude should know about. |\n| [`settings.example.json`](settings.example.json) | Template for `settings.json`, listing enabled plugins and other Claude Code options. |\n\n## Using it\n\n\u003e **Heads up**: this installs into `~/.claude/`, which already contains your local Claude Code state (sessions, tasks, plans, caches). The repo's `.gitignore` is designed so cloning on top of an existing `~/.claude` is safe — runtime state won't be tracked — but **back up anything you care about first**.\n\n1. **Back up your existing `~/.claude`:**\n   ```bash\n   mv ~/.claude ~/.claude.backup\n   ```\n\n2. **Clone with submodules:**\n   ```bash\n   git clone --recurse-submodules git@github.com:LeanerCloud/dotclaude.git ~/.claude\n   ```\n\n   If you already cloned without `--recurse-submodules`:\n   ```bash\n   git -C ~/.claude submodule update --init --recursive\n   ```\n\n3. **Create your personal config from the templates:**\n   ```bash\n   cp ~/.claude/projects.md.example ~/.claude/projects.md\n   cp ~/.claude/settings.example.json ~/.claude/settings.json\n   ```\n   Both are gitignored, so edits stay local.\n\n4. **Restore anything you need** from the backup (e.g. `plugins/`, `projects/`, `sessions/`).\n\n## Customizing\n\nEverything here is opinion, not gospel. The rules in `CLAUDE.md` and its referenced files are instructions to Claude — edit them to match how you work.\n\n- Change the preferred stack in `coding-standards.md`.\n- Adjust the commit conventions in `git-workflow.md`.\n- Swap out the agent submodule in `.gitmodules` for a different library, or vendor your own agents into `agents/`.\n- Add your own slash commands under `commands/`.\n\nThe topic-file layout (root `CLAUDE.md` pointing at focused sub-docs) keeps each file small enough to read in full during a session. If a file grows past ~300 lines, consider splitting it further.\n\n## Contributing\n\nThis is primarily a personal config. PRs that fix clear bugs, typos, or outdated advice are welcome. Feature additions that make sense only for a specific workflow are better kept in a fork.\n\n## License\n\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanercloud%2Fdotclaude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanercloud%2Fdotclaude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanercloud%2Fdotclaude/lists"}