Skip to content

quocle108/ai-collaboration-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompts

Stop AI from making assumptions. Start getting better results.

A collection of battle-tested prompt templates for software development that force AI assistants to ask questions, state assumptions, and wait for approval before coding.

🎯 The Problem

When working with AI coding assistants, you've probably experienced:

  • ❌ AI makes wrong assumptions about your requirements
  • ❌ AI starts coding immediately without understanding the full context
  • ❌ AI modifies unexpected files or uses different patterns than your codebase
  • ❌ Wasted time fixing AI-generated code that missed the mark

✅ The Solution

These templates enforce a structured workflow:

  1. AI asks clarifying questions first
  2. AI states all assumptions explicitly
  3. AI creates a plan and waits for your approval
  4. AI implements only after you approve

📚 Templates

We provide 6 ready-to-use templates for common development tasks:

Template Use Case File
Template 1 Adding new features Feature Addition
Template 2 Fixing bugs Bug Fix
Template 3 Refactoring code Refactoring
Template 4 Understanding code Code Review
Template 5 Starting new projects New Project Setup
Template 6 Adding integrations Integration

🚀 Quick Start

1. Choose Your Template

Pick the template that matches your task:

  • Need to add a feature? → Use Template 1
  • Something broken? → Use Template 2
  • Code needs cleanup? → Use Template 3
  • Don't understand existing code? → Use Template 4
  • Starting fresh? → Use Template 5
  • Adding external service? → Use Template 6

2. Fill in the Blanks

Each template has [PLACEHOLDERS] - replace them with your specific details.

3. Copy & Paste to AI

Send the filled template to your AI assistant (Claude, ChatGPT, etc.)

4. Let AI Ask Questions

AI will ask clarifying questions first - answer them clearly.

5. Review & Approve

AI will present a plan - review it and approve before implementation.

📖 Examples

Real-world examples for each template:

🎓 Core Principles

1. Plan First, Code Second

Never let AI start coding without a reviewed plan.

2. Force Questions

AI should ask, not assume. If anything is unclear, AI must ask.

3. Explicit Assumptions

When AI must make assumptions, they should be clearly stated and confirmed.

4. Phased Approach

Break complex work into phases with approval gates.

5. Stop Points

Clear checkpoints where AI must wait for your input.

💡 Pro Tips

Before You Start:

  • Gather all relevant information (error messages, logs, requirements)
  • Know what success looks like
  • Identify what should NOT change

During the Process:

  • Answer AI's questions completely
  • Push back if AI makes assumptions
  • Request alternatives if unsure

After Implementation:

  • Verify the changes work as expected
  • Check for unintended side effects
  • Document any lessons learned

🛠️ Advanced Usage

Custom Templates

Create project-specific templates by:

  1. Copy a base template from /templates
  2. Add domain-specific questions
  3. Include project conventions
  4. Save in your project repo

GitHub Integration

Create issue templates that reference these prompts:

**For AI Assistant:**
- [ ] Use [Template Name](link-to-template)
- [ ] Review PROJECT_CONTEXT.md first
- [ ] List all assumptions before coding

Team Adoption

  1. Add this repo as a submodule or copy templates to your repo
  2. Update your development workflow docs
  3. Include in onboarding materials
  4. Share examples from your team's usage

🤝 Contributing

Contributions welcome! Please see CONTRIBUTING.md for details.

Ways to contribute:

  • Share your examples
  • Improve existing templates
  • Add templates for new use cases
  • Report issues or unclear instructions
  • Translate to other languages

📄 License

MIT License - feel free to use, modify, and share.

🌟 Why This Works

These templates work because they:

  • Force explicit communication - No room for silent assumptions
  • Create checkpoints - You stay in control
  • Are language-agnostic - Work with any tech stack
  • Scale with complexity - Simple tasks stay simple, complex tasks get proper planning
  • Build on proven patterns - Based on real development workflows

📞 Support

  • Questions? Open an issue
  • Success story? Share in discussions
  • Need help? Check examples first, then ask

Start getting better results from AI today. Pick a template and try it!

⭐ Star this repo if you find it useful!

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published