Vibe CodingFeature iterationComplex

Add a complete feature to an existing project

Understand the repository first, then deliver one end-to-end feature with the smallest justified change surface.

Task specification
Task type
Feature iteration
Target platform
Web
Existing project
Required
Compatible tools
Codex · Claude Code · Cursor · GitHub Copilot
Before you start

Prepare this information

Fill in the essential material before handing the task to a coding agent.

  • An accessible project and run instructions
  • The complete feature request and user journey
  • Interfaces or behavior that must remain compatible
  • Observable acceptance criteria and permission boundaries
Copy-ready template

Complete task template

Replace the placeholders in braces. Implementation boundaries and verification requirements are already included.

Act as a coding agent working inside an existing repository. Implement {feature request} in {project path}, cover {user journey}, preserve {compatibility requirements}, and satisfy {acceptance criteria}. First read the relevant code, tests, configuration, dependencies, and project guidance. Inspect the Git working tree and preserve every unrelated change. Do not ask questions that the repository can answer, and do not assume a backend, permission, or data contract exists. Restate the goal and non-goals, then list concrete, falsifiable assumptions. Ask at most three blocking questions only when a wrong answer would invalidate the approach, and include a recommended default. Continue the remaining work with the safest choice that matches existing conventions. Trace the real user journey through entry points, state, data boundaries, and failure paths. Reuse existing components and services. Change only files required for the outcome. Cover loading, empty, error, retry, insufficient-permission, and duplicate-action states; consider idempotency, concurrency, and rollback for writes. Do not opportunistically refactor unrelated modules, upgrade dependencies, or change public contracts. Add tests for important branches in the repository's style, run the real application through the journey, and execute formatting, type, test, and build checks. If an assumption proves false, pause the affected work and explain the evidence and smallest adjustment instead of silently expanding scope. Report the visible result, changed files, data or API impact, actual command and page evidence, uncovered branches, and rollback path. Claim completion only when both end-to-end behavior and repository gates truly pass.
After it finishes

Do not rely on a claim of completion

Check the real page, runtime behavior, and test evidence item by item.

  • Unrelated working-tree changes remain intact
  • Happy and failure journeys are verifiable
  • Critical tests and repository gates pass
  • API impact remaining risks and rollback are explicit

Inspiration source

This prompt is an original adaptation. The source X post appears below, and you can also open it directly on X.

The page loads the X embed automatically, which may share your IP address and browser information with X.

Open original on X

Loading the X post…

Keep building

Related Vibe Coding prompts