Windy3f3f3f3f/claude-code-from-scratch
Build your own Claude Code from scratch. 🔍 Claude Code 开源了 50 万行代码,读不动?用 ~5000 行 TypeScript / Python 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit Windy3f3f3f3f/claude-code-from-scratch/.claude ./rig-claude-code-from-scratch # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit Windy3f3f3f3f/claude-code-from-scratch/.claude/skills/commit .claude/skills/commit $ npx degit Windy3f3f3f3f/claude-code-from-scratch/.claude/skills/greet .claude/skills/greet
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/Windy3f3f3f3f/claude-code-from-scratch/main/.claude/agents/reviewer.md This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(rm -rf *)",
"Read(**/*.pem)",
"Bash(rm -rf /)",
"Bash(git push --force:*)",
"Bash(sudo *)",
"Read(.env)",
"Bash(rm -rf /*)",
"Read(./.env.*)",
"Read(~/.aws/**)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(sudo:*)",
"Bash(git reset --hard*)",
"Bash(git reset --hard:*)",
"Read(.env.*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(rm:*)",
"Bash(git rebase *)",
"Bash(wget *)",
"Bash(npm publish:*)",
"Bash(git commit *)",
"Bash(gh pr merge *)"
]
}
} MCP servers (1)
| server | source | est. tokens |
|---|---|---|
| test | local / custom | 2.5k |
Skills (2)
Subagents (1)
| reviewer | Code review specialist — analyzes code quality and suggests improvements |
Similar rigs
alex35mil/dotfiles
My dotfiles
Pragmatist 1.2k tok ·
simnalamburt/.dotfiles
:memo: My UNIX-like system configuration files
Minimalist 21 tok ·
Clarittyai/agentic-app-seed
Self-hostable template for building AI workflow automations and agentic apps: FastAPI, React and Postgres, wired for Claude Code. Docker-ready.
Pragmatist 11.3k tok ·
chrille0313/agentic-monorepo-template
Stack-agnostic monorepo template where agents are the workflow: PM → implementer → fresh-context reviewer loops via Claude Code subagents, skills, and GitHub Actions
Pragmatist 1.5k tok ·