backend code review

Security Community

Skill notes

When to use this skill

Use this skill whenever the user asks to review, analyze, or improve backend code (e.g., .py) under the api/ directory. Supports the following review modes: Pending-change review: when the user asks to review current changes (inspect staged/working-tree files slated for commit to get the changes). Code snippets review: when the user pastes code snippets (e.g., a function/class/module excerpt) into the chat and asks for a review.

How to use this skill

Follow these steps when using this skill: Identify the review mode (pending-change vs snippet vs file-focused) based on the user’s input. Keep the scope tight: review only what the user provided or explicitly referenced. Follow the rules defined in Checklist to perform the review. If no Checklist rule matches, apply General Review Rules as a fallback to perform the best-effort review. Compose the final output strictly follow the Required Output Format.

Checklist

db schema design: if the review scope includes code/files under api/models/ or api/migrations/, follow references/db-schema-rule.md to perform the review architecture: if the review scope involves controller/service/core-domain/libs/model layering, dependency direction, or moving responsibilities across modules, follow references/architecture-rule.md to perform the review repositories abstraction: if the review scope contains table/model operations (e.g., select(...), session.execute(...), joins, CRUD) and is not under api/repositories, api/core/repositories, or api/extensions/*/repositories/, follow references/repositories-rule.md to perform the review

1. Security Review

Check for: SQL injection vulnerabilities Server-Side Request Forgery (SSRF) Command injection Insecure deserialization

2. Performance Review

Check for: N+1 queries Missing database indexes Memory leaks Blocking operations in async code

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Security
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@langgenius · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview backend-code-review-langgenius.preview
# Required Output Format

When this skill invoked, the response must exactly follow one of the two templates:

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.