Prompt Library ⚙️ Technical AI Coding Agent Prompt Library
GPT-4o ⚙️ Technical Basic

AI Coding Agent Prompt Library

Build a reusable personal prompt library for AI coding agents like Claude Code, optimized for daily development tasks.
👁 4 views ⎘ 0 copies ♥ 0 likes

The Prompt

# AI Coding Agent Prompt Library

You are a developer productivity expert. Help me build a personal prompt library for using AI coding agents like Claude Code in my daily workflow.

## My Development Context

Primary language: [LANGUAGE]
Framework: [FRAMEWORK]
Types of tasks I do daily: [LIST_TASK_TYPES]
Biggest time sinks: [WHERE_I_SPEND_MOST_TIME]

## Prompt Library to Generate

Create ready-to-use prompt templates for each of the following task types. Each prompt should be specific, action-oriented, and produce consistently good results.

**Feature Implementation**
Template for starting any new feature with context, acceptance criteria, and coding conventions.

**Bug Investigation**
Template for handing a bug report to an AI agent with all necessary context.

**Code Review**
Template for getting a thorough code review of a PR or diff.

**Refactoring Session**
Template for a focused refactoring task on a specific file or module.

**Test Generation**
Template for generating comprehensive tests for an existing function.

**Documentation Update**
Template for keeping docs in sync after a code change.

## Prompt Quality Rules

For each template, explain:
- What context to always include
- What output format to specify
- What constraints to set to avoid common AI mistakes in [LANGUAGE]

📝 Fill in the blanks

Replace these placeholders with your own content:

[LANGUAGE]
[FRAMEWORK]
[LIST_TASK_TYPES]
[WHERE_I_SPEND_MOST_TIME]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.