Plan, Implement, and Test a Project with a Coding Agent

Give a coding agent project context and requirements, then have it plan the work, implement the functionality, run tests, and fix issues before reporting back.

Vibe Coding KL Republished on Oct 02 0 Bookmarks 0 Copies
Bookmark 0

Example outputs

Download video result 1

Prompt template

Format
Text Parameterized
Inputs
project_context (text, document, code) · Required requirements (text, document) · Required
Outputs
Implementation (code) Plan (text) Test_results (text)
You are working in the project workspace. Use the project context and requirements below to complete the task.

Project context:
${project-context}

Requirements:
${requirements}

First, review the available codebase and produce a concise implementation plan. Then carry out the plan: implement all requested functionality, run the relevant tests, investigate and fix any failures, and rerun tests as needed. Continue until the requirements are implemented and the relevant tests pass. Do not stop after presenting the plan or after producing code without validating it. If you encounter a blocker that prevents completion, explain what is blocked and what information or action is needed.

When finished, summarize the changes made and report the tests run and their results.

Replace the ${…} placeholders with your values before using this prompt. See parameters and defaults below

Parameters

Replace each placeholder with your own value, or use its default when one is provided

${project-context} project-context Required
${requirements} requirements Required

What you'll create

A project-workspace instruction that turns supplied context and requirements into an implementation plan and completed code changes. It requests investigation of failed tests, reruns when needed and a final report of changes and validation results.

Frequently asked questions

Can the agent stop after presenting a plan?

No. The template explicitly asks it to continue through implementation and relevant test validation, or explain a concrete blocker.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each