Engineered Prompts & Task Deconstructors

Tested engineering prompts for frontier LLMs, aesthetic AI image generation recipes, and an interactive task deconstructor for complex software challenges.

ArchitectureBest with: Claude 3.7 / GPT-4o

System Architecture & Scalability Reviewer

Evaluates microservice or monolith architecture diagrams for single points of failure, bottleneck risks, and horizontal scaling limits.

Act as a Principal Cloud & Systems Architect. I am going to share my current system design. Critique this architecture across 4 strict dimensions: 1. Single Points of Failure (SPOF) and fault isolation boundaries. 2. Database write/read throughput bottlenecks under a 10x traffic surge. 3. Network latency: Synchronous vs asynchronous event decoupling (Kafka/RabbitMQ/Redis Streams). 4. Edge caching and CDN strategy. For each identified flaw, provide a production-ready architectural diagram description and remediation pattern. System Details: [Paste your tech stack, DB choices, caching layer, and traffic volume here]
CodingBest with: Claude 3.7 / GPT-4o / DeepSeek R1

Clean Architecture & Functional Refactoring

Transforms messy legacy code into modern, typed, testable, and maintainable functions adhering to SOLID principles.

Act as a Staff Software Engineer specializing in Clean Code and Functional Programming. Refactor the provided code snippet to achieve: 1. Strict type safety with zero 'any' types. 2. Pure functions with decoupled side-effects and immutability. 3. Comprehensive error handling with Result types or explicit domain exceptions. 4. Minimal cognitive complexity and self-documenting naming conventions. Provide: - Refactored code. - Key improvements list. - A concise unit test suite (Vitest/Jest) covering edge cases. Code to Refactor: [Paste code snippet here]
SecurityBest with: GPT-4o / Claude 3.7

REST & GraphQL API Security Auditor

Checks endpoint handlers for OWASP API Top 10 vulnerabilities (BOLA/IDOR, rate-limiting, injection, mass assignment).

Act as a Senior Application Security Penetration Tester. Review the following API route and data access layer for OWASP API Security Top 10 vulnerabilities. Specifically check for: - Broken Object Level Authorization (BOLA/IDOR). - Lack of rate-limiting, request size limits, and DDoS prevention. - Injection attacks (SQL/NoSQL/Command injection). - Sensitive data exposure in JSON responses. - Mass assignment vulnerabilities. Deliver: 1. Executive Risk Assessment (Critical, High, Medium). 2. Proof of Concept exploit payload example. 3. Hardened, patched code solution. API Implementation: [Paste route handler and DB query logic here]
PerformanceBest with: Claude 3.7 / GPT-4o

Next.js Core Web Vitals & Rendering Optimizer

Diagnoses bundle bloat, watermarking waterfalls, unnecessary client components, and INP/LCP degradation in Next.js App Router.

Act as a Next.js and Web Performance Specialist. Analyze this Next.js App Router page and component tree. Analyze: 1. Server vs Client Component boundaries: Are large dependencies leaking into the client bundle? 2. Network Waterfalls: Are sequential server fetch requests blocking Suspense streaming? 3. Cumulative Layout Shift (CLS) and Largest Contentful Paint (LCP) bottlenecks. 4. Cache headers: Optimal usage of 'revalidate', 'cache: "force-cache"', and Partial Prerendering (PPR). Provide the optimized page code with Server Components, Suspense boundaries, and cached data access. Page Code: [Paste your Next.js page.tsx and components here]
DatabaseBest with: DeepSeek R1 / GPT-4o

MongoDB & PostgreSQL Index Optimization

Analyzes slow queries and schema definitions to design optimal compound indexes and query execution plans.

Act as a Principal Database Reliability Engineer (DBRE). Analyze the following slow query and collection/table schema. Tasks: 1. Determine why the query causes full collection scans or disk spills. 2. Design the optimal compound index respecting the Equality, Sort, Range (ESR) rule. 3. Provide index creation commands and the expected 'explain analyze' execution plan improvements. 4. Flag any anti-patterns in pagination (e.g., high offset vs cursor-based pagination). Query & Schema: [Paste your schema and slow query / aggregations here]

Explore Technical Deep Dives

Read our articles detailing AI orchestration, agent architectures, and web systems engineering.