ClaudeCode-Source-Analysis (tammychurchly25)
Summary
A ~330-file markdown analysis of the leaked source (512,000+ lines, 1,906 files, TypeScript on Bun), organized module by module from the March 31, 2026 npm source-map leak. Its granularity makes it the best reference for looking up a specific subsystem.
Key Takeaways
- Module-by-module markdown makes subsystem lookup fast
- Documents the TypeScript-on-Bun runtime foundation
- Useful index into planning/todo machinery and prompt assembly
Reliability Note
Independent reverse-engineering effort - unofficial, verify against official Anthropic docs and behavior. Original text largely in Chinese.
Flows informed by this source
2Add a Plan/Todo System to Your Agent
Give your agent the planning discipline of the leading harnesses: an explicit, model-visible todo list that survives long tasks.
+1 more steps to Done
Best forbuilders who have shipped a basic app before
Assemble a System Prompt Like the Pros
Structure your agent's system prompt the way leading harnesses do: layered sections, dynamic context, and enforceable rules.
+1 more steps to Done
Best forbuilders who have shipped a basic app before