Viewing
Categories: Coding & Development
31 prompts
Intermediate
Database debugging (#14)
Why does this query return unexpected results? Analyze the SQL/query logic, check for edge cases, and propose optimized query with...
Coding & Development
Why does this query return unexpected results? Analyze the SQL/query logic, check for edge cases, and propose optimized query with explanation.
Beginner
Basic debugging (#15)
Fix this [LANGUAGE] code that produces [INCORRECT_OUTPUT] instead of [EXPECTED_OUTPUT]. Identify the bug and provide a corrected version with line-by-line...
Coding & Development
Fix this [LANGUAGE] code that produces [INCORRECT_OUTPUT] instead of [EXPECTED_OUTPUT]. Identify the bug and provide a corrected version with line-by-line explanation.
Intermediate
API documentation (#16)
From these handlers/schemas, draft OpenAPI 3.1 docs with examples. Note deprecated endpoints, auth, rate limits, error models. Output valid YAML...
Coding & Development
From these handlers/schemas, draft OpenAPI 3.1 docs with examples. Note deprecated endpoints, auth, rate limits, error models. Output valid YAML plus human-readable summary.
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.
Intermediate
Code documentation (#17)
Generate comprehensive docstrings for this [LANGUAGE] module. Include description, parameters, return types, exceptions, and usage examples. Follow [STYLE].
Coding & Development
Generate comprehensive docstrings for this [LANGUAGE] module. Include description, parameters, return types, exceptions, and usage examples. Follow [STYLE].
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].
Intermediate
Project onboarding (#18)
Create a README for [PROJECT]. Include: quick start, env setup, dev scripts, architecture overview, common pitfalls, troubleshooting. Optimize for new...
Coding & Development
Create a README for [PROJECT]. Include: quick start, env setup, dev scripts, architecture overview, common pitfalls, troubleshooting. Optimize for new contributors in 5 minutes.
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.
Beginner
Code clarity (#19)
Rewrite comments in this code for clarity and brevity. Keep them high-signal, avoid restating code. Prefer why over what. Limit...
Coding & Development
Rewrite comments in this code for clarity and brevity. Keep them high-signal, avoid restating code. Prefer why over what. Limit to 80 chars per line.
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.