api
무료RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Security review skill: comprehensive security checklist and patterns. Use when adding authentication, handling user input, working with secrets, or creating API endpoints.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
关联 Agent:
security-reviewer(安全审查主力)、code-reviewer(代码审查中的安全维度)
本技能确保所有代码遵循安全最佳实践,识别潜在漏洞。
| 类别 | 核心规则 | 检查项 |
|---|---|---|
| 密钥管理 | 环境变量,不硬编码 | .env.local 在 .gitignore,Git 历史无密钥 |
| 输入验证 | Schema 验证(zod/pydantic),白名单 | 文件上传限制(大小/类型/扩展名) |
| SQL 注入 | 参数化查询,不拼接 SQL | ORM 正确使用 |
| 认证授权 | httpOnly cookies,RBAC | Token 不放 localStorage |
| XSS | DOMPurify 净化,CSP 头 | 无未验证的动态渲染 |
| CSRF | CSRF Token,SameSite=Strict | 状态变更操作有保护 |
| 速率限制 | 所有 API 有限制 | 昂贵操作更严格 |
| 敏感数据 | 日志脱敏,通用错误消息 | 堆栈跟踪不暴露 |
| 依赖 | npm audit clean,Lock 已提交 | 启用 Dependabot |
| 命令注入 | execFile 非 exec,shell=False | 不拼接用户输入 |
| 路径遍历 | os.path.basename 过滤 | 不直接拼接路径 |
| 文件 | 内容 |
|---|---|
| owasp-patterns.md | OWASP Top 10 详细防护模式和代码示例 |
| verify-checklist.md | 安全测试示例 + 部署前安全检查清单 |
| cloud-security.md | IAM、密钥管理、CI/CD、网络安全 |
| config-audit.md | 配置审计清单 |
记住:安全不是可选项。一个漏洞可能危及整个平台。有疑问时,选择更安全的方案。
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Architecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture decisions.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Backend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Strategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Systematic debugging methods, log analysis, and performance diagnostics. Use when debugging issues, analyzing errors, or troubleshooting incidents.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.