跳到正文
cccskills
免费在 GitHub 公开

charted-green

Progressively activates todo tests one at a time, updates implementation code until each passes (verified via Wallaby), checks off matching design doc progress, then moves to the next—following the design doc as the single source of truth.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Context

  • designDocPath: $ARGUMENTS[0]
  • testFilePath: $ARGUMENTS[1]

Goal

Using the design doc at ${designDocPath} as the single source of truth, progressively activate the tests in ${testFilePath}.

Steps

  1. Categorize each test in ${testFilePath} as:
  • Implemented tests: tests that contain actual test code (not just empty or comments)
  • Empty tests: tests that are empty or only contain comments - TOTALLY IGNORE THESE
  1. For each implemented test, convert it.todo(...) into it(...), but do it strictly one test at a time, then update the implementation just enough for that specific test to turn green — NOTHING MORE.

DO NOT IMPLEMENT ANYTHING THAT IS NOT DIRECTLY RELATED TO THE CURRENT TEST.

  1. After the current test passes, update progress in ${designDocPath} (see Design Doc Progress below).

  2. STOP when these tests are green.

  3. Remove the wiprecation (@deprecated 🚧 work in progress) jsdoc from the implementated item if it is done and safe to use.

Design Doc Progress

After each test turns green, update ${designDocPath} to reflect completed work.

Flip 🚧 to ✅ and - [ ] to - [x]. Do not edit any other text, headings, diagrams, or structure in the design doc.

Check off items in these sections only:

  1. PR's Testing Strategy — the ### 🚧 {test_title} heading that matches the test you just activated.
  2. PR's Tasks — every - [ ] ...taslk description... item whose work is now done and verified by the passing test.
  3. PR Plan — the ## 🚧 {pr_title} entry when all PR's Tasks and Testing Strategy items are checked off.

If you are unsure whether an Implementation Details item is done, leave it unchecked.

Rules

DO NOT IMPLEMENT EMPTY TESTS.

NEVER implement tests.

ONLY EDIT TESTS as a last resort after you have tried everything else.

Design doc edits are only checkbox-based or 🚧 to ✅ replacements. Never reword, reorder, add, or remove content in ${designDocPath}.

Run tests after each change. Only once the current test passes should you advance to the next one.

Use the Wallaby Skill if available to run tests, otherwise run tests using the recommended approach for the project.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Continues Charted Coding work for a PR by routing to scaffold, red, or green based on design doc progress. Use when resuming work on a PR, continuing TDD after a break, or when the user invokes charted continue with a design doc and PR number.

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

Interviews the user section by section to collaboratively produce design documents. Use when creating a design doc, starting feature design, or when the user invokes the design command.

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

Runs Charted Coding iterations in a loop — route via charted-continue, batch red or green work for an entire test file, commit, then repeat until the PR is complete. Infers design doc and PR number when omitted. Use when the user invokes charted loop, wants batch TDD for a PR test file, or asks to continue charted work with commits.

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

Writes the next failing test based on provided design doc and existing todo tests

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

Reviews a design doc with expert sub-agents

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

Writes work-in-progress code and tests based on design doc

中文简介正在准备中。当前显示原文说明。

testmex/testmex42026年7月23日 更新

查看 testmex 的全部技能

报告此技能的问题