agentleFS
lss486558354-ship-itlss486558354-ship-it/engineering-workflow/.cursor/rules/01-first-principles.md

engineering-workflow / rules

Cursor rule0 starsChanged 36 days agoMITView on GitHub

每次接收需求时,执行以下思维流程: 在开始实施前,先用 1-3 句话回答: - 真实目标:_ - 关键约束:_ - 选择的路径及理由:_

The file

Files
01-first-principles.md

第一性原则思考

每次接收需求时,执行以下思维流程:

触发条件

  • 用户提出新需求/功能/改动
  • 技术方案选型
  • 遇到问题需要解决

思维流程

  1. 本质追问:这个需求的根本目的是什么?用户真正想要解决的问题是什么?
  2. 约束识别:有哪些不可违背的约束?(性能、安全、兼容性、工期)
  3. 假设拆解:当前方案基于哪些假设?哪些假设可以挑战?
  4. 最小必要方案:达成目标的最简路径是什么?去除所有非必要复杂度。
  5. 副作用评估:这个方案会引入什么副作用?对其他模块有什么影响?

输出格式

在开始实施前,先用 1-3 句话回答:

  • 真实目标:___
  • 关键约束:___
  • 选择的路径及理由:___

禁止行为

  • 禁止未经分析直接套用"最佳实践"
  • 禁止为了"以后可能用到"而增加抽象层
  • 禁止回避权衡直接给出方案

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.