pixuli-monorepo

pixuli-monorepo is a cursor rule for Cursor from trueLoving/Pixuli. It costs 359 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 359 This file is loaded in full into every session.
When invoked 359 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.00359 $0.00359
Opus 5 $0.00179 $0.00179
Sonnet 5 $0.00072 $0.00072
Haiku 4.5 $0.00036 $0.00036

Measured 8d ago against content hash feb64b7fc9a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 31 lines

What it actually says

Pixuli Monorepo

底线

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

包与导入

  • Workspace 包名:@pixuli/core@pixuli/provider-github@pixuli/provider-gitee
  • UI:app/src/ui,导入 @/ui(禁止 provider 依赖)
  • Provider 注册:registerGitHubProvider / registerGiteeProvider 从各包 /register 导入
  • 应用创建实例: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. 8d 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 (67 stars, last pushed 5d ago), licensed MIT. It adds 359 tokens to every session, about $0.0018 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-30.