pixuli-monorepo

pixuli-monorepo is a cursor rule for Cursor from trueLoving/Pixuli. It costs 488 tokens per session, scanned A, original, MIT.

A shared rulebook for Pixuli, a monorepo that stores several related applications and packages in one repository. It defines boundaries between web, desktop, and mobile code, storage providers, user-interface code, TypeScript files, and required checks.

In plain words
What is it for?
Use it when changing Pixuli packages, importing providers, writing TypeScript, preparing issue or pull-request references, and running tests or web builds.
Why use it?
It reduces accidental cross-package dependencies and keeps the different Pixuli applications consistent.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when changing Pixuli packages, importing providers, writing TypeScript, preparing issue or pull-request references, and running tests or web builds.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/trueloving/pixuli/pixuli-monorepo
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/trueLoving/Pixuli

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 pixuli-monorepo

README.md
[![agentmods](https://agentmods.dev/badge/rules/trueloving/pixuli/pixuli-monorepo/github.svg)](https://agentmods.dev/rules/trueloving/pixuli/pixuli-monorepo)
Your own site
<a href="https://agentmods.dev/rules/trueloving/pixuli/pixuli-monorepo"><img src="https://agentmods.dev/badge/rules/trueloving/pixuli/pixuli-monorepo/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.

agentmods 80×15 button for pixuli-monorepo

Your own site · 80×15
<a href="https://agentmods.dev/rules/trueloving/pixuli/pixuli-monorepo"><img src="https://agentmods.dev/badge/rules/trueloving/pixuli/pixuli-monorepo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 488 This file is loaded in full into every session.
When invoked 488 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.00488 $0.00488
Opus 5.5 $0.00195 $0.00195
Sonnet 5.5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

Measured 5d ago against content hash 6f23a5bf425a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pixuli-monorepo 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.

.cursor/rules/pixuli-monorepo.mdc · 33 lines

What it actually says

Pixuli Monorepo

底线

  • 维护 Web + Desktop + Mobile(app + Capacitor);无官方 Server
  • 存储仅经 @pixuli/core/plugins 契约 + @pixuli/provider-*;应用不直接调 Git API 细节
  • @pixuli/core 与 provider-* 禁止依赖 UI(app/src/ui)

包与导入

  • Workspace 包名:@pixuli/core、@pixuli/provider-github、@pixuli/provider-gitee、@pixuli/kind-pdf、@pixuli/kind-markdown、@pixuli/kind-text、@pixuli/kind-video、@pixuli/kind-image
  • UI:app/src/ui,导入 @/ui(禁止 provider 依赖;kind 预览 UI 可经包 /ui 导出)
  • 插件 Runtime:@pixuli/core/plugin-runtime;启动 app/src/plugins/runtime.ts(Builtin;暂无用户安装)
  • UI 槽位:app/src/plugins/uiRegistry;插件 contribute* 注册预览/连接等,app 壳不写死 pluginId
  • Provider / Kind 经 Runtime onload 注册;包仍导出 /register、/runtime、可选 /ui
  • 应用创建实例:storageRegistry.create(pluginId, ctx)(见 app/src/storage/createProvider.ts)
  • 已删除 packages/common;勿引用 pixuli-common

TypeScript

  • 业务代码一律 .ts/.tsx(默认 TypeScript;工具链配置等例外另议)

改动原则

  • 最小 diff;匹配现有命名与目录约定
  • 完成功能后:pnpm test;涉及 Web 构建时考虑 pnpm build:web
  • REF Issue PR:标题含 REF-xxx;关闭 Issue 用 Fixes #n;同步 PLANS.md
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. 5d ago Changed · +18 tokens per session 6f23a5bf425a
  2. 7d ago Changed · +19 tokens per session 82091f29bef0
  3. 8d ago Changed · +1 lines · +37 tokens per session 5f2e33efda30
  4. 9d ago Changed · +1 lines · +55 tokens per session 00e69f6955d6
  5. 3mo ago First seen · 31 lines · 359 tokens per session scan A feb64b7fc9a0

Subscribe to this mod's changes

pixuli-monorepo is a cursor rule published in the GitHub repository trueLoving/Pixuli (66 stars, last pushed 4d ago), licensed MIT. It adds 488 tokens to every session, about $0.0020 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-08-30.

Related

pixuli-monorepo compared with cursor rules from other repositories

pixuli-monorepo next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pixuli-monorepotrueLoving/PixuliCursor rule664d agoMITA488Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor