← All Categories

💻 Coding & Development Prompts

Code generation, debugging, architecture, and developer workflows

25 prompts

ReactTypeScript

Write a React component that

Create a React component in TypeScript that {functionality}.

debuggingtroubleshooting

Debug this error:

I'm getting this error: '{error}'.

Pythonscript

Write a Python script to

Write a Python script that {task}.

APIbackend

Create an API endpoint that

Write a REST API endpoint in {framework} that {functionality}.

testingunittest

Write unit tests for

Write comprehensive unit tests using {framework} for the following function: ```{code}```.

refactoringclean-code

Refactor this code to be more readable:

Refactor this code for readability and maintainability: ```{code}```.

databaseSQL

Design a database schema for

Create a PostgreSQL database schema for {application}.

DockerDevOps

Write a Dockerfile for

Create a production-ready multi-stage Dockerfile for {application}.

algorithmsCS

Explain this algorithm:

Explain how {algorithm} works in simple terms.

CICDGitHub

Write a CI/CD pipeline configuration for

Create a GitHub Actions workflow for {project}.

TypeScriptmigration

Convert this code from JavaScript to TypeScript:

Convert this JavaScript code to TypeScript with strict typing: ```{code}```.

regexpattern

Write a regular expression that

Create a regex pattern that {requirement}.

system-designarchitecture

Create a system design for

Design a scalable architecture for {system}.

SQLdatabase

Write a SQL query to

Write a SQL query that {requirement}.

securityreview

Review this code for security vulnerabilities:

Perform a security review of this code: ```{code}```.

documentationAPI

Write documentation for this API:

Create comprehensive API documentation for: ```{code}```.

optimizationperformance

Optimize this slow function:

This function is running slowly: ```{code}```.

bashautomation

Write a bash script to automate

Create a bash script that automates {task}.

CSSresponsive

Create a mobile-responsive CSS layout for

Write CSS/Tailwind for a {layout} layout that works on mobile, tablet, and desktop.

GraphQLAPI

Write a GraphQL schema for

Design a GraphQL schema for {application}.

authsecurity

Implement authentication with

Write a complete authentication flow using {provider}.

cronautomation

Write a cron job that

Create a Node.

mentoringteaching

Explain this code to a junior developer:

Explain the following code to a junior developer: ```{code}```.

asyncJavaScript

Convert this to async/await:

Rewrite this Promise-based code using async/await with proper error handling: ```{code}```.

migrationdatabase

Write a data migration script for

Create a safe data migration script that {requirement}.