跳到正文
Skillpedia
任务与项目7.1k · #13540

tlc-spec-lean

它能做什么

这是功能规划的精简版本:AI 撰写一份由人审阅的计划,然后把它转化为检查项,构建工作,并由独立的评审者进行验证。它跳过了详细的任务拆分。适合希望拥有快速且经过验证的功能开发流程的团队。

适用场景

  • ✓当你希望用一份经过审阅的文档规划功能,而不是多份文档时。
  • ✓当你希望在功能被宣布完成之前,由独立的评审者进行验证时。
  • ✓当一项功能需要快速构建,而不需要冗长的任务拆分时。

技能链接

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/tlc-spec-lean/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/tlc-spec-lean/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把新的搜索筛选功能规划成一份我可以审阅的文档,然后构建它并让它通过验证。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会撰写带有清晰标准和关键决策的计划,等待你审阅;然后把标准转化为检查项,进行构建,之后由独立的验证者核对证据。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Tech Lead's Club - Spec, Lean

Freeze the obligations. Free the plan. Prove it with someone who did not build it. Derived from tlc-spec-driven 3.3.0 (Felipe Rodrigues), tlc-plan, and tlc-implement.

┌──────┐   ┌────────┐   ┌───────┐   ┌────────┐
│ PLAN │ → │ CHECKS │ → │ BUILD │ → │ VERIFY │
└──────┘   └────────┘   └───────┘   └────────┘
 read it    obligations   yours       always

The common failure of a coding agent is a requirement that never became an active obligation, followed by a completion claim. What works against it is a small, frozen, external obligation set and a verifier that is not the author, so the budget goes there and not into choreographing the model. A human confirms what must be true and how it is being built in one document; only then does it become obligations with proofs. There is no task breakdown and no component catalogue: what is hard to reverse gets a one-way door with its literal shape, and the rest is decided while building.

Rules

These hold even if no reference file is read. Each one lives here; the references point back.

  1. Every check is one observable claim with a concrete value plus the proof that settles it: a test or command whose exit code decides, or, for a state a capture draws, a picture of it judged against the capture (rule 9).
  2. Tests assert what the checks say, not what the code happens to do. Do not write a test by reading the implementation.
  3. A test changes only with the claim it proves, and leaves with the code it proves, in the same commit. Changing a test to make a suite pass hides the failure it exists to show: a wrong check is a stop-and-ask.
  4. Checks are fixed once validate_checks.py passes; a check may be appended when the walk or the Verifier finds a missing obligation. In the plan, Landing, Surface and the stored shape are additive; the path and Changes underneath are kept true in the commit that changes them.
  5. The Verifier is a fresh sub-agent, never the author, and it always runs, once per feature, beside the screens sub-agent. check_proofs.py settles the mechanical part - every proof run and passing at HEAD, the build, the pictures, the walk - and the Verifier spends its time on judgement: it opens the test each check's proof selects and says whether that test would fail if the claim were false, then tries examples nobody named and assertions looser than their criterion. The work is done when every finding is closed by a commit and proofs.md is green at HEAD.
  6. A proof is the project's own test command; the skill knows no test runner. Tests that run together go on one Run <name>: <command> line, run once, and each check that reads it writes Proof: run <name> | <the line the run prints when its test passes>, pass marker included, so a filter that selects nothing reads no test ran instead of a green exit code. A command run alone is judged by its exit code. The checks are the floor; an edge case or guard no check names is still the work.
  7. The completion gate is a script: validate_verification.py exits 0. The final report opens with its last line; a red gate is said first, never left for the reader to find.
  8. An approved spec authorizes local edits and local commits. git push, deploy and production data changes need an explicit go-ahead for that action.
  9. A state a capture draws is one picture. The author reaches that state and saves <capture>.running.png beside the capture from a browser window at the capture's size - its pixel size over its scale: a wider window lays the page out differently, and resizing the image afterwards hides it. Nobody reopens the app to judge it: a screens sub-agent judges the file (verify-screens.md), and a picture whose text reads smaller than the capture's was resized and is retaken. It matches the capture except for what ## Differences from the source lists. A state no capture draws, and an existing screen the feature does not change, are proven by a test or a walk proof, with no picture and no judge.
  10. A capture, frame or live site that comes with the request binds unless the user called it inspiration. A binding source is changed only by the user. Removing, renaming or departing from something it draws is asked, recorded as a decision in .specs/STATE.md, and listed in the plan's ## Differences from the source with `Confirmed: y - AD-NNN
常见问题

它会制作任务列表吗?

不会。它跳过详细的任务拆分,在构建过程中处理其余细节。

谁来验证工作?

由独立的验证者验证,而不是构建它的那个智能体。

它适用于独立的设计文档吗?

不适用。设计文档由其他技能处理。

详情

作者的原始描述

Spec-driven feature work that freezes obligations instead of the plan: one human-reviewed plan with EARS criteria, path, entities, interface and one-way doors, then proof-backed checks, then build, then an independent Verifier. Use when the user says "tlc-spec-lean", "plan feature", "specify feature", "write the checks", "build this plan", or "verify work". Do NOT use for standalone design documents unattached to a feature, architecture decomposition analysis, or work that already has a task list or checklist to execute.

repo: tech-leads-club/agent-skills

热度

GitHub 星标
7.1k
排名
#13540
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能