File contents Role Audition Design
概述
角色海选设计技能专注于创建标准化测试集,用于评估(角色, 演员)组合的适配度。这是RAMS框架评估体系的核心组成部分。
核心概念
角色海选 (Role Audition)
使用标准测试集评估(角色, 演员)组合的表现,生成适配度矩阵。支持变体评估。
测试集设计原则
覆盖性 :测试用例应覆盖角色的核心能力和边界情况
可重复性 :测试结果应该稳定可重复
可量化 :每个测试用例应该有明确的评分标准
效率 :测试集应该在合理时间内完成
设计流程
1. 分析角色能力
识别角色的核心技能
确定角色的能力边界
识别关键任务场景
2. 设计测试用例
为每个核心技能设计测试用例
设计边界情况测试
设计异常情况测试
3. 定义评分标准
为每个测试用例定义评分标准
设定权重(不同测试用例的重要性)
定义通过/失败阈值
4. 验证测试集
运行测试集,验证其有效性
调整测试用例和评分标准
确保测试集的稳定性和可靠性
测试集结构
role_audition:
role_name: "client_unity"
test_cases:
- name: "实现2D角色移动"
skill: "unity_2d_movement"
weight: 0.3
input: "实现一个2D角色移动系统,支持WASD控制"
output_schema:
type: "object"
properties:
code: {type: "string"}
explanation: {type: "string"}
scoring:
functionality: 0.4
code_quality: 0.3
documentation: 0.3
- name: "设计经济数值"
skill: "game_balance"
weight: 0.2
# ...
适配度计算
适配度 = Σ(测试用例得分 × 权重)
最佳实践
测试集应该定期更新,反映角色定义的进化
测试用例应该独立,不依赖执行顺序
评分标准应该透明可解释
测试集应该支持变体评估(不同场景的变体)
常见错误
测试集覆盖不足,遗漏关键能力
评分标准模糊,导致主观判断
测试用例相互依赖,影响可重复性
测试集过于复杂,执行时间过长
1 --- 2 name: role-audition-design 3 description: Role Audition Design 4 --- 5 # Role Audition Design 6 7 ## 概述 8 角色海选设计技能专注于创建标准化测试集,用于评估(角色, 演员)组合的适配度。这是RAMS框架评估体系的核心组成部分。 9 10 ## 核心概念 11 12 ### 角色海选 (Role Audition) 13 使用标准测试集评估(角色, 演员)组合的表现,生成适配度矩阵。支持变体评估。 14 15 ### 测试集设计原则 16 - **覆盖性**:测试用例应覆盖角色的核心能力和边界情况 17 - **可重复性**:测试结果应该稳定可重复 18 - **可量化**:每个测试用例应该有明确的评分标准 19 - **效率**:测试集应该在合理时间内完成 20 21 ## 设计流程 22 23 ### 1. 分析角色能力 24 - 识别角色的核心技能 25 - 确定角色的能力边界 26 - 识别关键任务场景 27 28 ### 2. 设计测试用例 29 - 为每个核心技能设计测试用例 30 - 设计边界情况测试 31 - 设计异常情况测试 32 33 ### 3. 定义评分标准 34 - 为每个测试用例定义评分标准 35 - 设定权重(不同测试用例的重要性) 36 - 定义通过/失败阈值 37 38 ### 4. 验证测试集 39 - 运行测试集,验证其有效性 40 - 调整测试用例和评分标准 41 - 确保测试集的稳定性和可靠性 42 43 ## 测试集结构 44 45 ```yaml 46 role_audition: 47 role_name: "client_unity" 48 test_cases: 49 - name: "实现2D角色移动" 50 skill: "unity_2d_movement" 51 weight: 0.3 52 input: "实现一个2D角色移动系统,支持WASD控制" 53 output_schema: 54 type: "object" 55 properties: 56 code: {type: "string"} 57 explanation: {type: "string"} 58 scoring: 59 functionality: 0.4 60 code_quality: 0.3 61 documentation: 0.3 62 - name: "设计经济数值" 63 skill: "game_balance" 64 weight: 0.2 65 # ... 66 ``` 67 68 ## 适配度计算 69 70 适配度 = Σ(测试用例得分 × 权重) 71 72 ## 最佳实践 73 74 - 测试集应该定期更新,反映角色定义的进化 75 - 测试用例应该独立,不依赖执行顺序 76 - 评分标准应该透明可解释 77 - 测试集应该支持变体评估(不同场景的变体) 78 79 ## 常见错误 80 81 - 测试集覆盖不足,遗漏关键能力 82 - 评分标准模糊,导致主观判断 83 - 测试用例相互依赖,影响可重复性 84 - 测试集过于复杂,执行时间过长
wanghaisheng/openaiworkhorse-design-team/tree/main/.claude/skills/designer-role/skills/role-audition-design commit 5cba7f6bcd
Frequently asked questions How do I install the Role Audition Design skill? Run npx skillmds@latest add wanghaisheng/role-audition-design in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Role Audition Design skill do? Role Audition Design It is listed under Coding & Dev Tools on SkillMD.
Is Role Audition Design safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Role Audition Design? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Role Audition Design free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Role Audition Design? wanghaisheng (@wanghaisheng) published this skill. Their other Agent Skills are listed on their SkillMD profile.