P

AI Prompt Library

Explore our collection of 388 optimized prompts for ChatGPT, Claude and Gemini.

Showing 337-348 of 388 prompts

IntermediateClaude

Understanding and documenting unknown legacy code

Analysis of unknown legacy code to extract execution flow, dependencies, risks and automatically generate documentation and a modernization plan.

04
IntermediateAll AIs

Create a system prompt for an LLM chatbot

Generate a complete system prompt for an LLM chatbot with persona, few-shot examples, guardrails, customization variables, and testing protocol.

04
AdvancedClaude

Plan a database migration without downtime

Plan a production database migration with zero downtime using the expand-contract pattern, with exact SQL, verifications, rollback and monitoring.

03
IntermediateChatGPT

Generate TypeScript types from an API response

Generate strict TypeScript types from a JSON response: interfaces, utility types, type guards, enums and JSDoc documentation.

03
BeginnerAll AIs

Define a Git branching strategy for a team

Recommend and document a Git branching strategy adapted to the team, with ASCII diagram, commit conventions, PR process and protection rules.

03
BeginnerAll AIs

Write a Python automation script

Generate a production-ready Python automation script with argparse, logging, error handling, idempotence and complete documentation.

03
AdvancedAll AIs

Analyze and optimize frontend performance

Analyze the performance issues of a frontend application and produce an optimization plan prioritized by gains/effort ratio, covering bundle, rendering, network and Core Web Vitals.

03
BeginnerAll AIs

Dockerize an application for production

Generate an optimized multi-stage Dockerfile, a docker-compose for dev and production, with security, health checks and documented best practices.

04
AdvancedAll AIs

Implement the right design pattern for a problem

Select and implement the most suitable design pattern for a given problem, with comparison of candidates, complete code and analysis of future developments.

03
BeginnerAll AIs

Explain a complex algorithm simply

Progressively explain a complex algorithm through an analogy, an execution trace, a commented implementation, and an accessible complexity analysis.

04
IntermediateAll AIs

Design a relational database schema

Design a normalized relational database schema with CREATE TABLE statements, justified indexes, integrity constraints, ERD diagram and evolution strategies.

03
IntermediateAll AIs

Create an accessible React TypeScript component

Generate a complete React TypeScript component with strict types, WCAG accessibility, state management, RTL tests and Storybook stories.

03