Report skill for Claude

Summarize Playwright results.

When Claude uses it

Use whenever the user asks how tests went, for a test report or status.

Report SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

Smart Test Reporting

Generate test reports that plug into the user's existing workflow. Zero new tools.

Steps

1. Run Tests (If Not Already Run)

Check if recent test results exist:

ls -la test-results/ playwright-report/ 2>/dev/null

If no recent results, run tests:

npx playwright test --reporter=json,html,list 2>&1 | tee test-output.log

2. Parse Results

Read the JSON report:

npx playwright test --reporter=json 2> /dev/null

Extract:

  • Total tests, passed, failed, skipped, flaky
  • Duration per test and total
  • Failed test names with error messages
  • Flaky tests (passed on retry)

3. Detect Report Destination

Check what's configured and route automatically:

CheckIf foundAction
TESTRAIL_URL env varTestRail configuredPush results via /pw:testrail push
SLACK_WEBHOOK_URL env varSlack configuredPost summary to Slack
.github/workflows/GitHub ActionsResults go to PR comment via artifacts
playwright-report/HTML reporterOpen or serve the report
None of the aboveDefaultGenerate markdown report

4. Generate Report

Markdown Report (Always Generated)
# Test Results — {{date}}

## Summary
- ✅ Passed: {{passed}}
- ❌ Failed: {{failed}}
- ⏭️ Skipped: {{skipped}}
- 🔄 Flaky: {{flaky}}
- ⏱️ Duration: {{duration}}

## Failed Tests
| Test | Error | File |
|---|---|---|
| {{name}} | {{error}} | {{file}}:{{line}} |

## Flaky Tests
| Test | Retries | File |
|---|---|---|
| {{name}} | {{retries}} | {{file}} |

## By Project
| Browser | Passed | Failed | Duration |
|---|---|---|---|
| Chromium | X | Y | Zs |
| Firefox | X | Y | Zs |
| WebKit | X | Y | Zs |

Save to test-reports/{{date}}-report.md.

Slack Summary (If Webhook Configured)
curl -X POST "$SLACK_WEBHOOK_URL" \
  -H 'Content-Type: application/json' \
  -d '{
    "text": "🧪 Test Results: ✅ {{passed}} | ❌ {{failed}} | ⏱️ {{duration}}\n{{failed_details}}"
  }'
TestRail Push (If Configured)

Invoke /pw:testrail push with the JSON results.

HTML Report
npx playwright show-report

Or if in CI:

echo "HTML report available at: playwright-report/index.html"

5. Trend Analysis (If Historical Data Exists)

If previous reports exist in test-reports/:

  • Compare pass rate over time
  • Identify tests that became flaky recently
  • Highlight new failures vs. recurring failures

Output

  • Summary with pass/fail/skip/flaky counts
  • Failed test details with error messages
  • Report destination confirmation
  • Trend comparison (if historical data available)
  • Next action recommendation (fix failures or celebrate green)

How to install Report

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/engineering-team/playwright-pro/skills/report#main ~/.claude/skills/report

Codex

npx degit alirezarezvani/claude-skills/engineering-team/playwright-pro/skills/report#main ~/.codex/skills/report

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Report skill do?

Summarize Playwright results. Use whenever the user asks how tests went, for a test report or status.

+How do I install Report in Claude Code?

Copy the skill folder into ~/.claude/skills/report, for example with "npx degit alirezarezvani/claude-skills/engineering-team/playwright-pro/skills/report#main ~/.claude/skills/report". Claude Code loads it automatically and uses it when a task matches.

+Does Report work with ChatGPT or Codex?

Yes. Report uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/report. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Report free?

Report is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Senior Backend

    Build and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests.

    alirezarezvani/claude-skills★ 30k
  5. Senior Fullstack

    Start a fullstack project or audit a codebase: pick a stack (Next.js, FastAPI, MERN, Django), scaffold it and score code quality.

    alirezarezvani/claude-skills★ 30k
  6. Senior Pm

    Project and portfolio management for multi-workstream programs: plans, status reports, risk registers, capacity, executive reporting.

    alirezarezvani/claude-skills★ 30k
  7. Site Architecture

    Use for URL structure, navigation, internal linking, hub pages or orphan pages, or when SEO problems are structural.

    alirezarezvani/claude-skills★ 30k
  8. Skill Retro

    Use when the user wants their skills graded from real session history, asks which installed skills actually work, or wants evidence-backed…

    alirezarezvani/claude-skills★ 30k
  9. Snowflake Development

    Use for Snowflake work: SQL, Dynamic Tables, Streams and Tasks, Cortex AI functions and agents, Snowpark Python, dbt on Snowflake, or…

    alirezarezvani/claude-skills★ 30k

See all software development skills →

More skills from alirezarezvani

  1. Research

    Use for any research request that doesn't clearly match a research specialist ('research X', 'look into Y').

    alirezarezvani/claude-skills★ 30k
  2. Research Finance

    Use for R&D program money: multi-period budgets with indirect cost split, burn and runway against milestones, or capitalize vs expense…

    alirezarezvani/claude-skills★ 30k
  3. Research Ops Skills

    Use when an enterprise research request needs routing (clinical study design, R&D finance, market sizing, user research): 'what sample…

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.