AGENT SKILL

security

Audit project security posture. Review for OWASP Top 10 vulnerabilities, secrets, injection flaws, and auth gaps. Use --setup to configure security strategy.

License 许可
MIT
最近更新
2026-03-27
Stars
★ 3
Forks
1

01 前言 Front Matter

name
security
context
fork
description
Audit project security posture. Review for OWASP Top 10 vulnerabilities, secrets, injection flaws, and auth gaps. Use --setup to configure security strategy.
argument-hint
[feature-name] | --setup | --audit | --diff | --fix

02 资源文件 46

03 SKILL.md 正文

Strategy check

Before routing, check if spec/SECURITY_STRATEGY.md exists:

  • If NOT exists AND mode is a feature name (not --setup, --audit, --diff, or --fix): → Output: "No SECURITY_STRATEGY.md found. Run /security --setup to configure your security strategy, or /security --audit for a project-wide audit." → STOP
  • --setup, --audit, --diff, and --fix modes proceed without strategy file.

Routing

Parse $ARGUMENTS to determine mode:

  • --setup: Spawn security-reviewer agent (sonnet) with:

    Set up the security strategy for this project.
    Ask the user about their security preferences:
    1. Compliance requirements (GDPR, HIPAA, PCI DSS, SOC2, or none)
    2. Sensitive file patterns (auth, payment, encryption paths — offer sensible defaults)
    3. Dependency policy (block critical vulns, auto-update, manual review)
    4. Secret management approach (env vars, vault, cloud secrets manager)
    5. Custom security rules (project-specific patterns to flag)
    6. Severity threshold for reporting (critical, high, medium, low)
    Write the result to spec/SECURITY_STRATEGY.md.
    
  • --audit: Spawn security-reviewer agent (sonnet) with:

    Run a project-wide security audit.
    Scan all source files and dependencies.
    Write report to spec/SECURITY_REPORT.md.
    Do not modify any code.
    
  • --diff: Spawn security-reviewer agent (sonnet) with:

    Run a security audit on changed files only (git diff).
    Report findings for modified files.
    Do not modify any code.
    
  • --fix: Spawn security-reviewer agent (sonnet) with:

    Run a full security audit, then propose fixes for each finding.
    Present all findings and proposed remediation to the user.
    Apply fixes only after user confirmation for each change.
    
  • Feature mode (default — when $ARGUMENTS is a feature name): Spawn security-reviewer agent (sonnet) with:

    Run security audit for feature: [feature-name from $ARGUMENTS]
    Read spec/SECURITY_STRATEGY.md for rules.
    Check all files related to this feature.
    Write report to spec/SECURITY_REPORT.md.
    Do not modify any code.
    

04 同仓库更多 Skills

ByeongminLee
ByeongminLee/nextjs-claude-code

zustand

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

★ 3
ByeongminLee
ByeongminLee/nextjs-claude-code

web-vitals

暂无简介

★ 3
ByeongminLee
ByeongminLee/nextjs-claude-code

vercel-storage

Vercel storage expert guidance — Blob, Edge Config, and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.

后端与接口
★ 3
ByeongminLee
ByeongminLee/nextjs-claude-code

vercel-functions

Vercel Functions expert guidance — Serverless Functions, Edge Functions, Fluid Compute, streaming, Cron Jobs, and runtime configuration. Use when configuring, debugging, or optimizing server-side code running on Vercel.

开发工程师后端与接口
★ 3
ByeongminLee
ByeongminLee/nextjs-claude-code

ui-ux-pro-max

UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.

设计师数据分析师前端开发视觉设计
★ 3
ByeongminLee
ByeongminLee/nextjs-claude-code

turborepo

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.

★ 3