CLAUDE.md@by-scenario/monorepoA

CLAUDE.md@by-scenario/monorepo from overseastelegramaliterateperson865/awesome-claude-md is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-scenario/monorepo/CLAUDE.md@git:20260320.fcf2609

Pins git:20260320.fcf2609 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
overseastelegramaliterateperson865/awesome-claude-md
Path
by-scenario/monorepo/CLAUDE.md
Versions recorded
1
Latest version
git:20260320.fcf2609, committed Mar 20, 2026
Size
2,242 bytes
Repository stars
3
License
MIT

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

# 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

The exact contents, by fingerprint
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-scenario/monorepo/CLAUDE.md@sha256:972be4501ee8e087

The line at the top of this page pins the label git:20260320.fcf2609, 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_lfu5sv4msjcms4ma.svg)](https://markdownregistry.com/a/art_lfu5sv4msjcms4ma)

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

Versions

The registry has recorded 1 version of this file, committed on Mar 20, 2026.

versioncommittedcommitsizeaudit
git:20260320.fcf2609 latest2026-03-20 fcf2609 2,242 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 (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

GitHub

overseastelegramaliterateperson865/awesome-claude-md · 3 stars · license MIT · pushed 2026-10-14 · 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 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 overseastelegramaliterateperson865/awesome-claude-md

CLAUDE.md@by-framework/fastapi CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/fastapi/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-framework/nextjs CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/nextjs/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-framework/react CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/react/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-framework/spring-boot CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/spring-boot/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-framework/svelte CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/svelte/CLAUDE.md
git:20260405.ab9f266 · audit B · 3 stars
CLAUDE.md@by-framework/tauri CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/tauri/CLAUDE.md
git:20260320.fcf2609 · audit A · 3 stars
CLAUDE.md@by-framework/uni-app CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/uni-app/CLAUDE.md
git:20260320.fcf2609 · audit B · 3 stars
CLAUDE.md@by-framework/vue-nuxt CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-framework/vue-nuxt/CLAUDE.md
git:20260320.fcf2609 · audit B · 3 stars
CLAUDE.md@by-language/go CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-language/go/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-language/java CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-language/java/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars
CLAUDE.md@by-language/python CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-language/python/CLAUDE.md
git:20260320.fcf2609 · audit A · 3 stars
CLAUDE.md@by-language/rust CLAUDE.md file
overseastelegramaliterateperson865/awesome-claude-md · by-language/rust/CLAUDE.md
git:20260320.9b01aca · audit A · 3 stars

Every file in overseastelegramaliterateperson865/awesome-claude-md

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