xlsx-testcases
Skill1 starsChanged 7 months agoMITView on GitHub
Use when team maintains test cases in XLSX (tester-owned source of truth) and needs conversion to Maestro YAML, Detox, or Markdown specs, or two-way sync with Azure DevOps Test Plans.
In this repository16 other files it gives its agents.
- azure-devopsSkill
- fastlaneSkill
- firebaseSkill
- herokuSkill
- k6Skill
- linearSkill
- maestroSkill
- postgresSkill
- profiles-and-credentialsSkill
- rails-securitySkill
- react-nativeSkill
- rspecSkill
- sentrySkill
- shopifySkill
- slackSkill
- trelloSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Test cases live in code already → no need for this bridge
- Distinctive: line 62
If no schema file exists, prompt to infer from first sheet header row and write file for review.
- Very specific: line 98
Search existing test cases by TC ID
- Distinctive: line 99
Update if found (PATCH), else create (POST)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/xlsx-testcases — bridge tester xlsx ↔ runnable tests
Keeps xlsx as source of truth for test cases (testers' familiar tool), generates runnable artifacts on demand, and syncs to Azure DevOps Test Plans.
Deps: anthropic-skills:xlsx (delegate parsing), jq, python3. ADO sync
uses /azure-devops skill (multi-profile).
Overview
Bridges xlsx-based test case authoring (testers' familiar tool) with runnable test specs. Generates Maestro YAML / Detox / Markdown on demand and syncs to Azure DevOps Test Plans. xlsx remains the source of truth — generated artifacts are derivable.
When to Use
- QA team maintains test cases in xlsx (no migration possible)
- Need runnable artifacts (Maestro YAML, Detox, Markdown checklists)
- Two-way sync with Azure DevOps Test Plans
- Coverage gap reports (TCs in xlsx not yet automated)
When NOT to Use
- Test cases live in code already → no need for this bridge
- One-off conversion → use
anthropic-skills:xlsxdirectly - Real-time test execution → this is scaffolding, not a runner
- Non-tabular test specs (BDD
.featurefiles) → use Cucumber / Gherkin tooling
Schema mapping
Per-workbook schema at <xlsx-folder>/.testcase-schema.yml (committed):
sheet: "Test Cases" # or "*" for all sheets
header_row: 2
columns:
id: "TC ID" # required, unique
module: "Module"
title: "Title" # required
steps: "Steps" # multi-line cell
expected: "Expected Result"
priority: "Priority"
category: "Category" # smoke/regression/etc.
status: "Status" # New/Updated/Stable
parsing:
steps_separator: "newline" # or "numbered"
priority_map:
P0: high
P1: high
P2: medium
P3: lowIf no schema file exists, prompt to infer from first sheet header row and write file for review.
Dispatch
parse <xlsx-path> → /tmp/xlsx-testcases-<hash>.json
Delegates to anthropic-skills:xlsx for parsing. Cache key = SHA-256 of
xlsx mtime+size+schema content. Output array of testcase objects.
gen maestro <xlsx-path> [--out tests/maestro/] — Maestro YAML
For each TC: tests/maestro/<id>-<slug>.yaml. Step translation heuristic:
| xlsx step pattern | Maestro action |
| "Open app" / "Launch" | - launchApp |
| "Tap [X]" | - tapOn: "X" |
| "Enter [X] in [field]" | - tapOn: "field" + - inputText: "X" |
| "Verify [X] visible" | - assertVisible: "X" |
Unmapped steps emit # UNMAPPED: comment and surface in run summary.
gen detox <xlsx-path> [--out e2e/] — Detox .test.ts
Same flow as Maestro but JavaScript spec.
gen markdown <xlsx-path> — manual QA checklist
## TC001 — Title [tags, priority]
**Precondition:** ...
**Steps:** 1. ... 2. ...
**Expected:** ...
[ ] Pass [ ] Fail [ ] Skip Notes: ___sync ado <xlsx-path> [--plan <id>] [--dry-run]
Sync to Azure DevOps Test Plans (uses /azure-devops skill auth):
- Search existing test cases by
TC ID - Update if found (PATCH), else create (POST)
- Track sync state in
<xlsx-folder>/.testcase-sync-state.json(committed) — only sync TCs whose hash changed since last sync.
PAT scope required: Test Plans (Read & Write) + Work Items (Read & Write).
--dry-run shows what would change without writing.
coverage <xlsx-path> --against <test-folder> — gap report
Total TCs in xlsx: 142
Generated as Maestro: 98 (69%)
Synced to ADO: 120 (85%)
HIGH-priority untested TCs:
TC047 IAP Restore purchase across devices
TC089 Push Background notification handlingdiff <xlsx-path> — what changed since last sync
Compare current xlsx against .testcase-sync-state.json:
Added: 3 TCs Modified: 12 TCs Removed: 1 TCImplementation notes
- Delegate parsing to
anthropic-skills:xlsx, don't reinvent. - Step translation is heuristic — emit UNMAPPED comments, never silently drop.
- Cache key from input hash → no re-parse on repeated invocation.
- Per-TC sha256(title+steps+expected+priority) → ADO sync only delta.
- UTF-8 throughout (Vietnamese / Asian content must round-trip).
Safety
- xlsx may contain sensitive test data (sample passwords, PII). Treat as
confidential: cache to
/tmp/, don't include verbatim in chat beyond what user asked. - ADO sync is mutating → always run
--dry-runfirst; requirectt_confirmbefore actual sync. Audit log records TC IDs only, not content. - Generated runners are committed code — review before pushing public.
.testcase-schema.ymland.testcase-sync-state.jsonare safe to commit (no test data, only mapping + hashes).
Common Mistakes
- No
.testcase-schema.ymlcommitted → schema inference per-run is non-deterministic - Step text "Tap submit" mapped to
tapOn:"submit"then UI uses different label → test fails. Review unmapped comments. - Skipping
--dry-runbefore ADO sync → hard to undo bulk changes - xlsx file in git as binary → diffs unreadable. Commit alongside
.testcase-schema.ymlat minimum. - UTF-8 encoding lost during sync → Vietnamese / Asian characters mangled
- Editing generated YAML without source xlsx update → drift; xlsx is source of truth
Workflow for QA team
- Tester writes test cases in xlsx (current habit, no change).
- Lead/Dev runs
/xlsx-testcases gen maestro <xlsx>to scaffold runners. - Dev edits scaffolded YAML to add real selectors / data refs.
- CI runs Maestro on every PR.
- Weekly: lead runs
sync ado+coverageto identify gaps.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

