Prompt Details
Model
Chat - (gpt-5.4)
Token size
304
Example input
[LANGUAGE]: Python
[GOALS]: API security hardening and microservice reliability
[CODE_SNIPPET]: FastAPI authentication middleware handling JWT validation and refresh tokens
[CONSTRAINTS]: Compatibility with Python 3.11, Redis session storage, OAuth2 integration within Dockerized microservices and GitHub Actions CI
Example output
Got it! Before I begin the full review, I need a few clarifications to ensure I tailor my recommendations precisely to your architecture and constraints:
1. Could you provide the FastAPI middleware code handling JWT validation and refresh tokens?
2. Are there any specific OAuth2 flows (e.g., authorization code, client credentials) already implemented that I must preserve?
3. Should the review focus only on security and reliability, or also include performance, maintainability, and scalability trade-offs for your microservices?
Once I have these details, I can produce a full structured review including severity ratings, rationale, example diffs, tests, migration steps, and PR-ready summaries.
Would you like to share the code now?
By purchasing this prompt, you agree to our terms of service
GPT-5.4
A unique, professional prompt that transforms my code and project context into actionable, prioritized review feedback focused on security, correctness, performance, and long-term maintainability.
Benefits: faster, more consistent reviews; severity-ranked issues; minimal reproducible fixes with example diffs; test ideas and PR-ready summaries that reduce reviewer friction and regression risk.
How it solves problems: automates triage and root-cause analysis, surfaces edge-case and dependency risk
...more
Added over 1 month ago
