Skip to content

Development Prompts

Collection of prompts for software development tasks.

Available Prompts

Code Review

  • code_review.txt - Comprehensive code analysis and review
  • security_review.txt - Security-focused code review
  • performance_review.txt - Performance analysis and optimization

Documentation

  • generate_docs.txt - Generate code documentation
  • api_docs.txt - API documentation generation
  • readme_generator.txt - README file creation

Debugging

  • debug_analysis.txt - Systematic bug analysis
  • error_investigation.txt - Error investigation and resolution
  • performance_debug.txt - Performance issue diagnosis

Architecture

  • architecture_analysis.txt - System architecture review
  • design_patterns.txt - Design pattern recommendations
  • refactoring_guide.txt - Code refactoring suggestions

Testing

  • test_strategy.txt - Test strategy development
  • unit_test_generator.txt - Unit test creation
  • integration_testing.txt - Integration test planning

Usage Examples

# Basic code review
aia code_review my_file.py

# Security-focused review
aia security_review --severity high auth_module.rb

# Generate comprehensive documentation
aia generate_docs --format markdown src/

Detailed Example Prompts

Code Review Prompt

# ~/.prompts/code_review.txt
//config model gpt-4o-mini
//config temperature 0.3

Review this code for:
- Best practices adherence
- Security vulnerabilities
- Performance issues
- Maintainability concerns

Code to review:

Usage: aia code_review mycode.rb

Meeting Notes Processor

# ~/.prompts/meeting_notes.txt
//config model gpt-4o-mini
//pipeline format,action_items

Raw meeting notes:
//include [NOTES_FILE]

Please clean up and structure these meeting notes.

Usage: aia meeting_notes raw_notes.txt

Documentation Generator

# ~/.prompts/document.txt
//config model gpt-4o-mini
//shell find [PROJECT_DIR] -name "*.rb" | head -10

Generate documentation for the Ruby project shown above.
Include: API references, usage examples, and setup instructions.

Usage: aia document --PROJECT_DIR ./my_project

Multi-Model Decision Making

# ~/.prompts/decision_maker.txt
# Compare different AI perspectives on complex decisions

What are the pros and cons of [DECISION_TOPIC]?
Consider: technical feasibility, business impact, risks, and alternatives.

Analyze this thoroughly and provide actionable recommendations.

Usage Examples:

# Get individual perspectives from each model
aia decision_maker --model "gpt-4o-mini,gpt-3.5-turbo,gpt-5-mini" --no-consensus

# Get a synthesized consensus recommendation  
aia decision_maker --model "gpt-4o-mini,gpt-3.5-turbo,gpt-5-mini" --consensus

# Use with chat mode for follow-up questions
aia --chat --model "gpt-4o-mini,gpt-3.5-turbo" --consensus

Customization

These prompts can be customized with parameters: - --model - Choose appropriate AI model - --temperature - Adjust creativity level - --severity - Focus level for reviews - --format - Output format preference