skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
justinebijupaul/frontend-ai-skills62 installs

16-frontend-security

Apply frontend security practices for XSS, CSRF, secrets, auth flows, untrusted content, dependencies, and browser boundaries.

How do I install this agent skill?

npx skills add https://github.com/justinebijupaul/frontend-ai-skills --skill 16-frontend-security
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill establishes a security-focused engineering contract for senior frontend developers. It addresses standard risks like XSS, CSRF, and dependency sprawl without introducing any malicious instructions, remote code execution, or data exfiltration.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

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.

During implementation:

  • Produce production-quality, maintainable code.
  • Prefer composition and clear boundaries.
  • Avoid unnecessary abstractions and global state.
  • Handle relevant loading, error, empty, and fallback states.
  • Clean up event listeners, observers, timers, animation contexts, media resources, and GPU resources.
  • Keep high-frequency animation outside React state when appropriate.
  • Treat mobile and reduced-motion behavior as first-class requirements.

After implementation:

  • Verify the requested behavior.
  • Check desktop, tablet, and mobile behavior when relevant.
  • Check keyboard/accessibility behavior.
  • Check console/runtime errors.
  • Check performance and memory implications.
  • Remove temporary debugging and dead code.
  • Do not claim something is verified if it was not actually checked.

Quality checklist

  • Requirement is complete.
  • Existing project conventions are respected.
  • No unnecessary dependencies were introduced.
  • Responsive behavior is intentional.
  • Accessibility is considered.
  • Performance is acceptable.
  • Lifecycle cleanup is correct.
  • Relevant fallbacks are implemented.
  • Code is maintainable.

Anti-patterns

Avoid:

  • monolithic components
  • unnecessary global state
  • per-frame React state for high-frequency animation
  • layout thrashing
  • inaccessible custom controls
  • motion without reduced-motion consideration
  • replacing working infrastructure without justification
  • dependency sprawl

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/justinebijupaul/frontend-ai-skills/16-frontend-security">View 16-frontend-security on skillZs</a>