Skip to main content
Explore a diverse range of development tasks with these example prompts, covering everything from code generation and bug fixing to security vulnerability detection and cloud deployment. These prompts are intentionally generic. In practice, you can refine them by referencing files, folders, or project context to let Poolside Assistant operate directly on your codebase.

Code generation

Generate a Python function that retrieves user data from a PostgreSQL database.

Bug detection and fixing

Identify and fix the null pointer exception in this Java code.

Code refactoring

Refactor this JavaScript function to eliminate nested callbacks using async/await.

Unit test generation

Generate unit tests for this Python function that processes user input.

Documentation generation

Generate detailed comments for each method in this Java class.

Data mocking for testing

Generate mock data for a shopping cart app, including products and prices.

Performance optimization

Optimize this Python algorithm to reduce its time complexity.

Security vulnerability detection

Check this Node.js code for SQL injection and other vulnerabilities.

API integration assistance

Generate code to authenticate with the Twitter API and retrieve a user's timeline.

Automated code reviews

Review this JavaScript file and suggest improvements for readability and performance.

DevOps automation

Create a Jenkinsfile for a Node.js app that runs tests and deploys to AWS EC2.

Legacy code understanding

Explain this COBOL function's purpose and how to modernize it.

Code style and linting enforcement

Ensure this Python code adheres to PEP 8 standards and fix any issues.

Configuration file generation

Generate a Docker Compose file to run a Flask app with a PostgreSQL database.

Assistance for analyzing and generating regular expressions

Write a regular expression that validates email addresses.

Analysis of JSON and YAML files

Analyze this Kubernetes YAML file and ensure proper syntax for resource configuration.

Debugging based on console output and stack traces

Analyze this stack trace and suggest the root cause of the exception: _stack trace_.

Cloud deployment automation

Deploy this Node.js app to AWS using Terraform.

Database schema design

Design a SQL schema for a task management app with users, tasks, and projects.

CLI command assistance

Write a Bash script that finds and lists all files modified in the last 24 hours in a directory.