Generate FastAPI endpoints with Pydantic request/response models, dependency injection, and async database operations.
Create a FastAPI endpoint for [feature]. Requirements: - Define Pydantic v2 models for request body and response - Use async def for the route handler - Implement proper dependency injection for database session - Add path, query, and body parameter validation - Include OpenAPI documentation (summary, description, response_model) - Handle exceptions with HTTPException and proper status codes - Add authentication dependency if this is a protected route - Use repository pattern: route -> service -> repository - Type all function parameters and return values - Add logging with structlog or standard logging - Include docstrings explaining business logic - Write corresponding pytest tests with fixtures
Describe the feature and Cursor will generate the endpoint, models, and tests. @-mention your existing models.py and database.py for consistency.
Agent Library is a centralized collection of reusable AI agent skills, workflows, prompts, and specialized knowledge modules. Built for Claude Code, Codex, Cursor, and other AI coding agents with an efficient on-demand loading architecture.
An open-source collection of production-ready AI skills, prompts, templates, and workflows for Claude, ChatGPT, Gemini, Cursor, and other AI tools.
A collection of Skills (system prompts) for autonomous AI Agents and LLMs (Google Antigravity, Claude Code, GitHub Copilot, Codex, Cursor, AutoGPT, ChatGPT, Gemini).
许惟的 AI 工具合集 · A growing collection of practical AI tools & skills. First up: diagram-generator (one sentence → clean diagrams).
A curated collection of high-quality AI prompts for ChatGPT, Claude, Gemini, Cursor, and other AI assistants
A curated collection of ready-to-run automation prompts for real-world workflows.
Workflows from the Neura Market marketplace related to this Cursor resource