원클릭으로
security-best-practices
Security best practices for input validation, authentication, authorization, and protecting sensitive data.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Security best practices for input validation, authentication, authorization, and protecting sensitive data.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Aspire skill covering the Aspire CLI, AppHost orchestration, service discovery, integrations, MCP server, VS Code extension, Dev Containers, GitHub Codespaces, templates, dashboard, and deployment. Use when the user asks to create, run, debug, configure, deploy, or troubleshoot an Aspire distributed application.
Create ASP.NET Minimal API endpoints with proper OpenAPI documentation
Clean code principles for writing maintainable, readable code. Use when refactoring, code reviews, or writing new code to improve code quality.
Detailed coding standards and best practices including clean code, SOLID, and common patterns. Use when writing or reviewing code.
Containerize an ASP.NET Core project by creating Dockerfile and .dockerfile files customized for the project.
Create a README.md file for the project
| name | security-best-practices |
| description | Security best practices for input validation, authentication, authorization, and protecting sensitive data. |
| license | Apache 2.0 |
import { z } from 'zod';
const userSchema = z.object({
email: z.string().email(),
password: z.string().min(8).regex(/[A-Z]/),
age: z.number().min(18).max(120)
});
function generateToken(user: User): string {
return jwt.sign(
{ userId: user.id, email: user.email },
process.env.JWT_SECRET!,
{ expiresIn: '24h' }
);
}
function authorize(...roles: string[]) {
return (req, res, next) => {
if (!roles.includes(req.user.role)) {
throw new ForbiddenError('Insufficient permissions');
}
next();
};
}