Agent skill

TDD Dev Cycle

by cafe3310 in cafe3310/public-agent-skills

测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制. An agent skill from cafe3310/public-agent-skills.

Apache-2.0Auto-check passedTesting & QA

Install TDD Dev Cycle

skills CLI
$ npx skills add cafe3310/public-agent-skills --skill tdd-dev-cycle -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cafe3310/public-agent-skills tdd-dev-cycle --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cafe3310/public-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_archived/tdd-dev-cycle .claude/skills/tdd-dev-cycle && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tdd-dev-cycle
GitHub stars
255
Token cost
~304 tokens
SKILL.md length
119 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制. An agent skill from cafe3310/public-agent-skills.

  • Works in 5 steps: 智能调度 → 规划与澄清 (TDD) → 开发 → …
  • Tasks that involve Test-driven development
  • SKILL.md covers 适用场景 and 流程详情
  • Calls git

What it does

TDD Dev Cycle is an agent skill from cafe3310/public-agent-skills. 测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制。

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development. The repository describes itself as: personal agent skills for better QoL. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Test-driven development

Example prompts

  • “/tdd-dev-cycle”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 智能调度
  2. 规划与澄清 (TDD)
  3. 开发
  4. 开发完成 -> COMMIT
  5. 验证与带熔断的修复循环

What it can do on your machine

Read from SKILL.md and the folder at commit 6c45501. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

TDD Dev Cycle loads about 304 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 119 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~304

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cafe3310/public-agent-skills at commit 6c45501, republished under its Apache-2.0 licence (© cafe3310). 119 words, ~304 tokens.

Download SKILL.mdSave it as .claude/skills/tdd-dev-cycle/SKILL.md (or your agent's skills folder).
name
tdd-dev-cycle
description
测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制。
author
github/cafe3310
license
Apache-2.0

TDD (测试驱动开发) 主干工作循环

本 Skill 定义了标准的 TDD 开发与验证循环。

适用场景

如果项目章程没有定义具体的工作流,助手默认遵循以下 TDD 主干工作循环。

流程详情

  1. 智能调度

    • 优先处理 backlog 中 priority: high 的任务。
    • 在选定了任务后,将其从 docs/backlog/ 移动到 docs/requirements/ 并更新状态为 开发中,然后开始分析。
  2. 规划与澄清 (TDD)

    • a. 分析需求: 如果模糊则提问,并更新需求文档。
    • b. 解决冲突: 如果需求和项目级别章程冲突,则提问澄清如何处理。一般来说要更新章程中的设计。
    • c. 定义验收标准: 优先编写自动化测试用例。
    • d. COMMIT 1: git commit -m "完成需求 {文件名} 的分析与测试用例,即将开发"
  3. 开发

    • 根据测试用例进行编码实现。
  4. 开发完成 -> COMMIT

    • COMMIT 2: git commit -m "完成需求 {文件名} 的开发,即将验证"
  5. 验证与带熔断的修复循环

    • a. 运行自动化测试。
    • b. 成功:
      • COMMIT 5: git commit -m "需求 {文件名} 的开发和验证已经全部完成!"
      • 报告完成并循环。
    • c. 失败 (第 N 次):
      • COMMIT 3: git commit -m "验证需求 {文件名} 时遇到问题 {问题描述} (第 N 次尝试),即将修复"
      • 熔断检查: 若 N > 3 次,则触发熔断,停止,并向用户求助。
      • 修复: 分析日志,定位原因,编写修复代码。
      • COMMIT 4: git commit -m "验证需求 {文件名} ,成功解决了问题 {问题描述} (第 N 次尝试)"
      • 返回步骤 5a 重新验证。

循环直至所有 backlog 任务完成、用户打断、指令变更或达到熔断条件。

© cafe3310, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills_archived/tdd-dev-cycle of cafe3310/public-agent-skills.

Open the folder on GitHubat commit 6c45501

Compare with similar skills

TDD Dev Cycle next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

TDD Dev Cycle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
TDD Dev Cycle this skillcafe3310/public-agent-skills255—~304Automated safety check: PassApache-2.0
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT
Test Driven Developmentfarm-fe/farm5.6k51 repos~2.5kAutomated safety check: PassMIT
Tapd Story PipelineTencentBlueKing/bk-bcs840—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • A skill your agent uses when implementing any feature or bugfix, before writing implementation code

    5.6k GitHub starsUsed in 51 repos~2.5k tokens
    Testing & QAAuto-check passed
  • Tapd Story Pipeline

    TencentBlueKing/bk-bcs

    单需求实现流水线——把一个 TAPD 需求从零推进到代码提交。自动串联技术澄清、 开发计划、任务拆分、TDD 实现、架构/安全校验、代码提交六个阶段。

    840 GitHub stars~2.6k tokensUpdated today
    Testing & QAAuto-check passed
  • Absolute Init

    maddhruv/absolute

    One-time setup for absolute: interview how you want it to behave (output style, autonomy, TDD strictness, spec dir, families) + detect the stack once, then write .absolute.config.json (project…

    218 GitHub starsUsed in 1 repo~3k tokens
    Testing & QAAuto-check passed

More from cafe3310/public-agent-skills

All 29 skills in this repo
  • Impeccable

    cafe3310/public-agent-skills

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    255 GitHub stars~4.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Text Watermark Fountain

    cafe3310/public-agent-skills

    A specialized skill for embedding and extracting resilient watermarks in text by manipulating sentence lengths and using Fountain Codes.

    255 GitHub stars~921 tokensUpdated 3 mo ago
    Auto-check passed
  • Obsidian Todo Collector

    cafe3310/public-agent-skills

    从 Obsidian 知识库中扫描指定时间范围内未完成事件,生成/更新未完成事件整理文档. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~575 tokensUpdated 3 mo ago
    Auto-check passed
  • Deep Research

    cafe3310/public-agent-skills

    一个全面、自主的深度研究框架。当用户请求对复杂主题、市场调研、技术格局进行深入的多维度调查,或需要大量网页浏览、数据合成和结构化报告的任何任务时,使用此技能。它协调子代理(subagents)并使用基于文件系统的状态管理来防止上下文膨胀。

    255 GitHub stars~996 tokensUpdated 3 mo ago
    Auto-check passed
  • Long Audio To Obsidian

    cafe3310/public-agent-skills

    将语音转写项目输出的复杂文件结构整理合并为适合 Obsidian 归档的 Markdown 文档. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~772 tokensUpdated 3 mo ago
    Auto-check passed
  • Markdown New

    cafe3310/public-agent-skills

    通过 markdown.new API 将网页、整站或搜索结果转换为干净的 Markdown. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~344 tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about TDD Dev Cycle

What does TDD Dev Cycle do?

测试驱动开发 (TDD) 主干工作循环,包含分析、测试编写、开发、验证及带熔断的修复机制. An agent skill from cafe3310/public-agent-skills. TDD Dev Cycle is an agent skill from cafe3310/public-agent-skills.

When should I use TDD Dev Cycle?

TDD Dev Cycle fits situations like: tasks that involve Test-driven development.

How do I install TDD Dev Cycle in Claude Code?

Run `npx skills add cafe3310/public-agent-skills --skill tdd-dev-cycle -a claude-code`. Or copy the skill folder (skills_archived/tdd-dev-cycle in cafe3310/public-agent-skills) into .claude/skills/tdd-dev-cycle in your project. Claude Code loads it when a task matches its description.

How do I install TDD Dev Cycle in Codex?

Run `npx skills add cafe3310/public-agent-skills --skill tdd-dev-cycle -a codex`. Or copy the skill folder (skills_archived/tdd-dev-cycle in cafe3310/public-agent-skills) into .agents/skills/tdd-dev-cycle in your project. Codex loads it when a task matches its description.

Can I use TDD Dev Cycle in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cafe3310/public-agent-skills --skill tdd-dev-cycle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tdd-dev-cycle, .gemini/skills/tdd-dev-cycle, .github/skills/tdd-dev-cycle and .opencode/skills/tdd-dev-cycle in your project.

What does TDD Dev Cycle need to run?

Going by SKILL.md and its folder, TDD Dev Cycle needs the command-line tools its instructions call (git).

Does TDD Dev Cycle access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is TDD Dev Cycle safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does TDD Dev Cycle use?

TDD Dev Cycle is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does TDD Dev Cycle use?

About 304 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to TDD Dev Cycle?

Skills that share tags, products or a category with TDD Dev Cycle: TDD (pietheinstrengholt/rssmonster, 564 stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), TDD (sanity-io/sanity, 6.4k stars) and Test Driven Development (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains TDD Dev Cycle?

cafe3310 (a GitHub user) maintains it in cafe3310/public-agent-skills, which has 255 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on June 26, 2026.

Source: cafe3310/public-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.