project

project is a cursor rule for Cursor from tianmuji/figma-restoration-tools. It costs 259 tokens per session, scanned A, original, MIT.

A set of Cursor editor rules for a Vue component project. It explains which generated files must not be edited and how new components should be added.

In plain words
What is it for?
Use it when adding components under `src/components/`, where a directory containing the component, metadata, and images is automatically discovered. It also identifies generated files and dependency lockfiles to leave unchanged.
Why use it?
It prevents changes to files maintained by automation and avoids unnecessary manual registration work.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when adding components under src/components/, where a directory containing the component, metadata, and images is automatically discovered. It also identifies generated files and dependency lockfiles to leave unchanged.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/tianmuji/figma-restoration-tools/project
Install

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.

Clone the repo
git clone --depth 1 https://github.com/tianmuji/figma-restoration-tools

Made for: Cursor.

Wrote 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.

agentmods badge for project

README.md
[![agentmods](https://agentmods.dev/badge/rules/tianmuji/figma-restoration-tools/project.svg)](https://agentmods.dev/rules/tianmuji/figma-restoration-tools/project)
Your own site
<a href="https://agentmods.dev/rules/tianmuji/figma-restoration-tools/project"><img src="https://agentmods.dev/badge/rules/tianmuji/figma-restoration-tools/project.svg" alt="Measured on agentmods" height="20"></a>
Per session 259 This file is loaded in full into every session.
When invoked 259 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00259 $0.00259
Opus 5 $0.00130 $0.00130
Sonnet 5 $0.00052 $0.00052
Haiku 4.5 $0.00026 $0.00026

Measured 7d ago against content hash 9b0e6bcb531a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

project 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/rules/project.mdc · 31 lines

What it actually says

Cursor 编辑器规则配置

🚫 禁止修改的文件

以下文件由自动化系统维护,请勿手动修改:

组件自动注册文件

  • src/components/index.ts - 此文件使用 Vite glob import 自动扫描和注册所有组件
  • 规则: 当需要添加新组件时,只需在 src/components/ 下创建新的组件目录,无需修改此文件

自动生成的配置文件

  • *.generated.ts - 任何以 .generated.ts 结尾的文件
  • package-lock.json - NPM依赖锁定文件
  • yarn.lock - Yarn依赖锁定文件

✅ 添加新组件的正确方式

1. 创建组件目录结构

src/components/NewComponent/
├── index.vue           # Vue组件文件
├── metadata.json       # 组件元数据
└── images/            # 组件素材目录

2. 组件会自动被注册

  • src/components/index.ts 会自动发现并导出新组件
  • 无需手动添加 import 语句
  • 无需手动添加到导出列表
Changes

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.

  1. 7d ago First seen · 31 lines · 259 tokens per session scan A 9b0e6bcb531a

Subscribe to this mod's changes

project is a cursor rule published in the GitHub repository tianmuji/figma-restoration-tools (0 stars, last pushed 1y ago), licensed MIT. It adds 259 tokens to every session, about $0.0013 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.