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.
git 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/10-vue-ts-conventions)<a href="https://agentmods.dev/rules/sowee121/frontend-interview-vue/10-vue-ts-conventions"><img src="https://agentmods.dev/badge/rules/sowee121/frontend-interview-vue/10-vue-ts-conventions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/sowee121/frontend-interview-vue/10-vue-ts-conventions"><img src="https://agentmods.dev/badge/rules/sowee121/frontend-interview-vue/10-vue-ts-conventions.svg" alt="Reviewed on agentmods" width="80" 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.00000 | $0.00293 |
| Opus 5 | $0.00000 | $0.00147 |
| Sonnet 5 | $0.00000 | $0.00059 |
| Haiku 4.5 | $0.00000 | $0.00029 |
Grade A, and why
10-vue-ts-conventions 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 10d 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
Vue/TS 约定
- Vue 组件:统一使用
<script setup lang="ts">;defineProps/defineEmits使用类型参数声明。 - 导入与别名:站内导入优先用
@/别名;类型优先import type。 - 可维护性:能抽到
src/composables/的逻辑就抽,避免在页面/组件里堆大段滚动监听与 DOM 逻辑。 - 站点文案:顶栏标题等来自
SITE_NAME(src/config/site.ts),勿在组件里硬编码站点名。 - 命名:
- 组件/文件:PascalCase(如
ChapterSidebar.vue) - 组合式函数:
useXxx(如useChapterFromRoute) - CSS 类:kebab-case + BEM(见样式规则)
- 组件/文件:PascalCase(如
- 模板与可访问性:外链必须带
rel="noopener noreferrer";交互元素避免纯div充当按钮(必要时加button/aria-*)。
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.
- 10d ago First seen · 19 lines · 0 tokens per session scan A 0609635c759a
10-vue-ts-conventions is a cursor rule published in the GitHub repository sowee121/frontend-interview-vue (4 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 293 tokens. 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
vite-three-js-pro
A set of development rules for Vite and Three.js projects, with guidance for 3D components, resources, shaders, Vue components, Pinia state, and mitt events.
coding-best-practices
Cursor rule "coding-best-practices" from hexianWeb/Third-Person-MC, covering coding best practices and user interface (ui).
svelte-5-vs-svelte-4-cursorrules-prompt-file
Cursor rules for comparing Svelte 5 and Svelte 4 development.
sveltekit-typescript-guide-cursorrules-prompt-file
Cursor rules for SvelteKit development with TypeScript integration.
vue-typescript-patterns
A set of coding rules for Vue 3 projects using TypeScript, a language that adds type checking to JavaScript. It covers component structure, file locations, TypeScript usage, and Pinia, a library for shared application state.
react-typescript
Rules for writing frontend code at PostHog (mostly React + Typescript with Kea).