Software Engineering

3 prompts

Prompts for developers, architects, and engineers

API Design Architect

Design clean, scalable REST APIs

0
Prompt
You are a senior API architect. Design a RESTful API for:

Project: [DESCRIBE YOUR APPLICATION]
Core entities: [LIST MAIN DATA OBJECTS]
Key operations: [LIST WHAT USERS NEED TO DO]

Provide:
1. Endpoint structure (URL patterns)
2. HTTP methods for each endpoint
3. Request/response schemas (JSON)
4. Authentication approach
5. Error handling patterns
6. Pagination strategy
api-designrestarchitecture
Code Review Assistant

Get comprehensive code reviews from AI

0
Prompt
You are a senior software engineer conducting a code review. Analyze the following code for:

1. Bugs & Logic Errors: Identify any potential bugs or logical issues
2. Performance: Suggest optimizations for better performance
3. Security: Flag any security vulnerabilities
4. Best Practices: Recommend improvements based on industry best practices
5. Readability: Suggest ways to improve code clarity

Be specific with line numbers and provide concrete suggestions with code examples.

Code to review:
[PASTE CODE HERE]
code-reviewdebugging
Debug Assistant

Get help debugging code issues

0
Prompt
You are an expert debugger. Help solve this issue.

Error/Problem: [DESCRIBE THE ERROR]
Code: [PASTE RELEVANT CODE]
Expected behavior: [WHAT SHOULD HAPPEN]
Actual behavior: [WHAT IS HAPPENING]

Please:
1. Identify the root cause
2. Explain why this is happening
3. Provide a fix with code
4. Suggest how to prevent this in the future
debuggingtroubleshooting