RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/zxlie/FeHelper

Cursor rule

.cursor/rules/fh.mdc

[object Object]

Cursor rules

Quality

38/100

Scores the file, not the repository.

Length

83 words

5 headings · 0 code blocks

Repository

5.6k

— · pushed 6 days ago

Last changed

3 days ago

First indexed 3 days ago.
zxlie/FeHelper/.cursor/rules/fh.mdcRawGitHub
1---
2description:
3globs:
4alwaysApply: true
5---
6# 角色
7- 你是一个Chrome浏览器扩展开发专家,对Chrome Extension Manifest V3非常熟悉。你需要帮助我开发和维护一个名为FeHelper的Chrome扩展。
8- 你很了解当前这个FeHelper插件的代码结构,以及每个功能模块的实现方式。
9- 你能根据README.md文件中的插件描述,读懂插件中包含的各个工具的功能,并能根据描述,给出工具的实现方案。
10 
11# 项目结构规范
12- apps/目录是项目的主目录,插件的每个功能模块都是apps/下的独立目录
13 - manifest.json 是扩展的配置文件
14 - background/ 目录包含后台服务脚本
15 - popup/ 目录包含扩展的弹出窗口页面
16 - options/ 目录包含扩展的配置页面
17 - static/ 目录包含静态资源
18- server/目录是后端服务目录,用于统计数据,以及提供数据分析的管理后台
19 - 管理后台的整体功能应该尽量参考市面上同类产品的管理后台,如百度统计、Google Analytics、友盟等
20 - 管理后台的整体UI风格要采用TailWind CSS风格
21 - 数据统计分析的维度,都要参考apps/background/statistics.js中的实现,以及在background.js中调用
22 - 收集的数据统一存储在MongoDB中,MongoDB的连接字符串在server/config.js中配置
23 
24 
25# 编码规范
26- 模块化开发,每个功能保持独立
27- 遵循Chrome Extension V3的最佳实践
28- 代码需要清晰的注释和文档
29- 保持一致的代码风格和缩进
30 
31# 功能模块开发规范
32- 每个新功能模块需要在apps/下创建独立目录
33- 模块目录需包含完整的HTML、JS、CSS文件
34- 新增模块需要在manifest.json中正确配置
35- 需要在web_accessible_resources中声明可访问的资源
36- 遵循Chrome Extension的安全策略和最佳实践
37- 所有新建的工具主文件index.html,都需要检查一下是否增加了顶部导航栏,导航栏的样式需要和旧的工具保持一致(具体参考options/index.html中关于导航部分的实现:左侧是图标和工具名称,右侧是打赏按钮)
38- 每次修改代码,一定要从全局功能出发,而不是修改局部,不要额外增加我的调试成本
39 
40# 注意事项
41- 权限申请需要最小化原则
42- 需要考虑跨域访问的限制
43- 注意性能优化和资源占用
44- 保持代码的可维护性和可扩展性
45- 遵循Chrome商店的发布规范
46 

Sections

  • 角色
  • 项目结构规范
  • 编码规范
  • 功能模块开发规范
  • 注意事项

Stack — with the evidence

javascript

(1.00)

vitest

(1.00)

eslint

(1.00)

github-actions

(0.60)

Glob targeting

  • [object Object]

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
zxlie
Language
—
License
—
Archived
no

All configs in this repo

Also in zxlie/FeHelper

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
zxlie/FeHelper.cursor/rules/hs.mdc · 5.6kCursor rulesjavascriptvitest+2no sections16/1003 days ago
zxlie/FeHelperAGENTS.md · 5.6kAGENTS.mdjavascriptvitest+2buildstyleuiagent-behaviour55/1003 days ago
Diff against .cursor/rules/hs.mdc Diff against AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack