Feature Implementation with Tests
Cursor's Composer mode and Windsurf's Cascade both handle multi-file feature implementation. The reference feature instruction ensures consistency with your existing codebase. Ordering by dependency prevents import errors.
Implement the following feature: Feature: {{feature_description}} Acceptance criteria: {{acceptance_criteria}} Technical context: - Framework: {{framework}} - Relevant existing files: {{relevant_files}} - Similar existing feature to reference: {{reference_feature}} Implementation plan: 1. List all files that need to be created or modified 2. Implement the feature following the patterns in {{reference_feature}} 3. Write tests for every acceptance criterion 4. Update any shared types/interfaces affected by the change 5. Add/update API routes if the feature requires backend changes Rules: - Follow existing project conventions exactly (check the reference feature) - No new dependencies without explaining why existing ones can't work - Every user-facing string should be in the existing i18n pattern (if one exists) - Handle loading, error, and empty states for any new UI components Deliver as a list of files with their complete contents, ordered by dependency (types first, then backend, then frontend).
Variables to customize
Why this prompt works
Cursor's Composer mode and Windsurf's Cascade both handle multi-file feature implementation. The reference feature instruction ensures consistency with your existing codebase. Ordering by dependency prevents import errors.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.