Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Kele-Bingtang/teek-design-vue3npx agentmods add rules/kele-bingtang/teek-design-vue3/codeWrote 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/kele-bingtang/teek-design-vue3/code)<a href="https://agentmods.dev/rules/kele-bingtang/teek-design-vue3/code"><img src="https://agentmods.dev/badge/rules/kele-bingtang/teek-design-vue3/code/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/kele-bingtang/teek-design-vue3/code"><img src="https://agentmods.dev/badge/rules/kele-bingtang/teek-design-vue3/code.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.00902 | $0.00902 |
| Opus 5.5 | $0.00361 | $0.00361 |
| Sonnet 5.5 | $0.00180 | $0.00180 |
| Haiku 4.5 | $0.00090 | $0.00090 |
Grade A, and why
code 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
组件格式
<script setup lang="ts">
import xxx from "xx";
defineOptions({ name: "Xxx" });
const ns = useNamespace("xx-xx");
</script>
<template>
<div :class="ns.b()"></div>
</template>
<style scoped lang="scss">
@use "./index";
</style>
@use "@styles/mixins/bem" as *;
@include b(xx-xx) {
}
带有 props、emits 的写法
<script setup lang="ts">
defineOptions({ name: "Demo" });
// 按照这种写法
interface DemoProps {
modelValue: string;
}
// 按照这种写法
interface DemoEmits {
submit: [value: string];
}
const props = defineProps<DemoProps>();
const emit = defineEmits<DemoEmits>();
const ns = useNamespace("login");
</script>
<template>
<div></div>
</template>
<style scoped lang="scss">
@use "./index";
</style>
组件里使用 composables
不推荐 props、emits、响应式变量、computed、watch、function、生命周期 的结构写法。
请使用可复用逻辑(composables)写法,即将关联性高的代码放到 function useXx 里然后暴露出来使用。
<script setup lang="ts">
import http from "xx";
defineOptions({ name: "Demo" });
interface DemoProps {
params: string;
}
interface DemoEmits {
submit: [value: string];
}
const props = defineProps<DemoProps>();
const emit = defineEmits<DemoEmits>();
const ns = useNamespace("login");
const username = ref("");
const password = ref("");
const { data } = useInitData();
// 核心请看这个 composables
function useInitData() {
const data = ref<Recore<string, any>[]>([]);
const request = async () => {
// 请求数据复制给 data
const result = await http.get(url, props.params);
data.value = result.data;
};
return { data };
}
</script>
<template>
<div :class="ns.b()">
<input v-model="username" />
<input v-model="password" />
</div>
</template>
<style scoped lang="scss">
@use "./index";
</style>
类型引入规范
- 先引入所有
type类型(按照导入规范顺序引入,不允许类型和函数的引入混杂在一起) - 引入第三方依赖(
Vue相关生态优先,如vue、vue-router、pinia、vue-i18n、@vueuse,然后是组件库如ElementPlus,@element-plus/icons-vue,最后是第三方插件) - 引入项目目录的其他依赖(如
@/composables,路径按照目录结构顺序引入) - 引入项目目录的其他组件(如
@/components/index.vue,路径按照目录结构顺序引入) - 引入相对路径的依赖(如
./types) - 引入相对路径的组件(如
./Demo.vue) - 直接引入第三方库(如
import "vue-cropper/dist/index.css") - 直接引入绝对路径(如
import "@/common/styles/common/var.scss") - 直接引入相对路径(如
import "./index.scss")
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.
- 1mo ago First seen · 150 lines · 902 tokens per session scan A 18b4fc350418
code is a cursor rule published in the GitHub repository Kele-Bingtang/teek-design-vue3 (281 stars, last pushed 1mo ago), licensed MIT. It adds 902 tokens to every session, about $0.0036 per session on Opus 5.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-09-04.
Other cursor rules, from other repositories
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.
frontend
You are an expert in TypeScript, Node.js, Vite, Vue.js, Vue Router, Pinia, VueUse, Ant Design Vue, and UnoCSS, with a deep understanding of best practices and performance optimization techniques in these technologies.
project-overview
A project overview for a uni-app application built with Vue 3, TypeScript, Vite, and UnoCSS. It explains the supported platforms, main folders, configuration files, and development commands.
sveltekit-tailwindcss-typescript-cursorrules-promp
Cursor rules for SvelteKit development with Tailwind CSS and TypeScript integration.
vue-rules
You are an expert in JavaScript, TypeScript, and the Vue.js framework for scalable web development.
vue3-typescript-auto
Vue 3 with TypeScript Standards.