CLAUDE.mdB
CLAUDE.md from lc044/trailsnap is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add lc044/trailsnap/CLAUDE.md@git:20260922.6f240d4Pins git:20260922.6f240d4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- lc044/trailsnap
- Path
CLAUDE.md- Versions recorded
- 6
- Latest version
- git:20260922.6f240d4, committed Sep 22, 2026
- First version recorded
- Jul 25, 2026
- Size
- 2,101 bytes
- Repository stars
- 873
- License
- AGPL-3.0
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
# AGENTS.md 本文件适用于在 TrailSnap(行影集)仓库中工作的编码代理,仅保留执行约束和文档入口。 ## 按需查阅 - 开发环境与贡献流程:[CONTRIBUTING.md](CONTRIBUTING.md)。 - 安装与部署:[README.md](README.md);架构概览:[doc/architecture_design.md](doc/architecture_design.md)。 - 各模块的启动与构建命令:对应的 `package/<模块>/README.md`。 - 测试参数、服务生命周期与 CI 约定:[tests/README.md](tests/README.md)。 ## 后端约束 - 新增 API 统一返回 `BaseResponse[T]`(`code`、`msg`、`data`),使用 `success()` / `fail()`;主后端定义见 `package/server/app/dependencies.py`。 - 修改 ORM 模型后,使用 Alembic 生成并提交迁移,同时提供 PostgreSQL(`package/server/alembic/`)和 SQLite(`package/server/alembic_sqlite/`)版本。同一 PR 内的多次迁移按数据库类型分别合并为一个迁移文件。 ## 前端约束 以下路径均相对于 `package/website/`。 - Vue 组件使用 `<script setup lang="ts">`;状态使用 Pinia;HTTP 请求统一通过 `src/api/*`。 - 跟随主题的强调色使用 `src/style.css` 中的 `primary-*` 工具类,不硬编码品牌色。JS 绘图或动态样式通过 `src/composables/useTheme.ts` 的 `injectTheme()` 读取 `currentTheme.value.primary` / `.rgb`,并在主题切换后重新绘制。 - 每个 `text-gray-*` 和 `bg-white` 都必须搭配对应的 `dark:` 变体。Element Plus 组件继承全局暗色配置,不在各实例内覆盖内部颜色。 ## 测试约束 - 本地与 CI 统一使用 `tests/scripts/run-tests.ps1`,按改动范围选择测试层和级别。 - 测试环境变量统一由 `tests/.env.test` 提供(模板:`tests/.env.test.example`;CI:`tests/.env.test.ci`)。 …
Read the whole file at its exact version.
How to install
mdr add lc044/trailsnap/CLAUDE.md@sha256:7f307c5b198b9de4The line at the top of this page pins the label git:20260922.6f240d4, 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.
[](https://markdownregistry.com/a/art_ewp7jk5g7ule5vrc)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 25, 2026 and Sep 22, 2026, about one every 12 days. Its first recorded version is graded C and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.6f240d4 latest | 2026-09-22 | 6f240d4 | 2,101 B | B | view · diff |
| git:20260903.07d5764 | 2026-09-03 | 07d5764 | 14,478 B | C | view · diff |
| git:20260805.ad9f41b | 2026-08-05 | ad9f41b | 16,255 B | C | view · diff |
| git:20260802.0706d68 | 2026-08-02 | 0706d68 | 16,235 B | C | view · diff |
| git:20260729.06d18ec | 2026-07-29 | 06d18ec | 16,140 B | C | view · diff |
| git:20260725.1592180 | 2026-07-25 | 1592180 | 16,297 B | C | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Size between 200 bytes and 200 KB (2101 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
Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
lc044/trailsnap · 873 stars · license AGPL-3.0 · pushed 2026-11-03 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ewp7jk5g7ule5vrc GET https://markdownregistry.com/api/v1/resolve?ref=lc044/trailsnap/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/7f307c5b198b9de4e88e04aa758a6467bb33dba354bb937989c4f217d198ee10
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.