01-project-overview

01-project-overview is a cursor rule for Cursor from 2154355737/JieShenSheQu. It costs 861 tokens per session, scanned A, original, MIT.

Project rules for a package-management and sharing platform, similar to npm or GitHub, with a Rust backend, mobile app, web app, and admin panel.

In plain words
What is it for?
Working on the backend, mobile app, admin panel, website, database access, API responses, authentication, or permissions.
Why use it?
They explain the project's structure, technology choices, response format, error handling, and login system so changes fit the existing design.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Working on the backend, mobile app, admin panel, website, database access, API responses, authentication, or permissions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/2154355737/jieshenshequ/01-project-overview
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/2154355737/JieShenSheQu

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 01-project-overview

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/2154355737/jieshenshequ/01-project-overview"><img src="https://agentmods.dev/badge/rules/2154355737/jieshenshequ/01-project-overview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 861 This file is loaded in full into every session.
When invoked 861 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.00861 $0.00861
Opus 5 $0.00430 $0.00430
Sonnet 5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

Measured 8d ago against content hash e0f15f8e3c9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

App_v2/jieshengshequ-app/.cursor/rules/01-project-overview.mdc · 111 lines

What it actually says

绳包管理器 (结绳社区) - 项目概览

🎯 项目简介

绳包管理器是一个现代化的包管理和分享平台,类似于 npm 或 GitHub,专门用于管理和分享各种软件包、工具和资源。

🏗️ 项目架构

核心组成部分

JieShenSheQu/
├── APP_HouDuan/          # 后端 (Rust + Actix-Web + SQLite)
├── App_v2/               # 移动端应用 (React + Capacitor)
├── APP_HouTai/          # 管理后台 (Vue.js + TypeScript)
├── App_GuanWang/        # 官网 (Vue/React)
└── 文档/                 # 项目文档

技术栈概览

后端 (APP_HouDuan)

  • 框架: Rust + Actix-Web 4.4
  • 数据库: SQLite + rusqlite
  • 认证: JWT + bcrypt
  • 日志: env_logger + log
  • 配置: TOML + config crate

前端应用 (App_v2/jieshengshequ-app)

  • 框架: React 18 + TypeScript 5
  • 跨平台: Capacitor 7
  • UI库: Radix UI + Tailwind CSS
  • 状态管理: React Context API
  • 路由: React Router 6
  • 构建工具: Vite 5

管理后台 (APP_HouTai)

  • 框架: Vue.js 3 + TypeScript
  • UI库: Ant Design Vue
  • 构建工具: Vite

🎯 关键设计原则

1. 分层架构

  • API层: 处理HTTP请求和响应
  • Service层: 业务逻辑处理
  • Repository层: 数据访问
  • Model层: 数据模型定义

2. 统一响应格式

interface ApiResponse<T> {
  code: number;
  message: string;
  data?: T;
  errors?: ValidationError[];
}

3. 错误处理

  • 后端使用统一的错误类型和HTTP状态码
  • 前端统一处理API错误并显示友好提示

4. 认证机制

  • JWT Token认证
  • 刷新Token机制
  • 角色权限控制

📂 关键目录结构

后端结构

参考: APP_HouDuan/src

src/
├── api/v1/          # API接口
├── models/          # 数据模型
├── repositories/    # 数据访问层
├── services/        # 业务服务层
├── middleware/      # 中间件
└── utils/           # 工具函数

前端应用结构

参考: App_v2/jieshengshequ-app/src

src/
├── api/            # API客户端
├── screens/        # 页面组件
├── components/     # 可复用组件
├── contexts/       # React Context
├── hooks/          # 自定义Hooks
├── utils/          # 工具函数
└── styles/         # 样式文件

🔒 安全考虑

  • 所有API请求需要验证JWT Token
  • 敏感数据加密存储
  • SQL注入防护
  • XSS防护
  • CSRF防护

📝 代码规范

  • TypeScript严格模式
  • 使用ESLint和Prettier
  • 遵循React最佳实践
  • 详细的注释和文档
  • 单元测试覆盖
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 · 111 lines · 861 tokens per session scan A e0f15f8e3c9e

Subscribe to this mod's changes

01-project-overview is a cursor rule published in the GitHub repository 2154355737/JieShenSheQu (2 stars, last pushed 11mo ago), licensed MIT. It adds 861 tokens to every session, about $0.0043 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.