007
無料Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Code review: IoC, RESTful, Contracts, Security (OWASP), Clean Architecture, SOLID.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Skill for validating implemented code against project standards.
Use for: Validate code, identify violations, auto-fix (autopilot) Do not use for:
add-backend-development / add-frontend-development)add-planning / add-feature-specification)add-feature-discovery / add-architecture-discovery)Reference: Always consult CLAUDE.md for general project standards.
BEFORE starting any review, you MUST create a todo list using TodoWrite.
The code-review agent MUST create todos for each validation category and for each changed file. This ensures:
Load BEFORE reviewing:
{{skill:add-backend-development/SKILL.md}}{{skill:add-database-development/SKILL.md}}{{skill:add-frontend-development/SKILL.md}}{{skill:add-ux-design/SKILL.md}}{{skill:add-security-audit/SKILL.md}}Spec vs implementation gap = the root cause of features that "pass review" but diverge from what was planned.
Sources (lookup):
{"sources":{"contracts":"docs/features/${FEATURE_ID}/plan.md (prose: routes, services, DTOs, queues)","tick_state":"docs/features/${FEATURE_ID}/tasks.md → ## Acceptance Checklist"}}
Validation procedure:
plan.md prose (routes, services, DTOs, queues)tasks.md → ## Acceptance Checklist (each item ends with (RFNN/RNNN) reference)file:lineRF/RN from about.md?COMPLIANT | DIVERGENT (exists but differs) | MISSINGExamples:
| Type | Spec | Code | Fix |
|---|---|---|---|
| DIVERGENT | POST /billing/webhook/:provider | POST /webhook (fixed route) | Refactor route to accept :provider param |
| DIVERGENT | WebhookNormalizerService (generic) | StripeWebhookService (hardcoded) | Extract generic interface, rename service |
| MISSING | WebhookSignatureGuard | No guard found | Implement guard or document explicit scope exclusion |
Spec Compliance scoring:
COMPLIANT (all items match): full pointsDIVERGENT (functional but differs): -1 per itemMISSING (not implemented): -2 per item, blocks merge if RF-linkedArchitecture violation = CRITICAL BLOCKER. Fix BEFORE any other validation.
Source: CLAUDE.md → ## Architecture Contract.
Validation steps:
For EACH new/modified file:
@org/* (or project alias)Examples:
| Violation | Fix |
|---|---|
interfaces imports database | Move artefact or adjust import |
Service-contract DTO in database | Move DTO to interfaces |
domain imports anything | Remove import — domain has zero deps |
Code without correct IoC does NOT work at runtime.
{"iocChecklist":{"Service":{"decorator":"@Injectable()","providers":"feature module","exports":false,"controllers":false,"indexTs":false},"Repository":{"decorator":"@Injectable()","providers":"db module","exports":"db module","controllers":false,"indexTs":"libs/"},"Handler":{"decorator":"@Injectable()","providers":"feature module","exports":false,"controllers":false,"indexTs":"NEVER"},"Guard":{"decorator":"@Injectable()","providers":"feature/global","exports":false,"controllers":false,"indexTs":false},"Controller":{"decorator":"@Controller()","providers":false,"exports":false,"controllers":"feature module","indexTs":false}}}
| File | Check |
|---|---|
apps/backend/src/app.module.ts | imports[] contains module |
[feature].module.ts | providers[], controllers[], imports[] |
libs/app-database/src/app-database.module.ts | providers[], exports[] for repos |
libs/app-database/src/index.ts | public repo exports |
libs/app-database/src/types/Database.ts | new table types |
libs/domain/src/index.ts | new entity/enum exports |
| Error | Cause | Fix |
|---|---|---|
Nest can't resolve dependencies of X | X not in providers[] or X's dependency not registered | Add X and its dependencies to providers[] |
X is not a provider | Missing @Injectable() or not registered | Add decorator and register in providers[] |
Module X not found | Module not imported in AppModule | Add to AppModule.imports[] |
Repository not found | Repo not exported in db module exports[] | Add to AppDatabaseModule exports[] |
| 404 on endpoint | Controller not registered or module not imported | Check controllers[] and AppModule.imports[] |
| Rule | Correct | Wrong |
|---|---|---|
| HTTP method | GET read, POST create, DELETE remove | POST for read |
| URL | /users (noun) | /getUsers (verb) |
| Status | 201 POST, 204 DELETE | 200 for all |
Frontend ↔ Backend:
| Backend | Frontend |
|---|---|
Date | string |
Enum | union type |
Sync required / optional fields between backend and frontend.
JSONB rules:
| Category | Check |
|---|---|
| Injection | parametrized queries |
| Auth | guards applied |
| Data Exposure | no secrets in logs |
| Access Control | filter by account_id |
| XSS | outputs sanitized |
Multi-tenant:
account_idaccount_id from JWT, not bodyany typeconsole.log (use logger)up and down.env.exampleIConfigurationService, not process.envWeights and status (lookup):
{"weights":{"specCompliance":20,"archContract":20,"ioc":15,"restful":10,"contracts":15,"security":15,"solid":10,"quality":10,"database":5}} {"status":{"8-10":"APPROVED","6-7":"NEEDS ATTENTION","4-5":"NEEDS FIXES","0-3":"CRITICAL"}}
bash .codeadd/scripts/status.shCLAUDE.mdFor EACH changed file, validate in order, marking each todo in_progress → completed:
in_progresscompletedGenerate the review report at docs/features/${featureId}/review.md. The exact output template (score table, issue format, build status) is owned by the consuming command (add.review) — this skill validates; the command formats.
Do:
status.sh FIRSTDon't:
AppModule.imports[] or barrel exports in libs/まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Run a health check on an existing project: dependency audit, security scan, test runner detection, CI/CD evaluation, and missing configuration analysis. Maps the three execution gates (pre/in/post) from /10x-bootstrapper to an assessment framework for existing codebases. Reads optional context/foundation/stack-assessment.md from /10x-stack-assess to focus checks on identified gaps. Writes context/foundation/health-check.md with findings, prioritized fixes, and an agent-readiness verdict. Use when the user has an existing project and wants to verify its health before working with an agent. Trigger phrases: "health check", "check my project", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu", "health-check", "project health". Use AFTER /10x-stack-assess (brownfield chain), BEFORE agent onboarding (m1-l4).
日本語の概要は準備中です。原文の説明を表示しています。
You MUST use this when building projects end-to-end. Orchestrates all 12 team roles — automatically switches between CTO, architect, PM, engineers, SRE, security, DBA, QA, and EM based on the current phase of work. Starts with brainstorming before any implementation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。