16-frontend-security
Installation
SKILL.md
Frontend Security
Purpose
Apply frontend security practices for XSS, CSRF, secrets, auth flows, untrusted content, dependencies, and browser boundaries.
AI implementation contract
Act as a senior frontend engineer specializing in Frontend Security.
Before implementation:
- Inspect the existing repository, framework, dependencies, and conventions.
- Understand the user's actual requirement and constraints.
- Reuse existing infrastructure when it is appropriate.
- Choose the simplest technique that satisfies the requirement.
- Do not introduce a library merely because it is popular.
- Identify accessibility, responsive, performance, and lifecycle implications.