Skip to content

code-yeongyu/oh-my-openagent / packages/shared-skills/skills/visual-qa

visual-qa

Verified

Runs rigorous visual QA across web, terminal, and paginated surfaces: an Apple HIG-based checklist, paired light/dark captures at phone and desktop widths, screenshot evidence, and a per-item PASS/FAIL verdict. Use for any UI build or change, or when asked whether a page, component, or TUI looks right or follows the platform's design guidelines.

scripts/types.ts

View on GitHub
export interface DecodedImage {
  readonly width: number
  readonly height: number
  readonly rgba: Uint8Array
  readonly hasAlphaChannel: boolean
  readonly hasTransparentPixels: boolean
}

export interface Hotspot {
  readonly gridX: number
  readonly gridY: number
  readonly x: number
  readonly y: number
  readonly width: number
  readonly height: number
  readonly diffRatio: number
}

export interface ImageDimensions {
  readonly width: number
  readonly height: number
}

export interface ImageDiffResult {
  readonly command: "image-diff"
  readonly dimensionsMatch: boolean
  readonly reference: ImageDimensions
  readonly actual: ImageDimensions
  readonly totalPixels: number
  readonly diffPixels: number
  readonly diffRatio: number
  readonly similarityScore: number
  readonly alphaChannelIntact: boolean
  readonly hotspots: readonly Hotspot[]
  readonly summary: string
}

export interface OverflowLine {
  readonly line: number
  readonly width: number
}

export interface TuiCheckResult {
  readonly command: "tui-check"
  readonly expectedColumns: number
  readonly lineCount: number
  readonly lineWidths: readonly number[]
  readonly maxWidth: number
  readonly overflowLines: readonly OverflowLine[]
  readonly borderMisaligned: boolean
  readonly wideCharColumns: readonly number[]
  readonly hasAnsi: boolean
  readonly summary: string
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 321kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 321kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 321kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 197kUpdated Claude CodeCodexVerifiedInstall