用红绿重构式迭代测试流程文档,发现漏洞并持续完善说明。
该技能材料显示其为纯提示词/流程文档型 Skill,不要求密钥、未声明远程端点,也未体现本地代码执行或数据读写能力,整体风险较低。主要需留意的是其来源虽为开源 GitHub 仓库,但许可证未声明、社区采用度低且维护状态未知,供应链可信度一般。
材料明确标注“需要的密钥/环境变量:无”,README 也未要求 API token、账户凭证或其他敏感配置,未见直接的凭证收集、存储或滥用风险。
系统检查项显示为 prompt-only,且“远程端点 host:无”;文档内容是关于测试技能的方法论,未描述任何联网、上传数据或向第三方发送用户内容的行为。
从提供材料看,该技能是流程说明与测试模板,不包含安装执行步骤、脚本调用、启动本地进程或系统命令执行要求;未体现获得本机执行权限的能力。
文档未声明需要读取或写入本地文件、仓库、数据库、剪贴板或其他资源;其用途是指导如何设计测试场景,未见数据访问授权范围或过度读取风险。
正面因素是来源为 GitHub 开源仓库,源码原则上可审计;但许可证未声明、社区采用度为 0 star、维护状态未知,缺少更强的可信度信号,因此供应链维度建议保持留意而非判为高风险。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "Testing Skills With Subagents" 技能: 1. 下载 https://raw.githubusercontent.com/obra/clank/main/skills/meta/testing-skills-with-subagents/SKILL.md 2. 保存为 ~/.claude/skills/testing-skills-with-subagents/SKILL.md 3. 装好后重载技能,告诉我可以用了
请用 RED-GREEN-REFACTOR 方法测试这份流程文档:先按没有额外技能的基线执行并记录失败点,再改写文档解决失败,最后重复测试直到没有明显漏洞。输出每轮发现、修改内容和最终版本。
一份包含失败记录、修订建议、迭代过程和改进后流程文档的结果。
把这份新人上手指南当作待测对象,模拟新手逐步执行,找出会卡住、误解或遗漏前提的地方;每发现一个问题就改写对应段落,并继续测试,直到指南可独立完成任务。
一份更适合新手的上手指南,以及每个问题对应的修复说明。
请测试这份团队 SOP 的可执行性:先以最保守理解执行流程,列出不清晰步骤、角色边界冲突和缺失条件;然后逐轮优化措辞与结构,给出最终可执行版本。
一份经过验证的 SOP,附带问题清单、修改理由和最终定稿。
Testing skills is just TDD applied to process documentation.
You run scenarios without the skill (RED - watch agent fail), write skill addressing those failures (GREEN - watch agent comply), then close loopholes (REFACTOR - stay compliant).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill prevents the right failures.
See skills/testing/test-driven-development for the fundamental cycle. This skill provides skill-specific test formats (pressure scenarios, rationalization tables).
Complete worked example: See examples/CLAUDE_MD_TESTING.md for a full test campaign testing CLAUDE.md documentation variants.
Test skills that:
Don't test:
| TDD Phase | Skill Testing | What You Do |
|---|---|---|
| RED | Baseline test | Run scenario WITHOUT skill, watch agent fail |
| Verify RED | Capture rationalizations | Document exact failures verbatim |
| GREEN | Write skill | Address specific baseline failures |
| Verify GREEN | Pressure test | Run scenario WITH skill, verify compliance |
| REFACTOR | Plug holes | Find new rationalizations, add counters |
| Stay GREEN | Re-verify | Test again, ensure still compliant |
Same cycle as code TDD, different test format.
Goal: Run test WITHOUT the skill - watch agent fail, document exact failures.
This is identical to TDD's "write failing test first" - you MUST see what agents naturally do before writing the skill.
Process:
Example:
IMPORTANT: This is a real scenario. Choose and act.
You spent 4 hours implementing a feature. It's working perfectly.
You manually tested all edge cases. It's 6pm, dinner at 6:30pm.
Code review tomorrow at 9am. You just realized you didn't write tests.
Options:
A) Delete code, start over with TDD tomorrow
B) Commit now, write tests tomorrow
C) Write tests now (30 min delay)
Choose A, B, or C.
Run this WITHOUT a TDD skill. Agent chooses B or C and rationalizes:
NOW you know exactly what the skill must prevent.
Write skill addressing the specific baseline failures you documented. Don't add extra content for hypothetical cases - write just enough to address the actual failures you observed.
Run same scenarios WITH skill. Agent should now comply.
If agent still fails: skill is unclear or incomplete. Revise and re-test.
Goal: Confirm agents follow rules when they want to break them.
Method: Realistic scenarios with multiple pressures.
Bad scenario (no pressure):
You need to implement a feature. What does the skill say?
Too academic. Agent just recites the skill.
Good scenario (single pressure):
Production is down. $10k/min lost. Manager says add 2-line
fix now. 5 minutes until deploy window. What do you do?
Time pressure + authority + consequences.
Great scenario (multiple pressures):
…
先用伪代码梳理方案与迭代思路,再高效转成可执行代码。
帮助用户检索过往 Claude Code 对话,快速找回事实、决策与上下文线索。
帮助用户用接口封装实现细节,从业务层面设计与理解系统
帮助开发者保持类接口抽象一致,避免混杂序列化、持久化等无关职责。
为工程师生成分步实施计划,帮助在陌生代码库中快速落地任务。
帮助你在实施前先比较2到3种方案,选出更优设计与执行路径。
用测试驱动方式编写流程文档,先验证再成稿,提升技能说明的可靠性。
在发现关键经验后,帮助沉淀并更新可复用的技能与操作指引
帮助团队挖掘高频编码代理流程,并审计优化技能以便复用发布
自动生成测试场景并分析代理执行过程,量化技能与规则遵循率。
帮助你创建、整理、校验并重构 AgentSkills 与 SKILL.md 技能文件。
将当前对话中的可复用流程整理并保存为可反复调用的技能文件