Leo Frontend Diff Audit — Security skill for Claude Code
Audit the current branch's frontend diff for convention conformance, design-system reuse and component extraction.
How to install Leo Frontend Diff Audit
Installs to ~/.claude/skills/leobo96-leo-agent-harness-leo-frontend-diff-audit/SKILL.md
mkdir -p ~/.claude/skills/leobo96-leo-agent-harness-leo-frontend-diff-audit && curl -fsSL https://raw.githubusercontent.com/leobo96/leo-agent-harness/HEAD/commands/leo-frontend-diff-audit.md -o ~/.claude/skills/leobo96-leo-agent-harness-leo-frontend-diff-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Leo Frontend Diff Audit does
description: Audit the current branch's frontend diff for convention conformance, design-system reuse and component extraction. Optional arg = a path to scope to. argument-hint: [path]
Frontend diff audit
Three passes over the branch diff: **conform** (violations of the skills' rules), **reuse** (hand-rolled UI that an existing design-system primitive covers), **extract** (a repeated pattern worth a component).
Scope: `$ARGUMENTS` if given, else every changed frontend file vs the ba
Alternatives in Security
- Tier 3 Code Refinement Report — Date: 2026-03-20 Status: ALL 54 FINDINGS IMPLEMENTED Scope: Full codebase (18 plugins, 888 files, ~266K lines) 222 ★
- Threat Model — Perform a threat model for the following feature or component 63 ★
- Openclaw Skill — ZettelForge v2.0.0 — CTI agentic memory system 58 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Citadel
Post-implementation conformance audit against the PRD, branch diff, and known trap doors.
Story Review
Optional — dispatch code and security review over the case's branch diff, aggregate findings into REVIEW.md
Leo Plan Fixes
Turn the findings already in this conversation (error-monitoring triage, audit, review) into a root-caused fix
Leo Frontend Checklist
Audit changed frontend files against the Front-End Checklist rule corpus via its MCP server (zero deps, report
UI UX Review
Run a visual design conformance audit using the ui-ux-engineer agent — spacing, typography, colour tokens, res
Lean Code.SKILL
Use automatically whenever writing, changing or reviewing code (own work or an agent's PR): tests first, reuse
Related Agents
UI UX Engineer
A senior UI/UX engineer who audits frontend features for visual design conformance — spacing, typography, colo
Review Lens
Read-only pr-verdict lens - claims, conformance, correctness, scope or production path - applied to a pinned P
Review Frontend
product review committee — Frontend Engineer. Dispatched in P2, P3, P4, P7 when frontend code is in scope, to