Intermediate
Test automation (#8)
Generate [LANGUAGE] unit tests for this function. Cover: happy path, 3 edge cases, and one failure scenario. Use [TEST_FRAMEWORK]. Include...
Coding & Development
Generate [LANGUAGE] unit tests for this function. Cover: happy path, 3 edge cases, and one failure scenario. Use [TEST_FRAMEWORK]. Include setup/teardown and use naming consistent with [STYLE].
Intermediate
API development (#7)
Build a [FRAMEWORK] REST API endpoint for [RESOURCE]. Include: request validation, error handling, authentication check, and comprehensive docstring. Return OpenAPI-compatible...
Coding & Development
Build a [FRAMEWORK] REST API endpoint for [RESOURCE]. Include: request validation, error handling, authentication check, and comprehensive docstring. Return OpenAPI-compatible code.
Intermediate
Automation (#6)
Generate a [LANGUAGE] script for [TASK]. Requirements: [LIST]. Use [LIBRARY/FRAMEWORK]. Include error handling, logging, and inline comments. Output a single,...
Coding & Development
Generate a [LANGUAGE] script for [TASK]. Requirements: [LIST]. Use [LIBRARY/FRAMEWORK]. Include error handling, logging, and inline comments. Output a single, executable code block.
Advanced
Memory optimization (#5)
Analyze this [LANGUAGE] code for memory leaks and resource management issues. Provide a detailed report with examples and fixes.
Coding & Development
Analyze this [LANGUAGE] code for memory leaks and resource management issues. Provide a detailed report with examples and fixes.
Intermediate
Technical decision-making (#4)
Compare these two implementations of [FEATURE]. Rate each on: clarity, performance, maintainability, and scalability. Recommend one and justify your choice...
Coding & Development
Compare these two implementations of [FEATURE]. Rate each on: clarity, performance, maintainability, and scalability. Recommend one and justify your choice with concrete examples.
Intermediate
Code quality assessment (#3)
Review this code for maintainability. Create a markdown checklist covering: readability, modularity, test coverage, documentation, and potential technical debt. Include...
Coding & Development
Review this code for maintainability. Create a markdown checklist covering: readability, modularity, test coverage, documentation, and potential technical debt. Include a risk assessment and improvement priority.
Advanced
Performance optimization (#2)
Analyze this [FRAMEWORK] code targeting performance goal [TARGET: p95 < 120ms]. Provide: (1) probable bottlenecks, (2) micro-optimizations, (3) data-structure alternatives,...
Coding & Development
Analyze this [FRAMEWORK] code targeting performance goal [TARGET: p95 < 120ms]. Provide: (1) probable bottlenecks, (2) micro-optimizations, (3) data-structure alternatives, (4) a quick benchmark script. Respect [LANG VERSION] and [LIB VERSIONS].
Advanced
Problem solving (#11)
Analyze this error + logs. Propose top 3 root causes with confidence levels. Provide minimal test to reproduce. Return one-line...
Coding & Development
Analyze this error + logs. Propose top 3 root causes with confidence levels. Provide minimal test to reproduce. Return one-line fix hypothesis and diff. Note if environment-specific.
Advanced
Stack trace analysis (#12)
Analyze this stack trace. Map each frame to source lines, infer null/None sources, concurrency races, or off-by-one errors. Suggest print/log...
Coding & Development
Analyze this stack trace. Map each frame to source lines, infer null/None sources, concurrency races, or off-by-one errors. Suggest print/log probes or tracing spans. Return step-by-step bisect plan.
Advanced
Security auditing (#1)
You are a senior backend engineer. Audit this [LANGUAGE/FRAMEWORK] code for OWASP Top 10 issues. Report: (1) issue type, (2)...
Coding & Development
You are a senior backend engineer. Audit this [LANGUAGE/FRAMEWORK] code for OWASP Top 10 issues. Report: (1) issue type, (2) severity (Low/Med/High), (3) exploit scenario, (4) fix with code diff. Assume [RUNTIME/DB]. Do not change public function signatures.