角色定义对抗性压力测试
haiku-pressure-testing
运用评估驱动开发(Evaluation-Driven Development),通过对抗性挑战提示来检验角色(hat)定义。
- License 许可
- Apache-2.0
- 最近更新
- 2026-05-30
- Stars
- ★ 29
- Forks
- 11
01 前言 Front Matter
- name
- haiku-pressure-testing
- description
- Adversarial challenge prompt for hat definitions using Evaluation-Driven Development
03 SKILL.md 正文
Pressure Testing
Adversarially test hat definitions using Evaluation-Driven Development (RED-GREEN-REFACTOR).
Process
-
If no hat specified, list available hats from
$CLAUDE_PLUGIN_ROOT/studios/software/stages/*/hats/and ask the user to pick one. -
Load the hat definition file.
-
Design Pressure Scenario:
- Combine 3+ pressure types (time, sunk cost, authority, economic, exhaustion, social, pragmatic)
- Target the hat's most important constraints
- Present scenario to user for approval
-
RED Phase (baseline without anti-rationalization table):
- Run scenario with a subagent that has hat instructions minus anti-rationalization table
- Document verbatim: decisions made, rationalizations used, sections violated
-
GREEN Phase (full hat definition):
- Run same scenario with full hat definition
- Agent MUST cite specific hat sections, acknowledge temptations
- PASS if correct decision citing hat sections; FAIL if rationalized past them
-
REFACTOR Phase:
- If GREEN failed: capture rationalization, add to anti-rationalization table, re-run
- If GREEN passed: document that hat held under pressure
-
Commit artifacts to
.haiku/pressure-tests/
04 同仓库更多 Skills
H·AI·K·U 单任务执行
haiku-zap
零仪式单单元执行——无需意图或工作流脚手架,直接让单个任务跑完某个阶段的 hat 循环
H·AI·K·U 版本查询
haiku-version
显示当前运行的 H·AI·K·U MCP 二进制版本、插件版本,以及引擎是开发源码构建版还是编译打包版
H·AI·K·U 意图取消归档
haiku-unarchive
取消归档意图——将此前已归档的意图恢复到默认列表中
H·AI·K·U 事件轮询触发
haiku-triggers
轮询已配置的提供者,查找应创建意图或推进门禁的事件
H·AI·K·U 工作室目录浏览
haiku-studios
按类别分组浏览可用的 H·AI·K·U 工作室,并提供指向各工作室定义的帮助链接
Claude Code 状态栏管理
haiku-statusline
安装、移除或预览 H·AI·K·U 自定义的 Claude Code 状态栏——这是一个针对当前活跃意图的单行阶段/流程指示器