Viewing
Categories: Coding & Development
31 prompts
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.
Advanced
code review automation (#21)
Advanced development task focusing on architecture for Python projects
Coding & Development
Advanced development task focusing on architecture for Python projects
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.
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
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
OOP design (#9)
Create a [LANGUAGE] class/struct implementing [INTERFACE/PATTERN]. Include constructor, properties, methods, error handling, and type hints. Follow [STYLE_GUIDE].
Coding & Development
Create a [LANGUAGE] class/struct implementing [INTERFACE/PATTERN]. Include constructor, properties, methods, error handling, and type hints. Follow [STYLE_GUIDE].
Intermediate
Data transformation (#10)
Write a [LANGUAGE] function that converts [SOURCE_FORMAT] to [TARGET_FORMAT]. Handle edge cases, validate input, and include comprehensive error messages.
Coding & Development
Write a [LANGUAGE] function that converts [SOURCE_FORMAT] to [TARGET_FORMAT]. Handle edge cases, validate input, and include comprehensive error messages.
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
Intermittent bug fixing (#13)
This [LANGUAGE] code throws [ERROR_TYPE] intermittently. The error happens [FREQUENCY] in [SCENARIO]. Debug and propose fix with explanation.
Coding & Development
This [LANGUAGE] code throws [ERROR_TYPE] intermittently. The error happens [FREQUENCY] in [SCENARIO]. Debug and propose fix with explanation.