Skip to content
Back to skills

Zt Frontend Security

ASecurity

Frontend security: production-level XSS, CSP, URL hygiene, secrets. Use when implementing, reviewing or testing frontend security for React, Vite, Next.js or Perfect_AI projects.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designreactnextjstestingapifrontendbackendsecurityperformance

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill zt-frontend-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zt Frontend Security?

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

Security grade badge for Zt Frontend Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-zt-frontend-security/badge)](https://www.skillsdirectory.com/skills/realjustawall-zt-frontend-security)

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: zt-frontend-security
description: Frontend security: production-level XSS, CSP, URL hygiene, secrets. Use when implementing, reviewing or testing frontend security for React, Vite, Next.js or Perfect_AI projects.
---

# Frontend security

## When to activate
Use on tasks involving **XSS, CSP, URL hygiene, secrets**. For unrelated backend tasks do not load this skill.

## Implementation sequence
1. Inspect project dependencies, application entrypoints, routing and build scripts.
2. Define interfaces and state machines before visuals, preserve existing behavior.
3. Build semantic HTML and mobile-first layouts with logical CSS; integrate motion only when interaction works.
4. Validate keyboard, screen reader names, bidirectionality, input error and loading states.
5. Run typecheck, build, unit tests, browser tests, and inspect responsive overflow.

## Task-specific requirements
- Scope: **XSS, CSP, URL hygiene, secrets**. Design the full execution path, not a screenshot placeholder.
- Identify dependency version and actual supported API signature; avoid inventing APIs.
- Use original code, or install licensed upstream through its maintained tool if the user wants upstream code.
- Choose measurable states, error handling, accessibility and performance budgets.

## Implementation starter
**Implementation notes:** Model XSS, CSP, URL hygiene, secrets as explicit states, define input/output props and independent cleanup. Read master reference(s) below before writing code.


## Evidence / acceptance
- 320px no horizontal overflow; 200% zoom; LTR islands correct; focus order consistent.
- Test common, edge, interrupted, accessibility and responsive states; provide concrete artifacts/evidence.

## Deep references
- `../perfect-ai-master/references/04-ui-ux-system.md`
- `../perfect-ai-master/references/05-responsive-rtl.md`
- `../perfect-ai-master/references/11-workflow-architecture.md`

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.