Development
它能做什么
指导 AI 智能体构建、测试和修改软件,从对“完成”含义的书面标准开始。它适用于希望在工作被宣布完成前,依据明确目标对修改进行检查的开发者。
适用场景
- ✓当你想让智能体构建新功能,并验证它符合明确标准的时候。
- ✓当你需要修改现有代码,并让其测试和标准保持最新的时候。
- ✓当你想检查一个已完成的项目是否真正按预期运行的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Development/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据这些书面需求构建这个登录功能,并在你说完成之前给我展示它能正常工作。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会把你的请求转化为书面标准,使每一条都通过,并记录每项检查的结果。只有在通过了对照你所批准的参考的最终审查之后,工作才会被称为完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Development
Contents: Ideal State · Intent Routing · Data & Config · Acceptance (output contract) · Safety gates · Execution · Tools · Gotchas · Examples
The thin actor between an ISA and its code. The ISA holds the rigor: what done means, every criterion, every criterion's eval. Assay is how each criterion is verified, and the only eval system a build may use (LIFEOS/DOCUMENTATION/Assay/AssaySystem.md § One eval system), at the cheapest honest tier: a code assert when the criterion is literal, a judgment-layer question when it needs reading, a judge only when neither can answer, the principal for taste. Development builds, tests and modifies until the code and the ISA agree.
Ideal State
- At the end of every run the code and its ISA agree: every criterion in scope carries an eval at the cheapest honest Assay tier, and its result is recorded in the ISA.
- Criteria change before the code they govern; only a trivial change (a typo, a value, an obvious one-liner) skips the ISA.
- Nothing the principal will see or use is called done until acceptance against a reference they approved has passed (§ Acceptance); passing tests are the builder's signal, not the done signal.
- The report on such work opens with the acceptance verdict and its capture paths. The captures show the whole thing working the way the principal meets it: a page renders top to bottom at desktop and phone widths and looks like the reference. A report without a passing verdict, and without the principal's waiver, does not call the work done, fixed or shipped.
- The criteria are the only artifact written before the code.
- Nothing here deploys or writes production data; the project's gated deploy command ships.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Build | new app, new feature, "build this", an existing repo with no ISA | Intents/Build.md |
| Test | "test the app", "is it in sync", "run the evals", a check before deploy | Intents/Test.md |
| Modify | change, fix or remove behavior in an app that has an ISA | Intents/Modify.md |
| Checkup | "health check", "checkup", "why are these ISCs red", "get everything in sync", "audit the ISA" | Intents/Checkup.md |
| File | Read when |
|---|---|
References/Guards.md |
a guard refuses an edit or a builder, or you need to know whether an edit is checked against an ISA |
References/Inventory.md |
reading Inventory.ts or sync output, or the code section of a Checkup.ts bundle |
References/Tools.md |
a run needs a tool's full flags, output or exit codes, or is reading ISAGate's bundled-claim finding |
References/Sizing.md |
questioning a run's tier, or checking whether sizing holds on the shape scoreboard |
Data & Config
User customizations at ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Development/ (PREFERENCES.md and any files it lists) override the defaults when that directory exists.
Acceptance (output contract)
Done means acceptance passed: the work was met the way the principal will meet it, compared to the reference and their words, and passed, with the captures. Criteria and tests are the builder's tools, not the done signal. Only the principal waives acceptance. (2026-10-07: a product page reached production broken while its whole test suite passed.
IsaCheck.ts acceptancechecks the recorded verdict at run end; the deploy path does not check it,References/Guards.md.)The reference is the existing thing the work should be like (looked for in LifeOS and the project first), or a rough mock or sample output when nothing exists. The principal approves it before code is written, and the ISA links it.
How deep acceptance goes follows what the principal will meet (principal, 2026-10-12: speed is part of the experience). A rendered page, app UI or user-facing flow, anything deployed, and anything on a
high-risk-pathget the fresh agent below. A CLI, hook, internal tool or doctrine change is accepted by the builder's recorded run of the real command the principal would run, its output captured and compared with their words; that run is the verdict recorded under## Status.
For the first kind: a fresh, non-forked agent of a lineage other than the builder's when one is available (Astra for Claude-built work). Its brief carries exactly four things and nothing else, no criteria, diff, test results or builder notes:
- The principal's words, verbati
常见问题
测试通过就意味着工作完成了吗?
不仅如此。通过的测试只是构建者自己的信号,而对照已批准参考的验收才是最终检查。
它也能处理小改动吗?
能,但像错别字或单行修复这类琐碎改动可以跳过书面标准。
报告从哪里开始?
报告以验收结论开头,并附有已保存证据的路径。
详情
作者的原始描述
Builds, tests, modifies and checks up on software against its ISA, from a one-file change to a giant system. Build turns intent into ISA criteria and makes them pass; Test proves the ISA is well formed, matches the code, and every criterion's Assay eval passes; Modify changes criteria first, then code; Checkup joins the ISA with production, Vigil, Errata and Achilles, says why each red criterion is red, and repairs the ISA. Each run is sized to the ask: small work inline, wide work a workflow. USE WHEN build an app, site, game, tool, CLI or pipeline, start a new project, implement or change a
repo: danielmiessler/LifeOS
热度
- GitHub 星标
- 20k
- 排名
- #10421
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …