k-kohey/axe/preview-report

Claude Code and agent skill by k-kohey/axe

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Capture previews of multiple SwiftUI files and generate a visual report. Use when the user wants to see all previews at once, create PR documentation, or batch-check UI across files.

Install

npx vskill@latest install k-kohey/axe/preview-report

SKILL.md

Batch Preview Report

Capture screenshots of all #Preview blocks across multiple SwiftUI files and generate a report.

Steps

1. Determine target files

If $ARGUMENTS specifies files, use those directly. $ARGUMENTS may contain only View names (e.g. ContentView) instead of file paths, so resolve each to a .swift path (e.g. TodoApp/ContentView.swift) using Glob.

If no arguments are provided, detect changed Swift files:

bash
FILES=$(git diff --name-only --diff-filter=ACMR HEAD -- '*.swift')
if [ -z "$FILES" ]; then
echo "No changed Swift files found. Specify files explicitly."
exit 1
fi
2. Generate the report
bash
axe preview report $FILES --format md --output <output-dir>

When $ARGUMENTS is provided, use $ARGUMENTS instead of $FILES:

bash
axe preview report $ARGUMENTS --format md --output <output-dir>

This generates:

  • axe_swiftui_preview_report.md — Markdown report with embedded image references
  • axe_swiftui_preview_report_assets/*.png — Individual preview screenshots
3. Display the results

Read the generated Markdown report with the Read tool. Then read each preview image in the assets directory to show them to the user.

4. Summarize

Provide a summary of all captured previews, noting:

  • Total number of #Preview blocks found
  • Any previews that failed to capture (and likely reasons from stderr)
  • Quick observations about the UI state of each view

Options

  • Use -j <n> to control parallel simulator count for faster capture
  • Use --reuse-build to skip rebuilding if the project was recently built
  • Replace --format md with --format html for an interactive HTML report with lightbox

Use Cases

  • PR review: Capture all changed views before creating a pull request
  • Visual regression: Compare previews across branches
  • Documentation: Generate a visual catalog of UI components

Prerequisites

Run this if the command fails because axe is not found::

bash
curl -fsSL https://raw.githubusercontent.com/k-kohey/axe/main/install.sh | sh

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
67
Repository forks
4
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/k-kohey/axe/preview-report/badge)](https://verified-skill.com/skills/k-kohey/axe/preview-report)

Something wrong with this skill or its page? Tell us.