Feature Implementation with Tests

Developer Toolscursor-vs-windsurffeature_descriptionacceptance_criteriaframework

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.

Prompt
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

{{feature_description}}{{acceptance_criteria}}{{framework}}{{relevant_files}}{{reference_feature}}

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 OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use 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.