跳到正文
cccskills
免费在 GitHub 公开

qe-test-idea-rewriting

Transform passive 'Verify X' test descriptions into active, observable test actions. Use when test ideas lack specificity, use vague language, or fail quality validation. Converts to action-verb format for clearer, more testable descriptions.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe星标 515(GitHub 515 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Test Idea Rewriting

<default_to_action> When transforming test ideas:

  1. DETECT all "Verify X" patterns via regex
  2. IDENTIFY appropriate action verb category
  3. TRANSFORM to "[ACTION] [trigger]; [OBSERVE] [result]" pattern
  4. PRESERVE all metadata (IDs, priorities, automation types)
  5. VALIDATE zero "Verify" patterns remain
  6. OUTPUT in same format as input

Success Criteria: /<td>Verify\s/gi returns 0 matches </default_to_action>

Quick Reference Card

Transformation Pattern

[ACTION VERB] [specific trigger]; [OUTCOME VERB] [observable result]

Action Verb Quick Reference

CategoryVerbsUse When
InteractionClick, Type, Submit, Navigate, ScrollUI actions
TriggerSend, Inject, Force, Simulate, LoadAPI/system actions
MeasurementMeasure, Time, Count, ProfilePerformance checks
StateSet, Configure, Enable, Disable, ToggleSetup actions
ObservationConfirm, Assert, Check, ObserveOutcome verification

Common Transformations

BeforeAfter
Verify login worksSubmit valid credentials; confirm session created
Verify API returns 200Send GET request; assert 200 response within 500ms
Verify error displaysTrigger validation error; observe error message
Verify data savesInsert record; query database; confirm fields match
Verify performanceExecute 100 requests; measure p99 < 200ms

Transformation Rules

Pattern Detection

/<td>Verify\s/gi     // HTML table cells
/^Verify\s/gim       // Line starts
/"Verify\s[^"]+"/gi  // Quoted strings

Transformation Categories

API/Network Tests

Input PatternOutput Pattern
Verify API returns XSend [METHOD] request; assert [STATUS] response
Verify endpoint accepts YPost [PAYLOAD] to endpoint; confirm [RESPONSE]
Verify webhook firesTrigger [EVENT]; observe webhook received

UI/UX Tests

Input PatternOutput Pattern
Verify button worksClick [BUTTON]; observe [EFFECT]
Verify form submitsFill [FIELDS]; submit form; confirm [RESULT]
Verify navigation worksClick [LINK]; observe [PAGE] loads

Data Tests

Input PatternOutput Pattern
Verify data savesInsert [RECORD]; query; confirm [MATCH]
Verify validation worksEnter [INVALID]; observe [ERROR]
Verify format acceptedSubmit [FORMAT]; confirm [PROCESSED]

Performance Tests

Input PatternOutput Pattern
Verify performance is goodExecute [LOAD]; measure [METRIC] < [THRESHOLD]
Verify scalabilityIncrease [USERS] to [N]; monitor [RESOURCE]
Verify timeout worksInject [DELAY]; confirm timeout after [TIME]

Action Verb Reference

Interaction Verbs

VerbWhen to UseExample
ClickUI element interactionClick "Submit" button
TypeText entryType "user@example.com"
SubmitForm completionSubmit registration form
NavigatePage changesNavigate to /settings
ScrollViewport movementScroll to page bottom
DragDrag-and-dropDrag file to upload zone
HoverMouse positioningHover over tooltip trigger
SelectDropdown/checkboxSelect "Admin" from role dropdown

Trigger Verbs

VerbWhen to UseExample
SendHTTP requestsSend POST to /api/orders
InjectFault injectionInject 500ms latency
ForceState manipulationForce offline mode
SimulateEvent generationSimulate device rotation
LoadResource loadingLoad 50MB test file
ExecuteScript/commandExecute database migration
InvokeFunction/webhookInvoke payment callback
TriggerEvent firingTrigger scheduled job

Measurement Verbs

VerbWhen to UseExample
MeasureQuantitative checkMeasure response time
TimeDuration trackingTime page render
CountQuantity checkCount search results
ProfileResource analysisProfile CPU usage
BenchmarkComparisonBenchmark against v1.0
CaptureState recordingCapture network traffic
MonitorOngoing observationMonitor memory for 5 minutes

Observation Verbs

VerbWhen to UseExample
ConfirmBoolean checkConfirm user is logged in
AssertValue comparisonAssert total equals $99.99
CheckState verificationCheck cart has 3 items
ObserveBehavior watchingObserve spinner appears
ValidateRule complianceValidate email format
ExpectPredicted outcomeExpect redirect to /home
Verify (avoid)Use alternativesUse confirm/assert instead

Quality Validation

Pre-Transform Checks

  1. Count "Verify" patterns in input
  2. Identify context for each pattern
  3. Map to appropriate action verb category

Post-Transform Checks

  1. Regex validation: zero "Verify" matches
  2. Every test idea starts with action verb
  3. Each test includes observable outcome
  4. All metadata preserved unchanged

Validation Regex

// Must return 0 matches for success
const verifyPattern = /<td>Verify\s/gi;
const matches = content.match(verifyPattern);
if (matches && matches.length > 0) {
  throw new Error(`${matches.length} "Verify" patterns remain`);
}

Agent Integration

// Single file transformation
await Task("Rewrite Test Ideas", {
  inputFile: "assessment.html",
  outputFile: "assessment-rewritten.html",
  preserveFormatting: true
}, "qe-test-idea-rewriter");

// Batch transformation
await Task("Batch Rewrite", {
  inputDir: "./assessments/",
  outputDir: "./assessments-clean/",
  pattern: "*.html"
}, "qe-test-idea-rewriter");

Memory Namespace

aqe/rewriting/
├── transformations/*  - Transformation logs
├── patterns/*         - Learned patterns
└── vocabulary/*       - Custom verb mappings

Related Skills


Remember

Every test idea should be actionable. "Verify X works" tells you nothing about HOW to test. "[Action] X; [Observe] Y" gives clear steps and expected outcomes. Transform passive descriptions into active, observable tests.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

a11y-ally

免费

Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware remediation, or testing video accessibility. Supports 3-tier browser cascade with graceful degradation.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.

中文简介正在准备中。当前显示原文说明。

proffesor-for-testing/agentic-qe5152026年10月26日 更新

查看 proffesor-for-testing 的全部技能

报告此技能的问题