AI Prompts Library
A collection of reusable prompts for AI coding assistants. Use these to generate code, docs, tests, and more.
Core Platform Prompts
1. Generate Agent Adapter
Prompt: Write a Python class that adapts a REST API agent for use in a workflow orchestration system. Include methods for initialization, execution, and result parsing.
2. Generate FastAPI Endpoint
Prompt: Generate a FastAPI endpoint that receives a POST request with a JSON payload, validates it using Pydantic, and triggers a background job.
3. Generate Test Cases
4. Generate Markdown Docs
5. Generate Documentation
Prompt: Generate a comprehensive README for this project, including setup, usage, and contribution guidelines.
6. Generate Bug Report
Prompt: Write a clear and actionable bug report for the following error and code snippet: <paste error and code here>.
7. Generate Code Review Checklist
Multi-Modal Agent Prompts
8. Generate Vision Agent
Prompt: Create a Python class for a vision agent that processes images using a pre-trained model. Include methods for image preprocessing, model inference, and result interpretation. The agent should be compatible with our workflow orchestration system.
9. Generate Audio Agent
Prompt: Write a Python class for an audio processing agent that can transcribe speech and analyze audio sentiment. Include methods for audio preprocessing, model inference, and result formatting compatible with our workflow orchestration system.
10. Generate Sensor Data Agent
Prompt: Create a Python class for an IoT sensor data agent that can process telemetry data, detect anomalies, and trigger alerts. Include methods for data validation, processing, and integration with our workflow orchestration system.
11. Generate AR/VR Interface Component
Prompt: Write a React component for an immersive AR/VR interface that visualizes workflow execution in 3D space. Include methods for rendering nodes, connections, and real-time status updates.
Edge Computing Prompts
12. Generate Edge-Optimized Agent
Prompt: Create a Python class for a lightweight agent designed to run on edge devices with limited resources. Include methods for efficient execution, local caching, and synchronization with the central platform.
13. Generate Offline Operation Handler
Prompt: Write a Python module that enables offline operation for edge-deployed workflows. Include functions for local storage, conflict resolution, and synchronization when connectivity is restored.
14. Generate Resource Monitoring
Prompt: Create a Python utility for monitoring resource usage (CPU, memory, network) on edge devices running our agents. Include methods for collecting metrics, local buffering, and efficient reporting.
Federated Collaboration Prompts
15. Generate Secure Data Sharing
Prompt: Write a Python module for secure data sharing between organizations in a federated workflow. Implement access controls, encryption, and audit logging while maintaining data privacy.
16. Generate Federated Learning Component
Prompt: Create a Python class for implementing federated learning across organizations. Include methods for distributed model training, secure aggregation, and privacy-preserving model updates.
17. Generate Zero-Knowledge Proof Verifier
Prompt: Write a Python module that implements zero-knowledge proofs for verifying computation results without revealing sensitive data. Include methods for proof generation, verification, and integration with our workflow orchestration system.
Marketplace Prompts
18. Generate Agent Listing Template
Prompt: Create a JSON schema and example for an agent listing in our marketplace. Include fields for metadata, pricing, capabilities, requirements, and usage examples.
19. Generate Monetization Module
Prompt: Write a Python module for handling agent monetization in our marketplace. Include functions for usage tracking, billing calculation, and revenue sharing between the platform and agent creators.
Add new prompts as you discover useful patterns!