Skip to content
Back to skills

Visual Artifact Qa

ASecurity

Visual output that passes static checks can still fail to render:

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
ai-agentsjavascriptjavatesting

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill visual-artifact-qa --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Visual Artifact Qa?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Visual Artifact Qa
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-visual-artifact-qa/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-visual-artifact-qa)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: visual-artifact-qa
description: "Visual output that passes static checks can still fail to render:"
lastReviewed: 2026-04-30
---

# Visual Artifact QA

## The Problem

Visual output that passes static checks can still fail to render:

- SVG validates but doesn't display correctly
- CSS passes linting but looks wrong
- HTML is valid but layout breaks
- No CI check catches visual regressions

## The Solution

Render → View → Diff loop.

```
┌─────────────┐
│   Render    │ Generate the visual artifact
└──────┬──────┘
       ▼
┌─────────────┐
│    View     │ Actually look at it (image tool, browser)
└──────┬──────┘
       ▼
┌─────────────┐
│    Diff     │ Compare against intent/previous version
└──────┬──────┘
       ▼
┌─────────────┐
│    Fix      │ Correct issues found
└──────┬──────┘
       │
       └──────► Repeat until correct
```

## For SVG Banners

```javascript
// 1. Render
const svg = generateBanner(config);
fs.writeFileSync('banner.svg', svg);

// 2. View (convert to PNG for preview)
const sharp = require('sharp');
await sharp('banner.svg').png().toFile('banner-preview.png');

// 3. Diff against expected
// - Text readable?
// - Colors correct?
// - Layout as designed?

// 4. Fix and re-render
```

## For CSS Changes

```javascript
// 1. Apply change
// 2. View in browser (all breakpoints)
// 3. Screenshot comparison
await page.screenshot({ path: 'after.png' });
// 4. Diff with before.png
```

## Automation Limits

| Check Type | Automated? | Notes |
|------------|------------|-------|
| Valid syntax | Yes | Lint, validate |
| Renders without error | Partial | Can detect crashes |
| Looks correct | No | Human judgment required |
| Matches design | No | Needs visual comparison |

## Verification

1. Artifact renders in target environment
2. Visual output matches intent
3. Changes are intentional (diff reviewed)

## When to Apply

- SVG generation
- PDF generation
- Email templates
- Any visual output that humans see

## Tags

`quality` `visual` `testing` `qa`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…