Test Idea Rewriting
Success Criteria: /<td>Verify\s/gi returns 0 matches
Quick Reference Card
Transformation Pattern
[ACTION VERB] [specific trigger]; [OUTCOME VERB] [observable result]
Action Verb Quick Reference
| Category |
Verbs |
Use When |
| Interaction |
Click, Type, Submit, Navigate, Scroll |
UI actions |
| Trigger |
Send, Inject, Force, Simulate, Load |
API/system actions |
| Measurement |
Measure, Time, Count, Profile |
Performance checks |
| State |
Set, Configure, Enable, Disable, Toggle |
Setup actions |
| Observation |
Confirm, Assert, Check, Observe |
Outcome verification |
Common Transformations
| Before |
After |
| Verify login works |
Submit valid credentials; confirm session created |
| Verify API returns 200 |
Send GET request; assert 200 response within 500ms |
| Verify error displays |
Trigger validation error; observe error message |
| Verify data saves |
Insert record; query database; confirm fields match |
| Verify performance |
Execute 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 Pattern |
Output Pattern |
| Verify API returns X |
Send [METHOD] request; assert [STATUS] response |
| Verify endpoint accepts Y |
Post [PAYLOAD] to endpoint; confirm [RESPONSE] |
| Verify webhook fires |
Trigger [EVENT]; observe webhook received |
UI/UX Tests
| Input Pattern |
Output Pattern |
| Verify button works |
Click [BUTTON]; observe [EFFECT] |
| Verify form submits |
Fill [FIELDS]; submit form; confirm [RESULT] |
| Verify navigation works |
Click [LINK]; observe [PAGE] loads |
Data Tests
| Input Pattern |
Output Pattern |
| Verify data saves |
Insert [RECORD]; query; confirm [MATCH] |
| Verify validation works |
Enter [INVALID]; observe [ERROR] |
| Verify format accepted |
Submit [FORMAT]; confirm [PROCESSED] |
Performance Tests
| Input Pattern |
Output Pattern |
| Verify performance is good |
Execute [LOAD]; measure [METRIC] < [THRESHOLD] |
| Verify scalability |
Increase [USERS] to [N]; monitor [RESOURCE] |
| Verify timeout works |
Inject [DELAY]; confirm timeout after [TIME] |
Action Verb Reference
Interaction Verbs
| Verb |
When to Use |
Example |
| Click |
UI element interaction |
Click "Submit" button |
| Type |
Text entry |
Type "user@example.com" |
| Submit |
Form completion |
Submit registration form |
| Navigate |
Page changes |
Navigate to /settings |
| Scroll |
Viewport movement |
Scroll to page bottom |
| Drag |
Drag-and-drop |
Drag file to upload zone |
| Hover |
Mouse positioning |
Hover over tooltip trigger |
| Select |
Dropdown/checkbox |
Select "Admin" from role dropdown |
Trigger Verbs
| Verb |
When to Use |
Example |
| Send |
HTTP requests |
Send POST to /api/orders |
| Inject |
Fault injection |
Inject 500ms latency |
| Force |
State manipulation |
Force offline mode |
| Simulate |
Event generation |
Simulate device rotation |
| Load |
Resource loading |
Load 50MB test file |
| Execute |
Script/command |
Execute database migration |
| Invoke |
Function/webhook |
Invoke payment callback |
| Trigger |
Event firing |
Trigger scheduled job |
Measurement Verbs
| Verb |
When to Use |
Example |
| Measure |
Quantitative check |
Measure response time |
| Time |
Duration tracking |
Time page render |
| Count |
Quantity check |
Count search results |
| Profile |
Resource analysis |
Profile CPU usage |
| Benchmark |
Comparison |
Benchmark against v1.0 |
| Capture |
State recording |
Capture network traffic |
| Monitor |
Ongoing observation |
Monitor memory for 5 minutes |
Observation Verbs
| Verb |
When to Use |
Example |
| Confirm |
Boolean check |
Confirm user is logged in |
| Assert |
Value comparison |
Assert total equals $99.99 |
| Check |
State verification |
Check cart has 3 items |
| Observe |
Behavior watching |
Observe spinner appears |
| Validate |
Rule compliance |
Validate email format |
| Expect |
Predicted outcome |
Expect redirect to /home |
| Verify (avoid) |
Use alternatives |
Use confirm/assert instead |
Quality Validation
Pre-Transform Checks
- Count "Verify" patterns in input
- Identify context for each pattern
- Map to appropriate action verb category
Post-Transform Checks
- Regex validation: zero "Verify" matches
- Every test idea starts with action verb
- Each test includes observable outcome
- 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.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: test-idea-rewriting3description: 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. Use when this capability is needed.4---56# Test Idea Rewriting78<default_to_action>9When transforming test ideas:101. DETECT all "Verify X" patterns via regex112. IDENTIFY appropriate action verb category123. TRANSFORM to "[ACTION] [trigger]; [OBSERVE] [result]" pattern134. PRESERVE all metadata (IDs, priorities, automation types)145. VALIDATE zero "Verify" patterns remain156. OUTPUT in same format as input1617**Success Criteria:** `/<td>Verify\s/gi` returns 0 matches18</default_to_action>1920## Quick Reference Card2122### Transformation Pattern2324```25[ACTION VERB] [specific trigger]; [OUTCOME VERB] [observable result]26```2728### Action Verb Quick Reference2930| Category | Verbs | Use When |31|----------|-------|----------|32| **Interaction** | Click, Type, Submit, Navigate, Scroll | UI actions |33| **Trigger** | Send, Inject, Force, Simulate, Load | API/system actions |34| **Measurement** | Measure, Time, Count, Profile | Performance checks |35| **State** | Set, Configure, Enable, Disable, Toggle | Setup actions |36| **Observation** | Confirm, Assert, Check, Observe | Outcome verification |3738### Common Transformations3940| Before | After |41|--------|-------|42| Verify login works | Submit valid credentials; confirm session created |43| Verify API returns 200 | Send GET request; assert 200 response within 500ms |44| Verify error displays | Trigger validation error; observe error message |45| Verify data saves | Insert record; query database; confirm fields match |46| Verify performance | Execute 100 requests; measure p99 < 200ms |4748---4950## Transformation Rules5152### Pattern Detection5354```regex55/<td>Verify\s/gi // HTML table cells56/^Verify\s/gim // Line starts57/"Verify\s[^"]+"/gi // Quoted strings58```5960### Transformation Categories6162#### API/Network Tests6364| Input Pattern | Output Pattern |65|---------------|----------------|66| Verify API returns X | Send [METHOD] request; assert [STATUS] response |67| Verify endpoint accepts Y | Post [PAYLOAD] to endpoint; confirm [RESPONSE] |68| Verify webhook fires | Trigger [EVENT]; observe webhook received |6970#### UI/UX Tests7172| Input Pattern | Output Pattern |73|---------------|----------------|74| Verify button works | Click [BUTTON]; observe [EFFECT] |75| Verify form submits | Fill [FIELDS]; submit form; confirm [RESULT] |76| Verify navigation works | Click [LINK]; observe [PAGE] loads |7778#### Data Tests7980| Input Pattern | Output Pattern |81|---------------|----------------|82| Verify data saves | Insert [RECORD]; query; confirm [MATCH] |83| Verify validation works | Enter [INVALID]; observe [ERROR] |84| Verify format accepted | Submit [FORMAT]; confirm [PROCESSED] |8586#### Performance Tests8788| Input Pattern | Output Pattern |89|---------------|----------------|90| Verify performance is good | Execute [LOAD]; measure [METRIC] < [THRESHOLD] |91| Verify scalability | Increase [USERS] to [N]; monitor [RESOURCE] |92| Verify timeout works | Inject [DELAY]; confirm timeout after [TIME] |9394---9596## Action Verb Reference9798### Interaction Verbs99100| Verb | When to Use | Example |101|------|-------------|---------|102| Click | UI element interaction | Click "Submit" button |103| Type | Text entry | Type "user@example.com" |104| Submit | Form completion | Submit registration form |105| Navigate | Page changes | Navigate to /settings |106| Scroll | Viewport movement | Scroll to page bottom |107| Drag | Drag-and-drop | Drag file to upload zone |108| Hover | Mouse positioning | Hover over tooltip trigger |109| Select | Dropdown/checkbox | Select "Admin" from role dropdown |110111### Trigger Verbs112113| Verb | When to Use | Example |114|------|-------------|---------|115| Send | HTTP requests | Send POST to /api/orders |116| Inject | Fault injection | Inject 500ms latency |117| Force | State manipulation | Force offline mode |118| Simulate | Event generation | Simulate device rotation |119| Load | Resource loading | Load 50MB test file |120| Execute | Script/command | Execute database migration |121| Invoke | Function/webhook | Invoke payment callback |122| Trigger | Event firing | Trigger scheduled job |123124### Measurement Verbs125126| Verb | When to Use | Example |127|------|-------------|---------|128| Measure | Quantitative check | Measure response time |129| Time | Duration tracking | Time page render |130| Count | Quantity check | Count search results |131| Profile | Resource analysis | Profile CPU usage |132| Benchmark | Comparison | Benchmark against v1.0 |133| Capture | State recording | Capture network traffic |134| Monitor | Ongoing observation | Monitor memory for 5 minutes |135136### Observation Verbs137138| Verb | When to Use | Example |139|------|-------------|---------|140| Confirm | Boolean check | Confirm user is logged in |141| Assert | Value comparison | Assert total equals $99.99 |142| Check | State verification | Check cart has 3 items |143| Observe | Behavior watching | Observe spinner appears |144| Validate | Rule compliance | Validate email format |145| Expect | Predicted outcome | Expect redirect to /home |146| Verify (avoid) | Use alternatives | Use confirm/assert instead |147148---149150## Quality Validation151152### Pre-Transform Checks1531541. Count "Verify" patterns in input1552. Identify context for each pattern1563. Map to appropriate action verb category157158### Post-Transform Checks1591601. Regex validation: zero "Verify" matches1612. Every test idea starts with action verb1623. Each test includes observable outcome1634. All metadata preserved unchanged164165### Validation Regex166167```javascript168// Must return 0 matches for success169const verifyPattern = /<td>Verify\s/gi;170const matches = content.match(verifyPattern);171if (matches && matches.length > 0) {172 throw new Error(`${matches.length} "Verify" patterns remain`);173}174```175176---177178## Agent Integration179180```typescript181// Single file transformation182await Task("Rewrite Test Ideas", {183 inputFile: "assessment.html",184 outputFile: "assessment-rewritten.html",185 preserveFormatting: true186}, "qe-test-idea-rewriter");187188// Batch transformation189await Task("Batch Rewrite", {190 inputDir: "./assessments/",191 outputDir: "./assessments-clean/",192 pattern: "*.html"193}, "qe-test-idea-rewriter");194```195196---197198## Memory Namespace199200```201aqe/rewriting/202├── transformations/* - Transformation logs203├── patterns/* - Learned patterns204└── vocabulary/* - Custom verb mappings205```206207---208209## Related Skills210211- [sfdipot-product-factors](../sfdipot-product-factors/) - Assessment generation212- [test-design-techniques](../test-design-techniques/) - Proper test structuring213- [brutal-honesty-review](../brutal-honesty-review/) - Quality validation214215---216217## Remember218219**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.220221---222> Converted and distributed by [TomeVault](https://tomevault.io/claim/proffesor-for-testing) — claim your Tome and manage your conversions.223<!-- tomevault:4.0:skill_md:2026-04-11 -->