{
  "markdown": "# 📚 Prompt Library - Gemini CLI Extension\n\nA curated library of high-quality, professionally crafted prompts for common\ndevelopment tasks. Save time and improve your AI interactions with\nbattle-tested prompt templates.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Gemini CLI](https://img.shields.io/badge/Gemini%20CLI-Extension-blue)](https://geminicli.com/)\n\n## ✨ Features\n\n- 🎯 **50+ Professional Prompts** - Carefully crafted for common development tasks\n- 🚀 **Instant Access** - Simple slash commands for quick execution\n- 📖 **Learn by Example** - See prompt engineering best practices in action\n- 🎨 **Organized Categories** - Easy to browse and discover prompts\n- 🔧 **Customizable** - Fork and adapt prompts to your needs\n- 💡 **Educational** - Learn prompt engineering principles\n\n## 📦 Installation\n\nInstall the extension using the Gemini CLI:\n\n```bash\ngemini extensions install involvex/gemini-cli-prompt-library\n```\n\nOr install from a local directory:\n\n```bash\ngit clone https://github.com/involvex/gemini-cli-prompt-library.git\ncd gemini-cli-prompt-library\ngemini extensions link .\n```\n\n## 🚀 Quick Start\n\nAfter installation, restart Gemini CLI and start using prompts:\n\n```bash\n# Review code for security issues\n/code-review:security \"your code here\"\n\n# Generate a README file\n/docs:write-readme \"describe your project\"\n\n# Create unit tests\n/testing:generate-unit-tests \"your function here\"\n\n# Explain a complex concept\n/learning:explain-concept \"recursion\"\n\n# Debug an error\n/debugging:debug-error \"paste your error here\"\n```\n\n## 📋 Available Prompts\n\n### 🔍 Code Review & Analysis\n\n- `/code-review:security` - Deep security analysis\n- `/code-review:performance` - Performance optimization\n- `/code-review:best-practices` - Best practices review\n- `/code-review:refactor` - Refactoring suggestions\n\n### 📝 Documentation\n\n- `/docs:write-readme` - Generate comprehensive README\n- `/docs:write-api-docs` - Create API documentation\n- `/docs:write-changelog` - Generate changelog\n- `/docs:write-contributing` - Create contribution guidelines\n\n### 🧪 Testing\n\n- `/testing:generate-unit-tests` - Create unit tests\n- `/testing:generate-e2e-tests` - Create end-to-end tests\n- `/testing:edge-cases` - Identify edge cases\n- `/testing:coverage-analysis` - Analyze test coverage\n\n### 🐛 Debugging\n\n- `/debugging:debug-error` - Diagnose and fix errors\n- `/debugging:trace-issue` - Root cause analysis\n- `/debugging:performance-profile` - Performance profiling\n\n### 🗄️ Data\n\n- `/data:pipeline` - Design data pipelines\n- `/data:schema` - Design database schemas\n\n### 🚀 DevOps & Infrastructure\n\n- `/devops:ci-cd` - Design CI/CD pipelines\n- `/devops:docker` - Create Docker configurations\n- `/devops:kubernetes` - Design Kubernetes deployments\n- `/devops:terraform` - Create Terraform configurations\n- `/devops:infrastructure` - Design infrastructure\n- `/devops:monitoring` - Set up monitoring\n- `/devops:security` - DevSecOps practices\n\n### 📱 Mobile Development\n\n- `/mobile:react-native` - React Native development\n- `/mobile:flutter` - Flutter development\n- `/mobile:app` - General mobile app guidance\n\n### 🔌 API Development\n\n- `/api:graphql` - Design GraphQL APIs\n\n### 🏗️ Architecture & Design\n\n- `/architecture:design-api` - Design RESTful APIs\n- `/architecture:design-database` - Design database schemas\n- `/architecture:system-design` - System architecture\n- `/architecture:design-patterns` - Suggest design patterns\n\n### 📚 Learning & Explanation\n\n- `/learning:explain-concept` - Explain technical concepts\n- `/learning:eli5` - Explain like I'm 5\n- `/learning:compare-tech` - Compare technologies\n- `/learning:roadmap` - Create learning paths\n\n### ✍️ Writing & Communication\n\n- `/writing:technical-blog` - Write technical posts\n- `/writing:email` - Draft professional emails\n- `/writing:presentation` - Create presentation outlines\n\n### 🎨 Prompt Engineering\n\n- `/prompts:improve` - Improve existing prompts\n- `/prompts:create-template` - Create prompt templates\n- `/prompts:best-practices` - Learn prompt tips\n\n## 💡 Usage Examples\n\n### Security Code Review\n\n```bash\n/code-review:security \"\nfunction loginUser(username, password) {\n  const query = 'SELECT * FROM users WHERE username = ' + username;\n  return db.execute(query);\n}\n\"\n```\n\n**Output:** Comprehensive security analysis identifying SQL injection\nvulnerability, authentication issues, and providing secure code examples.\n\n### Generate Unit Tests\n\n```bash\n/testing:generate-unit-tests \"\nfunction calculateDiscount(price, discountPercent) {\n  return price - (price * discountPercent / 100);\n}\n\"\n```\n\n**Output:** Complete test suite with happy paths, edge cases, and error conditions.\n\n### Explain Concept\n\n```bash\n/learning:explain-concept \"closures in JavaScript\"\n```\n\n**Output:** Multi-level explanation from ELI5 to technical details, with\nexamples, use cases, and best practices.\n\n### Design API\n\n```bash\n/architecture:design-api \"A blog platform with posts, comments, users, and tags\"\n```\n\n**Output:** Complete REST API design with endpoints, data models, auth, and\nOpenAPI documentation.\n\n## 🎯 Why Use This Extension?\n\n### Save Time\n\n- Pre-crafted prompts eliminate trial and error\n- Instant access via simple commands\n- Consistent, high-quality results\n\n### Improve Quality\n\n- Based on prompt engineering best practices\n- Comprehensive, structured outputs\n- Professional-grade results\n\n### Learn Prompt Engineering\n\n- See examples of effective prompts\n- Understand what makes prompts work\n- Build your own custom prompts\n\n### Boost Productivity\n\n- Quick access to common tasks\n- Reduce context switching\n- Focus on problem-solving, not prompt crafting\n\n## 🛠️ Customization\n\n### Adding Your Own Prompts\n\n1. Create a new `.toml` file in the appropriate `commands/` subdirectory:\n\n```bash\nmkdir -p commands/mycategory\ntouch commands/mycategory/myprompt.toml\n```\n\n1. Write your prompt:\n\n```toml\nprompt = \"\"\"\n# My Custom Prompt\n\nYour prompt content here with {{args}} for user input.\n\"\"\"\n```\n\n1. Restart Gemini CLI to load the new prompt\n\n### Modifying Existing Prompts\n\nFork the repository and edit any `.toml` file to customize prompts to your needs.\n\n## 📚 Prompt Engineering Tips\n\nBased on the prompts in this library, here are key principles:\n\n### 1. **Be Specific**\n\n```text\n❌ \"Review this code\"\n✅ \"Perform a security analysis focusing on input validation, SQL\ninjection, and XSS vulnerabilities\"\n```\n\n### 2. **Provide Structure**\n\nUse clear sections, numbering, and formatting to guide the AI's response.\n\n### 3. **Include Context**\n\nSpecify the language, framework, use case, and constraints.\n\n### 4. **Request Examples**\n\nAsk for code examples, not just explanations.\n\n### 5. **Define Output Format**\n\nSpecify exactly how you want the response structured.\n\n### 6. **Use Variables**\n\nMake prompts reusable with `{{args}}` placeholders.\n\n## 🤝 Contributing\n\nContributions are welcome! Here's how you can help:\n\n1. **Add New Prompts** - Share your best prompts\n2. **Improve Existing Prompts** - Make them clearer and more effective\n3. **Report Issues** - Found a bug or unclear prompt?\n4. **Suggest Categories** - What prompt categories are missing?\n\n### Contribution Guidelines\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/new-prompt`\n3. Add your prompt in the appropriate category\n4. Test it thoroughly\n5. Submit a pull request with clear description\n\n## 📖 Documentation\n\nFor more information about Gemini CLI extensions:\n\n- [Gemini CLI Documentation](https://geminicli.com/docs/)\n- [Extension Development Guide](https://geminicli.com/docs/extensions/)\n- [Model Context Protocol](https://modelcontextprotocol.io/)\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Inspired by the Gemini CLI community\n- Built on prompt engineering best practices\n- Thanks to all contributors\n\n## 📞 Support\n\n- 🐛 [Report Issues](https://github.com/involvex/gemini-cli-prompt-library/issues)\n- 💬 [Discussions](https://github.com/involvex/gemini-cli-prompt-library/discussions)\n\n## 🗺️ Roadmap\n\n- [ ] Add more prompt categories\n- [ ] Interactive prompt builder\n- [ ] Prompt analytics (most used, success rate)\n- [ ] Community prompt sharing\n- [ ] Multi-language support\n- [ ] Prompt versioning\n- [ ] A/B testing for prompts\n\n---\n\n## About\n\nForked from: <https://github.com/harish-garg/gemini-cli-prompt-library>\n\nHarish Garg. <https://github.com/harish-garg>\n\nHis blog at [harishgarg.com](https://harishgarg.com/).\n\n---\n\n## Made with ❤️ for the Gemini CLI community\n\nStar ⭐ this repo if you find it useful!\n",
  "bytes": 8618,
  "sha": "8694d4e2636942069fd6df10f0c982ad4e5ee9aaed095bfae718e21543c00e92",
  "repo_slug": "involvex/gemini-cli-prompt-library",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_involvex_gemini_cli_prompt_library_5fe41f43/readme"
}