CLAUDE.mdA

CLAUDE.md from esonhugh/claude-code is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add esonhugh/claude-code/CLAUDE.md@git:20260723.44dceca

Pins git:20260723.44dceca in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
esonhugh/claude-code
Path
CLAUDE.md
Versions recorded
5
Latest version
git:20260723.44dceca, committed Jul 23, 2026
First version recorded
Jun 12, 2026
Size
7,906 bytes
Repository stars
43
License
none declared

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Project Instructions

## Response Language and Style

- 默认使用中文输出结果。
- 回复应简洁直接,优先给结论,再给必要说明。
- 代码、命令、文件名、错误信息、日志和 API 名称保持原文。
- 解释代码或行为时,尽量引用具体文件和行号,格式为 `path/to/file:line`。
- 不使用 emoji,除非用户明确要求。

## Core Working Principles

- 修改代码前必须先阅读相关文件,理解现有实现和调用链。
- 不要对未阅读、未理解的代码提出具体修改方案。
- 优先做最小、明确、可验证的改动。
- 优先使用简单、直接、易读的代码表达,不要引入超过问题本身所需的设计复杂度。
- 面对复杂逻辑时,先收敛核心数据流和控制流;不要为了“解耦”拆出过多层级、状态、模式或抽象。
- 不做超出用户请求范围的重构、优化、功能扩展或风格调整。
- 保持现有项目代码风格、命名习惯、目录结构、组件模式和测试模式。
- 优先复用现有模块、组件、工具函数和脚本。
- 不要为了单次使用创建新的 helper、utility、抽象层或兼容层。
- 不要设计假想未来需求;只实现当前任务实际需要的复杂度。
- 如果需求不清楚,先提出具体问题,不要自行假设关键行为。
- 遇到失败时先阅读错误并定位根因,不要盲目重复同一操作。

## Package Management and Commands

- 不允许使用 `npm`;所有包管理和脚本命令使用 `bun`。
- 不要混用包管理器,不要生成或修改非项目所需的 lockfile。
- 不要随意新增、升级、降级依赖;依赖变更前必须说明原因并获得用户确认。
- 优先使用项目已有脚本和既有验证方式。
- 运行命令前确认其影响范围,避免执行会修改全局环境、删除文件、影响外部服务或修改共享状态的命令。

## Code Changes

- 新功能应尽量沿用现有架构和数据流,不引入不必要的新模式。
- 修 bug 必须先定位根因,再写最小失败测试,最后实现修复。
- 修复应针对根因,不要通过跳过逻辑、放宽断言、吞掉异常或隐藏错误来“通过测试”。
- 删除代码时确认引用关系,避免留下无效注释、废弃导出、空包装或兼容占位。
- 不要添加无意义注释、重复注释或解释显而易见的代码。
- 只在逻辑复杂、非显然或容易误解时添加简短注释。
- 不要引入安全风险,包括但不限于命令注入、XSS、SQL 注入、路径穿越、敏感信息泄露。
- 对用户输入、外部 API、文件路径、shell 参数、网络响应等系统边界进行必要校验。

## Testing Requirements

- 修改 bug 必须优先添加或更新能够复现问题的最小失败测试。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add esonhugh/claude-code/CLAUDE.md@sha256:3a58a9d3bdfa21ee

The line at the top of this page pins the label git:20260723.44dceca, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jqgrgzy766qijckm.svg)](https://markdownregistry.com/a/art_jqgrgzy766qijckm)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 12, 2026 and Jul 23, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260723.44dceca latest2026-07-23 44dceca 7,906 BA view · diff
git:20260625.ab0b49a2026-06-25 ab0b49a 7,654 BA view · diff
git:20260621.3e1fe1b2026-06-21 3e1fe1b 7,129 BA view · diff
git:20260615.4cc7c792026-06-15 4cc7c79 1,884 BA view · diff
git:20260612.b5e14292026-06-12 b5e1429 1,841 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (7906 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

esonhugh/claude-code · 43 stars · license none declared · pushed 2026-10-20 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_jqgrgzy766qijckm
GET https://markdownregistry.com/api/v1/resolve?ref=esonhugh/claude-code/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/3a58a9d3bdfa21ee3020d07aaa956a1c84c4b828b02304a991528b43a072ab53

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from esonhugh/claude-code

claude-agent-workflow-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-agent-workflow-validation/SKILL.md · This skill should be used automatically when the user asks for strict binary-side validation of Agent, Workflow…
v0.3.0 · audit A · 43 stars
claude-code-feature-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-code-feature-validation/SKILL.md · Use this skill automatically whenever validating a Claude Code repository change: a new feature, modified feature, bug…
v0.1.0 · audit A · 43 stars
claude-network-debug SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-network-debug/SKILL.md · This skill should be used when the user asks about Claude Code “代理不生效”, “OAuth 网络失败”, “抓流”, “CONNECT”, “SSE/WebSocket”…
v0.1.0 · audit A · 43 stars
claude-runtime-debug SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-runtime-debug/SKILL.md · This skill should be used when the user asks to diagnose Claude Code CLI/runtime behavior, including “运行时调试”…
v0.2.0 · audit A · 43 stars
claude-source-binary-analysis SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-source-binary-analysis/SKILL.md · This skill should be used when the user asks to statically analyze authorized Claude Code source or…
v0.2.0 · audit A · 43 stars
release-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/release-validation/SKILL.md · Validates release readiness with related bun tests, make release-check, current-binary scripted tmux interactions, and…
v0.1.0 · audit A · 43 stars
claude-api SKILL.md skill
esonhugh/claude-code · src/skills/bundled/claude-api/SKILL.md
git:20260331.4178dd7 · audit C · 43 stars
verify SKILL.md skill
esonhugh/claude-code · src/skills/bundled/verify/SKILL.md · Verify a code change by running the app and checking the user-facing outcome.
git:20260331.4178dd7 · audit B · 43 stars

Every file in esonhugh/claude-code

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20260528.04c68e4 · audit A · 284,510 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 193,096 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261011.5d64745 · audit A · 136,966 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 113,780 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 109,013 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 102,533 stars
CLAUDE.md CLAUDE.md file
thedotmack/claude-mem · CLAUDE.md
git:20261013.84bbb53 · audit A · 102,153 stars
CLAUDE.md CLAUDE.md file
egonex-ai/understand-anything · CLAUDE.md
git:20260710.6677c67 · audit B · 87,696 stars

Browse by kind, by grade A, or by owner.