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

/goal 目标驱动开发 Skill

2026最火!设定目标→AI自动循环→直到达成。告别中途追问「要不要继续」。

📋 SKILL.md 完整代码

---
name: goal-driven-dev
description: >-
  2026最火!设定目标→AI自动循环→直到达成。告别中途追问「要不要继续」。
  Use when working on goal driven dev tasks.
allowed-tools: Read,Write,Bash
---

# /goal 目标驱动开发 Skill

## Quick Start
1. Save as `~/.claude/skills/goal-driven-dev/SKILL.md`
2. Restart Claude Code
3. Type `/goal-driven-dev` 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/goal-driven-dev/SKILL.md
3. 重启 Claude Code
4. 输入 /goal-driven-dev 或直接描述任务触发
5. AI 自动按 Skill 流程执行

核心机制

在 Claude Code 中输入 /goal + 你的目标,AI 会把目标当作待达成的条件持续工作。实测同一提示词下,使用 /goal 生成功能完整的应用,不用时产物明显不完整。目标模糊时不会节省时间,所以目标要具体、可验证。

使用模板

/goal 实现{XX功能}。验收标准:{3-5条可客观检查的条件}。约束:{不要修改已有逻辑/保持代码风格/添加测试}。AI 会持续工作直到所有验收标准通过,自动修复 bug、调整方案、迭代优化。

适用场景

新功能开发、Bug 修复(指定复现步骤作为验收标准)、代码重构(指定保持不变的行为作为验收标准)、环境配置(指定能跑通的 Demo 作为验收标准)。不适合:模糊需求探索、需要频繁人工判断的创意工作。