Spring Security
Use this skill when implementing or reviewing security in a Spring Boot application. Covers authentication, authorization, input validation, secure configuration, and API security best practices.
Install
npx skills add senoritadeveloper01/claude-skills --skill spring-securitygit clone --depth 1 https://github.com/senoritadeveloper01/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/.claude/skills/spring-security ~/.claude/skills/spring-securityPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Spring Security
## Scope
Apply this skill when working on:
- authentication and authorization
- Spring Security configuration
- API endpoint protection
- JWT or session-based security
- secure API design
- handling sensitive data
---
## Security Configuration
- Use Spring Security filter chain configuration.
- Prefer explicit configuration over defaults.
- Deny by default; explicitly allow public endpoints.
- Clearly separate public vs protected routes.
---
## Authentication
- Prefer stateless JWT or secure session-based authentication.
- Extract and validate tokens using filters (e.g., `OncePerRequestFilter`).
- Store tokens securely:
- Prefer httpOnly cookies for browser apps
- Avoid exposing tokens to JavaScript when possible
- Never store or log raw credentials.
---
## Authorization
- Enable method-level security (`@EnableMethodSecurity`).
- Use annotations like:
- `@PreAuthorize("hasRole('ADMIN')")`
- `@PreAuthorize("@authz.isOwner(#id)")`
- Enforce authorization at:
- controller level (entry point)
- service layer (critical logic)
- Always verify ownership or permissions before actions.
---
## HTTP Semantics & API Security
- Use correct status codes:
- 401 → unauthenticated
- 403 → authenticated but not authorized
- Never return 200 for security failures.
- Do not leak internal details in responses.
- Keep error responses consistent and minimal.
---
## Input ValidationDetails
- Skill name
spring-security- Repository
- senoritadeveloper01/claude-skills
- Path
.claude/skills/spring-security/SKILL.md- Repo updated
- 24 March 2026
FAQ
What does the Spring Security skill do?
Use this skill when implementing or reviewing security in a Spring Boot application. Covers authentication, authorization, input validation, secure configuration, and API security best practices.
How do I install the Spring Security skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add senoritadeveloper01/claude-skills --skill spring-security. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Spring Security popular?
It lives in senoritadeveloper01/claude-skills, which has 5 GitHub stars and 1 forks.
Related skills
Flyway Migrations
5senoritadeveloper01/claude-skills
Use this skill when creating or reviewing Flyway database migrations in a Spring Boot project. Covers schema evolution, data migrations, zero-downtime strategies, and PostgreSQL best practices.
Java Best Practices
5senoritadeveloper01/claude-skills
Use this skill when generating or reviewing Java code to ensure readability, maintainability, correctness, and modern best practices.
Persistence Jpa
5senoritadeveloper01/claude-skills
Use this skill when working with JPA entities, repositories, and persistence logic in a Spring Boot project. Combines domain-driven persistence design with Java correctness, performance awareness, and testability.
Wp Audit
9morrealev/wordpress-manager
This skill should be used when the user asks to "audit my site", "security check", "site health check", "performance check", "SEO audit", "check my WordPress", "is my site secure", "why is my site slow", or mentions any form of WordPress site assessment. Orchestrates security, performance, and SEO audits.
Security Review
5nekoai-lab/claude-skills
AIが生成・修正したコードのセキュリティレビュースキル。「セキュリティレビューして」「コミット前に確認して」「これ安全?」「脆弱性チェックして」などと言ったとき、またはコミット・プッシュ前の確認を求められたときに使う。入力系・認証認可系・外部通信系・運用系・AI固有系の5カテゴリで脆弱性を検出し、CVSSベースの深刻度判定と具体的な修正案を返す。GCP / Python / Next.js が混在するプロジェクトに対応。OWASP Top 10 および OWASP LLM Top 10 準拠。
Wp Security
9morrealev/wordpress-manager
Use when hardening WordPress security: filesystem permissions, HTTP security headers, authentication hardening, REST/XML-RPC API restriction, user capabilities audit, wp-config security constants, and incident response procedures.
Browse the most popular Claude skills, all security skills, or write your own with the skills generator.