# ZhangHanDong/harness-engineering-from-cc-to-ai-coding

Harness Engineering From Claude Code source code to AI Coding

Repository: https://github.com/ZhangHanDong/harness-engineering-from-cc-to-ai-coding
Canonical: https://ross.abutalabs.com/products/harness-engineering-from-cc-to-ai-coding
Homepage: https://zhanghandong.github.io/harness-engineering-from-cc-to-ai-coding/
Language: HTML
License: MIT
License Family: permissive
Last push: 2026-04-10T10:42:03+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 76, release rhythm 35, longevity 11
- inputs: {"age_days": 154, "days_push": 145, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1492, forks 272 (observed 2026-08-28T04:04:52.628575+00:00)

## What it is
An open-source Chinese technical book (nicknamed 'The Horse Book') analyzing Claude Code's v2.1.88 source code to extract AI coding agent architecture patterns, context strategies, permission systems, and production practices. It is built with mdBook and published on GitHub Pages, with an English translation in progress.

## Use cases
- learn how Claude Code works internally
- understand AI coding agent architecture patterns
- study agent loop and tool orchestration design
- learn context management and prompt caching strategies for LLM apps
- design permission and safety systems for AI agents
- build a custom AI coding agent
- optimize LLM application cost and latency

## When to choose
- you are building AI coding agents or agent frameworks and want real-world engineering patterns
- you want a systematic, book-style deep dive into Claude Code's implementation rather than official docs
- you are a security engineer studying AI agent permission models and defense in depth
- you want to learn prompt caching, compaction, and token budgeting techniques

## When to avoid
- you need official Anthropic documentation or product usage guides
- you want a software tool or library to install rather than reading material
- you need the English version fully complete (translation is still in progress)
- you require legally sanctioned source material - the book is based on reverse-engineered release packages

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools, agent-framework, prompt-engineering
- domain: artificial-intelligence, large-language-models, developer-tools, tutorials
- platform: cli, cross-platform
- tags: book, claude-code, mdbook, reverse-engineering, ai-coding, agent-architecture, context-management, prompt-caching, chinese, ai-agents, web-server

## Member repositories
- ZhangHanDong/harness-engineering-from-cc-to-ai-coding (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.628575+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:28.874666+00:00, confidence not recorded.
  - readme: https://github.com/ZhangHanDong/harness-engineering-from-cc-to-ai-coding (fetched 2026-08-28T04:04:52.628575+00:00, sha e7c455ec45eb)
  - homepage: https://zhanghandong.github.io/harness-engineering-from-cc-to-ai-coding/ (fetched 2026-08-29T11:39:03.855943+00:00, sha 4568cc3f65e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
