testbuddy-skill
文本测试用例生成技能包。任何有关于文本测试用例生成、文本测试用例框架生成、脑图用例生成、召回、需求分析等文本测试用例生成的相关问题,都可以使用此技能。
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- testbuddy-skill
- description
- 文本测试用例生成技能包。任何有关于文本测试用例生成、文本测试用例框架生成、脑图用例生成、召回、需求分析等文本测试用例生成的相关问题,都可以使用此技能。
03 SKILL.md 正文
Design Agent Skill 测试设计技能包
核心定位
本 skill 是一个轻量级的意图识别和工作流调度器,负责:
- 识别用户意图
- 加载必要的会话参数
- 调用对应的工作流
工作流负责:
- 自己的执行清单规划
- 具体的执行逻辑
- 任务状态管理
执行流程
步骤 1:识别用户意图
根据用户请求的关键词,识别用户想要执行的操作:
| 用户意图 | 触发关键词 | 意图关键词 |
|---|---|---|
| 生成测试框架 | 生成测试框架、生成框架、创建测试框架 |
框架生成 |
| 生成测试模块 | 生成测试模块、生成功能模块、识别测试模块 |
模块生成 |
| 生成测试场景 | 生成测试场景、生成场景、创建测试场景 |
场景生成 |
| 生成测试点 | 生成测试点、创建测试点、根据模块生成测试点 |
测试点生成 |
| 生成测试用例 | 生成测试用例、生成用例、根据测试点生成用例 |
用例生成 |
步骤 2:加载会话参数
使用 tools/load_session.md 工具读取上下文信息。
步骤 3:选择并调用工作流
-
使用 select_workflow 工具:
- 调用
tools/select_workflow.md工具 - 传入步骤 1 识别的意图关键词(如"用例生成"、"框架生成")
- 调用
-
调用工作流:
- 根据
select_workflow返回的路径类型选择读取方式:- 如果路径以
.codebuddy/rules/开头(自定义工作流):使用read_rules读取 - 如果路径以
workflows/开头(默认工作流):使用read_file读取
- 如果路径以
- 交由工作流执行具体逻辑
- 禁止不执行select_workflow流程直接读取文件/工作流
- 根据
工作流能力矩阵(供参考)
| 生成目标 | 触发关键词 | 输入节点类型 | 输出节点类型 |
|---|---|---|---|
| 测试框架 | framework/框架 |
STORY/BUG | FEATURE/SCENE/TEST_POINT |
| 测试模块 | feature/模块 |
STORY/BUG | FEATURE |
| 测试场景 | scene/场景 |
FEATURE/STORY/BUG | SCENE |
| 测试点 | tpoint/testpoint/测试点 |
FEATURE/SCENE/STORY/BUG | TEST_POINT |
| 测试用例 | case/用例 |
STORY/BUG/FEATURE/TEST_POINT/SCENE | CASE |
工具能力矩阵(供参考)
| 工具 | 功能 | 文档路径 |
|---|---|---|
| select_workflow | 智能选择工作流 | tools/select_workflow.md |
| select_rule | 智能选择规则 | tools/select_rule.md |
| load_session | 加载会话参数 | tools/load_session.md |
| add_nodes | 添加节点到脑图 | tools/add_nodes.md |
| update_nodes | 修改脑图节点 | tools/update_nodes.md |
| delete_nodes | 删除脑图节点 | tools/delete_nodes.md |
| search_nodes | 查询脑图节点 | tools/search_nodes.md |
| rag_search | 知识库检索 | tools/rag_search.md |
04 同仓库更多 Skills
vercel-sandbox
Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.
slack
Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.
electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
dogfood
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.