Loading...
Loading...
Compare original and translation side by side
Activation: This skill is triggered only when explicitly called by name (e.g.,,/qa-test-planner, orqa-test-planner).use the skill qa-test-planner
激活方式: 仅当通过名称显式调用时触发此工具(例如:、/qa-test-planner或qa-test-planner)。use the skill qa-test-planner
"Create a test plan for the user authentication feature""Generate manual test cases for the checkout flow""Build a regression test suite for the payment module""Compare the login page against the Figma design at [URL]""Create a bug report for the form validation issue""为用户认证功能创建测试计划""为结账流程生成手动测试用例""为支付模块构建回归测试套件""将登录页与[URL]处的Figma设计进行对比""为表单验证问题创建缺陷报告"| Task | What You Get | Time |
|---|---|---|
| Test Plan | Strategy, scope, schedule, risks | 10-15 min |
| Test Cases | Step-by-step instructions, expected results | 5-10 min each |
| Regression Suite | Smoke tests, critical paths, execution order | 15-20 min |
| Figma Validation | Design-implementation comparison, discrepancy list | 10-15 min |
| Bug Report | Reproducible steps, environment, evidence | 5 min |
| 任务 | 输出内容 | 耗时 |
|---|---|---|
| 测试计划 | 策略、范围、进度安排、风险 | 10-15分钟 |
| 测试用例 | 分步操作说明、预期结果 | 每个5-10分钟 |
| 回归测试套件 | 冒烟测试、关键路径、执行顺序 | 15-20分钟 |
| Figma验证 | 设计与实现对比、差异列表 | 10-15分钟 |
| 缺陷报告 | 可复现步骤、环境信息、证据 | 5分钟 |
Your Request
│
▼
┌─────────────────────────────────────────────────────┐
│ 1. ANALYZE │
│ • Parse feature/requirement │
│ • Identify test types needed │
│ • Determine scope and priorities │
├─────────────────────────────────────────────────────┤
│ 2. GENERATE │
│ • Create structured deliverables │
│ • Apply templates and best practices │
│ • Include edge cases and variations │
├─────────────────────────────────────────────────────┤
│ 3. VALIDATE │
│ • Check completeness │
│ • Verify traceability │
│ • Ensure actionable steps │
└─────────────────────────────────────────────────────┘
│
▼
QA Deliverable Ready用户请求
│
▼
┌─────────────────────────────────────────────────────┐
│ 1. 分析 │
│ • 解析功能/需求 │
│ • 确定所需测试类型 │
│ • 明确范围与优先级 │
├─────────────────────────────────────────────────────┤
│ 2. 生成 │
│ • 创建结构化交付产物 │
│ • 应用模板与最佳实践 │
│ • 包含边缘情况与变体 │
├─────────────────────────────────────────────────────┤
│ 3. 验证 │
│ • 检查完整性 │
│ • 验证可追溯性 │
│ • 确保步骤可执行 │
└─────────────────────────────────────────────────────┘
│
▼
QA交付产物已就绪| Script | Purpose | Usage |
|---|---|---|
| Create test cases interactively | Step-by-step prompts |
| Generate bug reports | Guided input collection |
| 脚本 | 用途 | 使用方式 |
|---|---|---|
| 交互式创建测试用例 | 分步提示引导 |
| 生成缺陷报告 | 引导式信息收集 |
| Request | Output |
|---|---|
| "Create test plan for {feature}" | Complete test plan document |
| "Generate {N} test cases for {feature}" | Numbered test cases with steps |
| "Build smoke test suite" | Critical path tests |
| "Compare with Figma at {URL}" | Visual validation checklist |
| "Document bug: {description}" | Structured bug report |
| 请求 | 输出 |
|---|---|
| "为{功能}创建测试计划" | 完整的测试计划文档 |
| "为{功能}生成{N}个测试用例" | 带步骤的编号测试用例 |
| "构建冒烟测试套件" | 关键路径测试用例 |
| "与{URL}处的Figma设计进行对比" | 视觉验证检查清单 |
| "记录缺陷:{描述}" | 结构化缺陷报告 |
| Avoid | Why | Instead |
|---|---|---|
| Vague test steps | Can't reproduce | Specific actions + expected results |
| Missing preconditions | Tests fail unexpectedly | Document all setup requirements |
| No test data | Tester blocked | Provide sample data or generation |
| Generic bug titles | Hard to track | Specific: "[Feature] issue when [action]" |
| Skip edge cases | Miss critical bugs | Include boundary values, nulls |
| 需避免的做法 | 原因 | 正确做法 |
|---|---|---|
| 模糊的测试步骤 | 无法复现 | 具体操作 + 预期结果 |
| 缺失前置条件 | 测试意外失败 | 记录所有准备要求 |
| 无测试数据 | 测试人员被阻塞 | 提供示例数据或生成方式 |
| 通用缺陷标题 | 难以追踪 | 具体化:"[功能]执行[操作]时出现问题" |
| 忽略边缘情况 | 遗漏关键缺陷 | 包含边界值、空值等情况 |
undefinedundefinedundefinedundefined| Type | Focus | Example |
|---|---|---|
| Functional | Business logic | Login with valid credentials |
| UI/Visual | Appearance, layout | Button matches Figma design |
| Integration | Component interaction | API returns data to frontend |
| Regression | Existing functionality | Previous features still work |
| Performance | Speed, load handling | Page loads under 3 seconds |
| Security | Vulnerabilities | SQL injection prevented |
| 类型 | 关注点 | 示例 |
|---|---|---|
| Functional | 业务逻辑 | 使用有效凭据登录 |
| UI/Visual | 外观、布局 | 按钮与Figma设计匹配 |
| Integration | 组件交互 | API向前端返回数据 |
| Regression | 现有功能 | 之前的功能仍正常工作 |
| Performance | 速度、负载处理 | 页面加载时间低于3秒 |
| Security | 漏洞防护 | 防止SQL注入 |
undefinedundefined| Risk | Probability | Impact | Mitigation |
|---|---|---|---|
| [Risk 1] | H/M/L | H/M/L | [Mitigation] |
| 风险 | 概率 | 影响 | 缓解措施 |
|---|---|---|---|
| [风险1] | H/M/L | H/M/L | [缓解措施] |
</details>
<details>
<summary><strong>Deep Dive: Bug Reporting</strong></summary>
</details>
<details>
<summary><strong>深入解析:缺陷报告</strong></summary>undefinedundefinedundefinedundefined| Level | Criteria | Examples |
|---|---|---|
| Critical (P0) | System crash, data loss, security | Payment fails, login broken |
| High (P1) | Major feature broken, no workaround | Search not working |
| Medium (P2) | Feature partial, workaround exists | Filter missing one option |
| Low (P3) | Cosmetic, rare edge cases | Typo, minor alignment |
| 级别 | 判定标准 | 示例 |
|---|---|---|
| Critical (P0) | 系统崩溃、数据丢失、安全问题 | 支付失败、登录功能损坏 |
| High (P1) | 主要功能损坏,无临时解决方法 | 搜索功能无法使用 |
| Medium (P2) | 功能部分可用,有临时解决方法 | 筛选功能缺少一个选项 |
| Low (P3) | cosmetic问题、罕见边缘情况 | 拼写错误、轻微对齐问题 |
"Get the button specifications from Figma file [URL]"
Response includes:
- Dimensions (width, height)
- Colors (background, text, border)
- Typography (font, size, weight)
- Spacing (padding, margin)
- Border radius
- States (default, hover, active, disabled)TC: Primary Button Visual Validation
1. Inspect primary button in browser dev tools
2. Compare against Figma specs:
- Dimensions: 120x40px
- Border-radius: 8px
- Background color: #0066FF
- Font: 16px Medium #FFFFFF
3. Document discrepanciesBUG: Primary button color doesn't match design
Severity: Medium
Expected (Figma): #0066FF
Actual (Implementation): #0052CC
Screenshot: [attached]
Figma link: [specific component]"从[链接]的Figma文件中获取按钮规范"
返回内容包括:
- 尺寸(宽、高)
- 颜色(背景色、文字色、边框色)
- 排版(字体、大小、字重)
- 间距(内边距、外边距)
- 边框圆角
- 状态(默认、悬停、激活、禁用)测试用例:主按钮视觉验证
1. 在浏览器开发者工具中检查主按钮
2. 与Figma规范对比:
- 尺寸:120x40px
- 边框圆角:8px
- 背景色:#0066FF
- 字体:16px Medium #FFFFFF
3. 记录差异缺陷:主按钮颜色与设计不符
严重程度:Medium
预期(Figma):#0066FF
实际(实现):#0052CC
截图:[已附加]
Figma链接:[具体组件]| Element | What to Check | Tool |
|---|---|---|
| Colors | Hex values exact | Browser color picker |
| Spacing | Padding/margin px | DevTools computed styles |
| Typography | Font, size, weight | DevTools font panel |
| Layout | Width, height, position | DevTools box model |
| States | Hover, active, focus | Manual interaction |
| Responsive | Breakpoint behavior | DevTools device mode |
| 元素 | 检查要点 | 工具 |
|---|---|---|
| Colors | Hex值完全匹配 | 浏览器取色器 |
| Spacing | 内边距/外边距像素值 | 开发者工具计算样式 |
| Typography | 字体、大小、字重 | 开发者工具字体面板 |
| Layout | 宽、高、位置 | 开发者工具盒模型 |
| States | 悬停、激活、聚焦状态 | 手动交互 |
| Responsive | 断点行为 | 开发者工具设备模式 |
"Get button specifications from Figma design [URL]"
"Compare navigation menu implementation against Figma design"
"Extract spacing values for dashboard layout from Figma"
"List all color tokens used in Figma design system""从[链接]的Figma设计中获取按钮规范"
"对比导航菜单实现效果与Figma设计"
"从Figma中提取仪表板布局的间距值"
"列出Figma设计系统中使用的所有颜色标记"| Suite Type | Duration | Frequency | Coverage |
|---|---|---|---|
| Smoke | 15-30 min | Daily | Critical paths only |
| Targeted | 30-60 min | Per change | Affected areas |
| Full | 2-4 hours | Weekly/Release | Comprehensive |
| Sanity | 10-15 min | After hotfix | Quick validation |
| 套件类型 | 耗时 | 执行频率 | 覆盖范围 |
|---|---|---|---|
| Smoke | 15-30分钟 | 每日 | 仅关键路径 |
| Targeted | 30-60分钟 | 每次变更后 | 受影响区域 |
| Full | 2-4小时 | 每周/版本发布前 | 全面覆盖 |
| Sanity | 10-15分钟 | 热修复后 | 快速验证 |
| Priority | Description | Must Run |
|---|---|---|
| P0 | Business-critical, security | Always |
| P1 | Major features, common flows | Weekly+ |
| P2 | Minor features, edge cases | Releases |
| 优先级 | 描述 | 必须执行 |
|---|---|---|
| P0 | 业务关键、安全相关 | 始终执行 |
| P1 | 主要功能、常见流程 | 每周及以上 |
| P2 | 次要功能、边缘情况 | 版本发布时 |
undefinedundefined| Priority | Total | Pass | Fail | Blocked |
|---|---|---|---|---|
| P0 (Critical) | 25 | 23 | 2 | 0 |
| P1 (High) | 50 | 45 | 3 | 2 |
| P2 (Medium) | 50 | 45 | 3 | 2 |
| P3 (Low) | 25 | 17 | 2 | 1 |
| 优先级 | 总数 | 通过 | 失败 | 阻塞 |
|---|---|---|---|---|
| P0 (Critical) | 25 | 23 | 2 | 0 |
| P1 (High) | 50 | 45 | 3 | 2 |
| P2 (Medium) | 50 | 45 | 3 | 2 |
| P3 (Low) | 25 | 17 | 2 | 1 |
undefinedundefinedundefinedundefined| Feature | Requirements | Test Cases | Status | Gaps |
|---|---|---|---|---|
| Login | 8 | 12 | Complete | None |
| Checkout | 15 | 10 | Partial | Payment errors |
| Dashboard | 12 | 15 | Complete | None |
</details>
<details>
<summary><strong>QA Process Workflow</strong></summary>| 功能 | 需求数 | 测试用例数 | 状态 | 缺口 |
|---|---|---|---|---|
| Login | 8 | 12 | 已完成 | 无 |
| Checkout | 15 | 10 | 部分完成 | 支付错误相关 |
| Dashboard | 12 | 15 | 已完成 | 无 |
</details>
<details>
<summary><strong>QA流程工作流</strong></summary>undefinedundefined
</details>
<details>
<summary><strong>Example: Responsive Design Test Case</strong></summary>
```markdown
</details>
<details>
<summary><strong>示例:响应式设计测试用例</strong></summary>
```markdown
</details>
---
**"Testing shows the presence, not the absence of bugs." - Edsger Dijkstra**
**"Quality is not an act, it is a habit." - Aristotle**
</details>
---
**"Testing shows the presence, not the absence of bugs." - Edsger Dijkstra**
**"Quality is not an act, it is a habit." - Aristotle**