codebase-tips SKILL.md skillA

codebase-tips from heyvhuang/copybook-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add heyvhuang/copybook-skills/codebase-tips@git:20261117.10c9020

Pins git:20261117.10c9020 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
heyvhuang/copybook-skills
Path
zh/skills/codebase-tips/SKILL.md
Versions recorded
3
Latest version
git:20261117.10c9020, committed Nov 17, 2026
First version recorded
Nov 14, 2026
Size
8,904 bytes
Repository stars
6
License
MIT

代码库 · 33 条:仓库索引和地图、写代码原则、AGENTS.md、改动范围规则。.

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

# 代码库 · 33 条

Copybook 的 33 条「代码库」技巧,收藏多的在前。每条要用的文字、放到哪里、最后得到什么,都在 references/ 里它自己的文件中。

- 用户点名技巧时,用点名的那条。用户只说了要做什么时,从适用于实际执行者的技巧里,选最符合用户目标和限制的一条。几条同样合适时,选一条即可。选中后,用一句话说明选了哪条、为什么,再读它的文件照着做。另一条也合适,而且换用它会明显改变做法或结果时,顺带点出它的名字和区别。
- 用户什么都没说:把下面的列表(每条的名字和做什么)给用户看,问用哪条。
- 都不合适就直说,并建议用 copybook,它会在全部 141 条里找。

| 技巧 | 做什么 |
| --- | --- |
| [开源侦察员和收尾者提示词](references/open-source-scout-and-closer.md) `open-source-scout-and-closer` | 不熟的功能从零写、问要不要继续:先搜 GitHub,再把整个活干完,附一份大白话总结。 |
| [codebase-memory 仓库索引](references/codebase-memory-repo-index.md) `codebase-memory-repo-index` | 每个问题几十轮 grep 和读文件:仓库连成一张函数、文件和依赖的图,顺手找出能安全删的死函数。 |
| [Karpathy 的 4 条写代码原则](references/karpathys-4-coding-principles.md) `karpathys-4-coding-principles` | 过度设计、顺手改旁边的代码:先想再写、简单优先、改动要准、目标驱动,4 行写进 CLAUDE.md。 |
| [vibe coding 后的清理:5 条 Codex /goal 提示词](references/vibe-coding-cleanup-prompts.md) `vibe-coding-cleanup-prompts` | 额度重置时还剩一半:清掉死代码、重复实现和用不上的依赖,给定时任务和旧 worktree 分好类。 |
| [能点的仓库地图](references/clickable-repo-map.md) `clickable-repo-map` | 改一个仓库前先看清它:点任一模块,看到调用方、依赖、相关测试和源码证据,地图随代码更新。 |
| [Scope Guard:不让小任务越做越大的规则](references/scope-guard-rules.md) `scope-guard-rules` | 改个配置就搭框架、修个 bug 就加一层:够用的最小改动,复用现有代码,扩大范围先问你。 |
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_nqrac5kde4nq4e4m/2600dc027d1e2b8eb4c3c099d71aa95c10a3e1f070a5c0284abcdc810e670064.json

Then /plugin install codebase-tips@markdownregistry-nqrac5kde4nq4e4m in Claude Code. It installs git:20261117.10c9020, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add heyvhuang/copybook-skills/codebase-tips@sha256:2600dc027d1e2b8e

The line at the top of this page pins the label git:20261117.10c9020, 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_nqrac5kde4nq4e4m.svg)](https://markdownregistry.com/a/art_nqrac5kde4nq4e4m)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in heyvhuang/copybook-skills/codebase-tips since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of codebase-tips from somewhere else? Ask it: where did my codebase-tips come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 3 versions of this file, between Nov 14, 2026 and Nov 17, 2026, about one every day.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261117.10c9020 latest2026-11-17 10c9020 8,904 BA view · diff
git:20261116.b578ddb2026-11-16 b578ddb 8,668 BA view · diff
git:20261114.9250d3a2026-11-14 9250d3a 8,668 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8904 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

heyvhuang/copybook-skills · 6 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nqrac5kde4nq4e4m
GET https://markdownregistry.com/api/v1/resolve?ref=heyvhuang/copybook-skills/codebase-tips
GET https://markdownregistry.com/api/v1/blob/2600dc027d1e2b8eb4c3c099d71aa95c10a3e1f070a5c0284abcdc810e670064

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from heyvhuang/copybook-skills

AGENTS.md AGENTS.md file
heyvhuang/copybook-skills · AGENTS.md
git:20261114.9250d3a · audit A · 6 stars
codebase-tips SKILL.md skill
heyvhuang/copybook-skills · skills/codebase-tips/SKILL.md · Codebase · 33 tips: repo index and map, coding principles, AGENTS.md, scope rules.
git:20261117.10c9020 · audit A · 6 stars
copybook SKILL.md skill
heyvhuang/copybook-skills · skills/copybook/SKILL.md · Load unasked: plan, multi-file PR review (no tiny edits); repeat mistakes; 2 failed fixes; handoffs; ready-made…
git:20261117.10c9020 · audit A · 6 stars
design-tips SKILL.md skill
heyvhuang/copybook-skills · skills/design-tips/SKILL.md · Design · 32 tips: image-first pages, motion libraries, reference sites, design skills.
git:20261117.10c9020 · audit A · 6 stars
launch-tips SKILL.md skill
heyvhuang/copybook-skills · skills/launch-tips/SKILL.md · Launch · 11 tips: pre-launch, speed, and legal checks, SEO tool pages, VPS lockdown.
git:20261117.10c9020 · audit A · 6 stars
long-run-tips SKILL.md skill
heyvhuang/copybook-skills · skills/long-run-tips/SKILL.md · Long runs · 22 tips: multi-agent roles, progress dashboards, handoffs, remote workflows.
git:20261117.10c9020 · audit A · 6 stars
model-tips SKILL.md skill
heyvhuang/copybook-skills · skills/model-tips/SKILL.md · Models and cost · 23 tips: model pairings, effort, cache timing, leftover quota.
git:20261117.10c9020 · audit A · 6 stars
review-tips SKILL.md skill
heyvhuang/copybook-skills · skills/review-tips/SKILL.md · Review · 15 tips: PR, code, and plan reviews, bug scoring, skill audits and backtests.
git:20261117.10c9020 · audit A · 6 stars
writing-tips SKILL.md skill
heyvhuang/copybook-skills · skills/writing-tips/SKILL.md · Writing · 5 tips: Orwell's rules, one-line de-AI prompt, README rewrites, task briefs.
git:20261117.10c9020 · audit A · 6 stars
coordinator SKILL.md skill
heyvhuang/copybook-skills · standalone/coordinator/skills/coordinator/SKILL.md · Coordinate an ongoing software delivery run when the user assigns this session the coordinator role or asks it to…
git:20261117.10c9020 · audit A · 6 stars
parallel-goal-fleet SKILL.md skill
heyvhuang/copybook-skills · standalone/coordinator/skills/parallel-goal-fleet/SKILL.md · Use Herdr when the user requests execution by one or more Claude/Codex workers, or coordination across workers…
git:20261116.4e75815 · audit A · 6 stars
copybook SKILL.md skill
heyvhuang/copybook-skills · zh/skills/copybook/SKILL.md · 开工前先加载(没提 Copybook 也加载):审方案、计划,跨文件 diff、PR;bug 修两次没好;交接、长任务报告;额度、选模型;上线前;现成提示词或规则;设计或重做页面、仪表盘;AGENTS.md。一两行、小文件、单问单答直接做,…
git:20261117.10c9020 · audit A · 6 stars

Every file in heyvhuang/copybook-skills

Other files named codebase-tips

codebase-tips SKILL.md skill
heyvhuang/copybook-skills · skills/codebase-tips/SKILL.md · Codebase · 33 tips: repo index and map, coding principles, AGENTS.md, scope rules.
git:20261117.10c9020 · audit A · 6 stars

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