AINow
📢 赞助位招租 · 月访问 XXXX · 联系 weixin_xxx
了解详情
返回 Skill 列表
GitHub热门

Superpowers:TDD 开发框架(233K Star)

GitHub 社区排名第一的 Codex 技能。强制 AI 走测试驱动开发+代码审查双轨流程。先写测试再写代码。

📋 SKILL.md 完整代码

---
name: superpowers-skill
description: >-
  GitHub 社区排名第一的 Codex 技能。强制 AI 走测试驱动开发+代码审查双轨流程。先写测试再写代码。
  Use when working on superpowers skill tasks.
allowed-tools: Read,Write,Bash
---

# Superpowers:TDD 开发框架(233K Star)

## Quick Start
1. Save as `~/.claude/skills/superpowers-skill/SKILL.md`
2. Restart Claude Code
3. Type `/superpowers-skill` or describe your task naturally
4. Claude auto-triggers when your task matches the description

## Instructions
- Understand the user's specific context and needs
- Apply domain best practices consistently
- Provide actionable, specific guidance with examples
- Verify all outputs before presenting to user

## Gotchas
- Test with a fresh Claude instance after changes
- Keep SKILL.md under 500 lines; use references/ for details
- Description is the trigger key — make it specific and keyword-rich

🚀 怎么用

1. 复制上面的 SKILL.md 代码
2. 保存为 ~/.claude/skills/superpowers-skill/SKILL.md
3. 重启 Claude Code
4. 输入 /superpowers-skill 或直接描述任务触发
5. AI 自动按 Skill 流程执行

为什么排第一

233K Star,社区公认的现象级技能。强制 AI 不走捷径:写测试→写代码→审查→通过。装了之后 AI 不会直接甩代码,而是先问「要不要先写测试?」

SKILL.md 模板

name: superpowers description: TDD workflow with automated code review. Use when writing code, creating features, or fixing bugs. # Superpowers TDD Workflow ## Steps 1. Write failing test first 2. Implement minimum code to pass 3. Run tests — all must pass 4. Code review for security/perf/maintainability 5. Refactor if needed, tests still pass