Coding & Development — Free AI Prompts for M365 Copilot
Prompts for debugging, code review, documentation, API design, and test generation. Free, copy-paste AI prompts for M365 Copilot, ChatGPT and Claude.
▸
API Documentation Generator — Free Claude AI Prompt
Free intermediate AI prompt for developers: generate clean API documentation from code or specs. Works in Claude. Tag: coding.
GPT
Claude
PolishGenerate API documentation for [API NAME]. For each endpoint include: (1) HTTP method and path, (2) Description of what it does, (3) Request parameters with types and required/optional, (4) Request body schema with examples, (5) Response schema with examples, (6) Error codes and meanings, (7) Authentication requirements. Format as Markdown.
▸
Code Review Assistant — Free Claude AI Prompt
Free intermediate AI prompt for developers: get a thorough code review with actionable feedback. Works in Claude. Tag: coding.
GPT
Claude
PolishReview this code and provide feedback on: (1) Bugs or logic errors, (2) Security vulnerabilities, (3) Performance issues, (4) Readability and naming, (5) Missing error handling, (6) Test coverage gaps. For each issue: explain the problem, show the fix, and rate severity (critical, important, minor). [PASTE CODE]
▸
Database Migration Script — Free M365 Copilot AI Prompt
Free advanced AI prompt for developers: generate a database migration with rollback. Works in M365 Copilot. Tag: coding.
M365
GPT
Claude
PolishWrite a migration script for [CHANGE]. Include: up migration, down migration (rollback), data preservation, validation queries, estimated execution time. Include safety checks.
▸
Debug This Error — Free Claude AI Prompt
Free intermediate AI prompt for developers: diagnose and fix a runtime error from logs or stack traces. Works in Claude. Tags: coding, debug.
GPT
Claude
M365
PolishDebug this error: [PASTE ERROR MESSAGE OR STACK TRACE]. (1) Explain what the error means in plain English, (2) Identify the most likely root cause, (3) Provide a fix with code, (4) Explain why the fix works, (5) Suggest how to prevent this error in the future. Language: [LANGUAGE — Python / JavaScript / C# / PowerShell].
▸
Error Handling Pattern — Free Claude AI Prompt
Free advanced AI prompt for developers: design robust error handling for an application component. Works in Claude. Tags: coding, error-handling.
GPT
Claude
PolishDesign error handling for [COMPONENT — API endpoint / background job / file processor / user form] in [LANGUAGE]. Include: (1) Input validation, (2) Try-catch structure, (3) Specific exception types to handle, (4) Logging strategy, (5) User-friendly error messages, (6) Retry logic for transient failures, (7) Graceful degradation. Show complete code.
▸
PowerShell Script from Description — Free ChatGPT AI Prompt
Free intermediate AI prompt for IT admins: generate a PowerShell script from a plain English task description. Works in ChatGPT. Tag: coding.
M365
GPT
Claude
PolishWrite a PowerShell script that [DESCRIBE TASK — e.g. finds all inactive users in Entra ID who have not signed in for 90 days and exports them to CSV]. Include: (1) Required modules and permissions, (2) Parameter block with defaults, (3) Error handling with try-catch, (4) Progress output, (5) CSV or report output, (6) Comments explaining each section. Target: PowerShell 7+.
▸
README Generator — Free ChatGPT AI Prompt
Free beginner AI prompt for developers: create a professional README for a project or repository. Works in ChatGPT. Tag: coding.
GPT
Claude
PolishGenerate a README.md for [PROJECT NAME]. Include: (1) Project description and purpose, (2) Features list, (3) Quick start guide with installation steps, (4) Usage examples with code snippets, (5) Configuration options, (6) Contributing guidelines, (7) License information, (8) Badge suggestions (build status, coverage, version). Based on: [DESCRIBE THE PROJECT].
▸
Refactoring Suggestions — Free Claude AI Prompt
Free advanced AI prompt for developers: get specific refactoring recommendations for cleaner code. Works in Claude. Tag: coding.
GPT
Claude
PolishAnalyse this code and suggest refactoring improvements: [PASTE CODE]. Focus on: (1) Reducing complexity, (2) Removing duplication, (3) Improving naming, (4) Applying [PATTERN — SOLID principles / DRY / design patterns], (5) Breaking large functions into smaller ones. Show before and after code for each suggestion.
▸
Regex Pattern Builder — Free ChatGPT AI Prompt
Free intermediate AI prompt for developers: build and explain a regular expression for a specific pattern. Works in ChatGPT. Tags: coding, regex.
GPT
Claude
PolishBuild a regex pattern that matches [DESCRIBE WHAT YOU NEED — e.g. email addresses / phone numbers / dates in DD/MM/YYYY format / URLs]. Provide: (1) The regex pattern, (2) A plain English explanation of each part, (3) Test cases that should match, (4) Test cases that should NOT match, (5) Any edge cases to watch for. Language: [LANGUAGE].
▸
REST API Design Document — Free M365 Copilot AI Prompt
REST API Design Document — free advanced AI prompt: design a REST API with proper conventions. Best on M365 Copilot. Tag: coding.
M365
GPT
Claude
PolishDesign a REST API for [PURPOSE]. Include: resource naming, endpoints with methods, request/response schemas, authentication, errors, pagination, rate limiting, versioning.
▸
SQL Query Builder — Free ChatGPT AI Prompt
Free intermediate AI prompt for developers: write a SQL query from a plain English description. Works in ChatGPT. Tag: coding.
GPT
Claude
M365
PolishWrite a SQL query that [DESCRIBE WHAT YOU NEED — e.g. finds all customers who ordered more than 3 times in the last month but have not ordered in the last 7 days]. Database: [TYPE — SQL Server / PostgreSQL / MySQL]. Tables: [LIST TABLE NAMES AND KEY COLUMNS]. Include: the query, explanation of each clause, and performance considerations.
▸
Unit Test Generator — Free Claude AI Prompt
Free intermediate AI prompt for developers: generate comprehensive unit tests for existing code. Works in Claude. Tags: coding, testing.
GPT
Claude
PolishWrite unit tests for this [LANGUAGE] code: [PASTE CODE]. Include: (1) Happy path tests, (2) Edge cases (null, empty, boundary values), (3) Error handling tests, (4) Tests for each public method. Use [FRAMEWORK — Jest / pytest / xUnit / NUnit]. Include descriptive test names that explain what is being tested.
No prompts match your filters.
Your Prompt Engineering Toolkit
Got feedback? Share it here →