Useful AI Prompts - Production-Ready AI Prompt Library

February 28, 2026 · View on GitHub

Run in Smithery GitHub Stars License: MIT Prompts Skills Hooks

488 production-ready AI prompts, all following a standardized template with validated quality gates.

Transform ChatGPT, Claude, and other AI assistants into expert consultants. Every prompt in this library passes 11 quality validation checks, ensuring consistent structure, clear deliverables, and measurable quality criteria.


What's Inside

Resource TypeCountDescription
AI Prompts488+Standardized expert prompts across 47 categories
Claude Code Skills260+Auto-triggering capabilities with code examples
Automation Hooks7Security, testing, formatting, and CI/CD automation

Standardized Prompt Format

Every prompt follows the same validated structure:

# [Prompt Name]

## Metadata

- **ID**: `category-prompt-slug`
- **Version**: 1.0.0
- **Category**: Primary category
- **Tags**: searchable, keywords, here
- **Complexity**: simple | intermediate | advanced
- **Interaction**: single-shot | conversational | iterative
- **Models**: Claude 3+, GPT-4+

## Overview

2-3 sentences explaining what the prompt does and who it's for.

## When to Use

- Specific scenario 1
- Specific scenario 2

**Don't use for**: Anti-patterns where this prompt isn't appropriate

---

## Prompt

<role>Expert identity with specific credentials and experience</role>

<context>Situation, success criteria, and key assumptions</context>

<input_handling>
Required: Must-have inputs
Optional: Inferred defaults when not provided
</input_handling>

<task>
Clear steps (3-7) for what to accomplish
</task>

<output_specification>
Format, length, and structure requirements
</output_specification>

<quality_criteria>
Measurable standards for excellent output
</quality_criteria>

<constraints>
Hard boundaries and limitations
</constraints>

---

## Example Usage

### Input

Realistic user request (20-200 words)

### Output

Representative response demonstrating quality (100-600 words)

## Related Prompts

Links to complementary prompts

XML Tag Structure

The prompt section uses semantic XML tags for consistent parsing:

TagPurposeContent
<role>Expert identitySpecific credentials, experience, reasoning approach
<context>Situation framingWhen used, success criteria, key assumptions
<input_handling>Input specificationRequired vs optional inputs with defaults
<task>Process steps3-7 numbered action steps
<output_specification>Deliverable formatFormat, length, structure, must-include elements
<quality_criteria>Success measuresObjective standards and anti-patterns
<constraints>Hard boundariesNon-negotiable limits on scope/format

Quality Gates

Every prompt passes these 11 validation checks:

GateRequirement
metadata_completeAll required fields present (ID, Version, Category, Tags, Complexity, Interaction, Models)
overview_concise3 sentences or fewer, no marketing fluff
role_specificConcrete expertise defined, not "I'll help you"
inputs_categorizedRequired vs optional distinguished with defaults
task_structured3-7 clear numbered steps
outputs_specifiedFormat + length + requirements for each deliverable
criteria_measurableObjective quality standards, not vague aspirations
example_realisticInput shows real usage (20-200 words)
example_conciseOutput demonstrates pattern (100-600 words)
no_duplicationNo repeated information across sections
copy_paste_readyPrompt section is standalone and clearly delimited

Quick Start

Using Prompts

  1. Browse the prompts directory or web interface
  2. Copy the content within the ## Prompt section (including XML tags)
  3. Paste into ChatGPT, Claude, or your preferred AI assistant
  4. Provide your specific input - the prompt handles the rest

Example: Competitive Analysis

<role>
You are a competitive intelligence strategist with 12+ years of experience
in market analysis, having led competitive strategy for both startups and
Fortune 500 companies.
</role>

<context>
Businesses need competitive intelligence to make informed strategic decisions.
Success means identifying specific opportunities that inform immediate action.
</context>

<input_handling>
Required: Industry, top competitors, current market position
Infer if not provided: Geographic scope, analysis timeline
</input_handling>

<task>
1. Map competitive landscape with positioning matrix
2. Profile key competitors (strengths, weaknesses, strategies)
3. Identify competitive gaps and white space opportunities
4. Create action recommendations with timelines
</task>

<output_specification>
- Format: Strategic analysis with visual frameworks
- Length: 500-800 words
- Must include: Positioning map, competitor profiles, action plan
</output_specification>

Prompt Categories

Business & Strategy

CategoryPromptsKey Use Cases
Business Analysis45+Requirements engineering, process improvement
Finance30+Financial modeling, investment analysis
Marketing25+Campaign strategy, brand development
Operations35+Process optimization, supply chain
Project Management40+Risk assessment, agile methodologies

Technology & Engineering

CategoryPromptsKey Use Cases
Software Engineering50+Architecture design, code review
DevOps25+CI/CD pipelines, infrastructure as code
Security20+Threat modeling, incident response
Data Science30+ML development, data analysis

Emerging Technologies

CategoryPromptsKey Use Cases
Quantum Computing14Algorithm development, circuit optimization
Blockchain & Web315Smart contracts, DeFi protocols
Biotechnology15Drug discovery, bioinformatics
Space Economy24Satellite operations, mission planning
Renewable Energy19Solar development, grid integration
Healthcare Digital20Telehealth, AI diagnostics

Creative & Communication

CategoryPromptsKey Use Cases
Creative25+Graphic design, UX research
Communication30+Presentations, technical writing
Learning & Development20+Curriculum design, training programs

Claude Code Skills (260+)

Skills auto-trigger when Claude Code detects relevant keywords:

DomainSkillsExamples
Software Development35refactor-legacy-code, code-review-analysis
DevOps & Infrastructure20docker-containerization, kubernetes-deployment
Testing & QA15unit-testing-framework, e2e-testing
Security15vulnerability-scanning, oauth-implementation
API & Integration12rest-api-design, graphql-implementation
Database12sql-optimization, schema-design

See SKILLS-MATRIX.md for the complete reference.


Automation Hooks (7)

HookTriggerPurpose
security-scanPre-commitScan for vulnerabilities and secrets
pre-commit-lintingPre-commitCode formatting enforcement
test-runnerPre-commitAutomated test execution
dependency-checkPre-commitDependency vulnerability audit
auto-formatPost-saveAutomatic code formatting
session-setupSession startEnvironment initialization

See HOOKS-LIBRARY.md for installation and configuration.


Repository Structure

useful-ai-prompts/
├── prompts/               # 488+ standardized prompts by category
│   ├── analysis/          # Competitive, data, financial analysis
│   ├── technical/         # Software, DevOps, security, data science
│   ├── business/          # Finance, marketing, operations
│   ├── blockchain/        # Web3, DeFi, smart contracts
│   ├── quantum-computing/ # Quantum algorithms, circuits
│   └── ...                # 47 total categories
├── skills/                # 260+ Claude Code skills
├── hooks/                 # 7 automation hooks
├── docs/                  # Jekyll website (GitHub Pages)
├── .claude/skills/        # Prompt refactoring skill
│   └── prompt-refactor/   # Template spec and validation
├── PROMPT-INDEX.json      # Machine-readable prompt catalog
├── SKILLS-MATRIX.md       # Complete skills reference
└── HOOKS-LIBRARY.md       # Hooks documentation

Integration

For AI Agents

import json

# Load prompt index
with open('PROMPT-INDEX.json') as f:
    prompts = json.load(f)

# Select by category
analysis_prompts = [p for p in prompts if p['category'] == 'analysis']

See AI-AGENT-GUIDE.md for task classification and API integration patterns.

For Human Users

See README-HUMANS.md for getting started, customization tips, and real-world examples.


Web Interface

Browse prompts with search and filtering at: https://aj-geddes.github.io/useful-ai-prompts/

Features:

  • Category-based navigation
  • Full-text search
  • Responsive design
  • Direct copy-to-clipboard

Contributing

We welcome contributions! All new prompts must:

  1. Follow the standardized template structure
  2. Pass all 11 quality gates
  3. Include realistic example usage

Use the prompt-refactor skill for validation:

./.claude/skills/prompt-refactor/scripts/validate-prompt.sh ./prompts/my-prompt.md

See CONTRIBUTING.md for complete guidelines.


License

MIT License - see LICENSE for details.



Keywords: AI prompts, ChatGPT prompts, Claude prompts, prompt engineering, standardized prompts, AI productivity, Claude Code skills, prompt library, LLM prompts, professional AI tools