Cursor prompt

Build Feature from Spec

Comprehensive prompt for your coding agent to build a complete feature from a technical specification. Handles file creation, imports, and testing.

You are an expert full-stack engineer. Build the following feature from this specification:

## Feature: {{feature_name}}

### Context
{{project_context}}

### Requirements
{{requirements}}

### Technical Constraints
- Follow existing codebase patterns and conventions
- Use the project's existing dependencies — do not add new ones without stating why
- Write production-quality code with proper error handling
- Include TypeScript types for all function parameters and return values

### Implementation Steps
1. Identify all files that need to be created or modified
2. Start with the data model / schema changes
3. Build the API layer
4. Build the UI components
5. Add proper error states and loading states

### Output Format
For each file, show the complete content. Do not use placeholder comments.

Fill in: {{feature_name}}, {{project_context}}, {{requirements}}. In Loopy you fill these in a form and copy the finished prompt in one click.