development-workflow

development-workflow is a cursor rule for Cursor from soaring-xiongkulu/easyaiot. It costs 367 tokens per session, scanned A, original, MIT.

A development workflow guide for a uni-app project, a framework for building web pages, mobile apps, and mini-programs from shared code. It covers setup, coding rules, testing, debugging, performance, and builds for several platforms.

In plain words
What is it for?
Use it to install dependencies, run H5, WeChat, Alipay, or app versions, check TypeScript and ESLint, debug requests and components, and build releases.
Why use it?
It gathers the project’s platform-specific commands and code checks in one place, reducing mistakes when starting, checking, or releasing the app.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

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.

agentmods
npx agentmods add rules/soaring-xiongkulu/easyaiot/development-workflow
Clone the repo
git clone --depth 1 https://github.com/soaring-xiongkulu/easyaiot

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 development-workflow

README.md
[![agentmods](https://agentmods.dev/badge/rules/soaring-xiongkulu/easyaiot/development-workflow.svg)](https://agentmods.dev/rules/soaring-xiongkulu/easyaiot/development-workflow)
Your own site
<a href="https://agentmods.dev/rules/soaring-xiongkulu/easyaiot/development-workflow"><img src="https://agentmods.dev/badge/rules/soaring-xiongkulu/easyaiot/development-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 367 This file is loaded in full into every session.
When invoked 367 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00367 $0.00367
Opus 5 $0.00183 $0.00183
Sonnet 5 $0.00073 $0.00073
Haiku 4.5 $0.00037 $0.00037

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

Security

Grade A, and why

development-workflow 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 6d 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/.cursor/rules/development-workflow.mdc · 44 lines

What it actually says

开发工作流程

项目启动

  1. 安装依赖:pnpm install
  2. 开发环境:
    • H5: pnpm devpnpm dev:h5
    • 微信小程序: pnpm dev:mp
    • 支付宝小程序: pnpm dev:mp-alipay
    • APP: pnpm dev:app

代码规范

  • 使用 ESLint 进行代码检查:pnpm lint
  • 自动修复代码格式:pnpm lint:fix
  • 使用 eslint 格式化代码
  • 遵循 TypeScript 严格模式

构建和部署

  • H5 构建:pnpm build:h5
  • 微信小程序构建:pnpm build:mp
  • 支付宝小程序构建:pnpm build:mp-alipay
  • APP 构建:pnpm build:app
  • 类型检查:pnpm type-check

开发工具

  • 推荐使用 VSCode 编辑器
  • 安装 Vue 和 TypeScript 相关插件
  • 使用 uni-app 开发者工具调试小程序
  • 使用 HBuilderX 调试 APP

调试技巧

  • 使用 console.log 和 uni.showToast 调试
  • 利用 Vue DevTools 调试组件状态
  • 使用网络面板调试 API 请求
  • 平台差异测试和兼容性检查

性能优化

  • 使用懒加载和代码分割
  • 优化图片和静态资源
  • 减少不必要的重渲染
  • 合理使用缓存策略

description: 开发工作流程和最佳实践指南

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. 6d ago First seen · 44 lines · 367 tokens per session scan A 9bf1562b6523

Subscribe to this mod's changes

development-workflow is a cursor rule published in the GitHub repository soaring-xiongkulu/easyaiot (707 stars, last pushed yesterday), licensed MIT. It adds 367 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.