Borrowing it
Nothing to install: this file belongs to ziiyuecheng/vibe-coding-cn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ziiyuecheng/vibe-coding-cn/develop/AGENTS.mdgit clone --depth 1 https://github.com/ziiyuecheng/vibe-coding-cnWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ziiyuecheng/vibe-coding-cn/agents-md)<a href="https://agentmods.dev/instructions/ziiyuecheng/vibe-coding-cn/agents-md"><img src="https://agentmods.dev/badge/instructions/ziiyuecheng/vibe-coding-cn/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04864 | $0.04864 |
| Opus 5 | $0.02432 | $0.02432 |
| Sonnet 5 | $0.00973 | $0.00973 |
| Haiku 4.5 | $0.00486 | $0.00486 |
Grade A, and why
vibe-coding-cn AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
89% identical to vibe-coding-cn AGENTS.md — 60 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
本文件为 AI Agent 提供项目操作手册与约束清单,确保 Agent 行为可控、可复现。
1. Mission & Scope(目标与边界)
允许的操作
- 读取、修改顶层文档:
README.md、AGENTS.md、CONTRIBUTING.md等 - 读取、修改
docs/、prompts/、skills/、tools/config/、tools/external/下的文档与代码 - 执行
make lint、make check-links、make check-details、make check-doc-structure、make check-directory-docs、make check-metadata、make check-ai-citation、make sync-doc-toc、prompts-library 转换工具 - 新增/修改提示词、技能、文档
- 提交符合规范的 commit
禁止的操作
- 修改
.github/workflows/中的 CI 配置(除非任务明确要求) - 修改
LICENSE、CODE_OF_CONDUCT.md - 在代码中硬编码密钥、Token 或敏感凭证
- 未经确认的大范围重构
敏感区域(禁止自动修改)
.github/workflows/*.yml- CI/CD 配置.env*文件(如存在)
2. Golden Path(推荐执行路径)
# 1. 拉取最新代码
git pull --rebase origin develop
# 2. 初始化外部仓库指针
git submodule update --init --recursive
# 3. 运行 lint 检查
make lint
# 4. 执行修改任务
# ...
# 5. 再次 lint 验证
make lint
# 6. 提交变更
git add -A
git commit -m "feat|fix|docs|chore: scope - summary"
git push origin develop
3. Must-Run Commands(必须执行的命令清单)
环境要求
- Node.js 22+(通过
npx --yes [email protected]运行固定版本 Markdown lint) - Python 3.8+(用于 prompts-library 工具与链接检查脚本)
- Git
核心命令
| 命令 | 用途 | 前置条件 |
|---|---|---|
make help |
列出所有 Make 目标 | 无 |
make lint |
校验全仓库 Markdown | Node.js 22+;通过 npx --yes [email protected] 执行 |
make check-links |
校验仓库内 Markdown 相对链接 | Python 3 |
make check-details |
校验 Markdown 折叠块 <details>/<summary> 结构 |
Python 3 |
make check-doc-structure |
校验 docs 线性 README 标准块顺序、主章节顺序、重复锚点与目录入口 | Python 3 |
make check-directory-docs |
校验仓库自有目录 README/AGENTS 覆盖 | Python 3 |
make check-metadata |
校验 metadata 路径与锚点 | Python 3 |
make check-ai-citation |
校验 llms 与 AI 引用语料路径和锚点 | Python 3 |
make sync-doc-toc |
根据 taxonomy 和文档锚点重建 docs 细粒度目录 | Python 3 |
make test |
执行本地质量门禁 | Node.js 22+、Python 3 |
git submodule update --init --recursive |
初始化外部 Git 仓库指针 | Git |
cd tools/prompts-library && python3 main.py |
提示词格式转换 | pip install -r tools/prompts-library/requirements.txt |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 380 lines · 4,864 tokens per session scan A 52d389fab4ab
vibe-coding-cn AGENTS.md is an instructions file published in the GitHub repository ziiyuecheng/vibe-coding-cn (120 stars, last pushed 4mo ago), licensed MIT. It adds 4,864 tokens to every session, about $0.0243 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to vibe-coding-cn AGENTS.md, differing in 60 lines, and is treated as a copy.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.