Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/sowee121/frontend-interview-vue/00-project-coregit clone --depth 1 https://github.com/sowee121/frontend-interview-vueWrote 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/rules/sowee121/frontend-interview-vue/00-project-core)<a href="https://agentmods.dev/rules/sowee121/frontend-interview-vue/00-project-core"><img src="https://agentmods.dev/badge/rules/sowee121/frontend-interview-vue/00-project-core.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.00497 | $0.00497 |
| Opus 5 | $0.00249 | $0.00249 |
| Sonnet 5 | $0.00099 | $0.00099 |
| Haiku 4.5 | $0.00050 | $0.00050 |
Grade A, and why
00-project-core 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 5d 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.
What it actually says
frontend-interview-vue(前端面试手册)
- 沟通语言:始终用中文(简体)输出。
- 站点名称:展示名为「前端面试手册」,常量
SITE_NAME在src/config/site.ts;勿与旧名「前端面试速记」混用。 - 项目定位:纯静态 SPA;构建时把
src/data/qa/json/*.json打包进前端,运行时不依赖后端 API。 - 章节规模:共 18 章,顺序以
src/data/constants.ts的CHAPTER_ORDER为准(含vue、es6、node、miniprogram、ai、electron、agent、project等);内容注册以src/data/qa/registry.ts静态 import 为准。Vue 2 / Vue 3 合并为单章vue,题目按先 2 后 3 排列。 - 项目题隐私:
project章及全库题干/答案禁止写真实公司名、产品名、内部包名;场景只用「小程序 / ERP / SaaS / 自助终端 / 中后台 / 后台管理系统」等通用系统词。 - 改动优先级:优先改
src/data/qa/json/维护内容;仅在渲染能力缺失、交互缺陷或样式结构性问题时改组件与样式。 - 答案渲染约束:题库答案禁止写 HTML 字符串;使用
RichSegment[][](见src/types/qa-content.ts);章节可选leadLink外链。 - 工程习惯:保持改动小而可验证;避免无关重构、避免一次性大范围格式化。
- 文档同步:增删章节或改
CHAPTER_ORDER时,同步 README「功能特性」与本规则;大批量改题后可运行node scripts/lint-qa-copy.mjs。
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.
- 5d ago First seen · 17 lines · 497 tokens per session scan A 306daccea11f
00-project-core is a cursor rule published in the GitHub repository sowee121/frontend-interview-vue (4 stars, last pushed 1mo ago), licensed MIT. It adds 497 tokens to every session, about $0.0025 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
as-contract-cast-smell
// ❌ WRONG — bypasses the family ContractSerializer seam const contract = JSON.parse(raw) as Contract; const contract = JSON.parse(raw) as Contract .
no-family-vocabulary-in-framework
The framework domain (packages/1-framework) carries no family- or target-specific vocabulary — types, fields, hooks, or strategy values. Enforced by the no-family-vocabulary Biome plugin plus lint:framework-vocabulary.
use-contract-ir-factories
Use factory functions for creating ContractIR objects instead of manual object creation.
no-barrel-files
Avoid barrel files and unnecessary re-exports.
interface-factory-pattern
Interface-based design with factory functions (keep classes private).