CLAUDE.md@by-scenario/monorepo claudeA
CLAUDE.md@by-scenario/monorepo is agent-read markdown (claude) from overseastelegramaliterateperson865/awesome-claude-md.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Monorepo 项目规范 (Turborepo + pnpm workspace) ## 工作区结构 - `apps/` - 可部署应用(web、api、admin 等) - `packages/` - 共享包(ui、utils、config、tsconfig 等) - `tooling/` - 开发工具链配置(eslint-config、prettier-config 等) - 根目录 `pnpm-workspace.yaml` 定义所有 workspace 成员 ## 依赖管理 - 始终使用 `pnpm add` 安装依赖,禁止使用 npm/yarn - 添加依赖到特定 workspace:`pnpm add <pkg> --filter <workspace>` - 共享包之间通过 `"@repo/ui": "workspace:*"` 引用,禁止写固定版本号 - 根目录 `package.json` 只放 devDependencies(husky、lint-staged 等) ## 构建顺序与缓存 - Turborepo 根据 `turbo.json` 中的 `dependsOn` 自动推断构建拓扑顺序 - `packages/` 先于 `apps/` 构建,修改共享包后必须重新构建下游消费者 - 利用 `turbo run build --filter=<app>...` 只构建目标及其依赖链 - 远程缓存开启时,CI 中未变更的包会命中缓存跳过构建 ## 共享包开发规范 - 每个 `packages/*` 必须有独立的 `package.json`、`tsconfig.json` 和 `src/index.ts` 入口 - 共享 UI 组件放 `packages/ui`,工具函数放 `packages/utils` - 共享包导出必须在 `package.json` 的 `exports` 字段中显式声明 - 类型定义随源码一起发布,不要单独维护 `.d.ts` ## 测试策略 - 单元测试:各 workspace 独立运行 `pnpm test --filter=<workspace>` - 集成测试:放在对应 app 目录下,可依赖已构建的共享包 - CI 中使用 `turbo run test --filter=...[origin/main]` 只测试受影响的包 - 每个共享包的测试必须独立通过,不依赖其他 workspace 的运行时状态 ## 常用命令 - `pnpm dev --filter=web` - 启动单个应用开发服务器 - `pnpm build` - 全量构建(Turborepo 自动并行+缓存) - `pnpm lint` - 全量 lint 检查 …
Read the whole file at its exact version.
How to install
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-scenario/monorepo/CLAUDE.md@git:20260320.fcf2609mdr add overseastelegramaliterateperson865/awesome-claude-md/by-scenario/monorepo/CLAUDE.md@sha256:972be4501ee8e087Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_lfu5sv4msjcms4ma)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2242 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
overseastelegramaliterateperson865/awesome-claude-md · 3 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lfu5sv4msjcms4ma GET https://markdownregistry.com/api/v1/resolve?ref=overseastelegramaliterateperson865/awesome-claude-md/by-scenario/monorepo/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/972be4501ee8e08730f592bb394473f0e623ad26b76f926ac9ae211a0f50f2ec
Your agent 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.
More from overseastelegramaliterateperson865/awesome-claude-md
Every file in overseastelegramaliterateperson865/awesome-claude-md