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.
By Threads — Published on
Example results
Prompt template
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.
Parameters
${project-context}
project-context
Required
${requirements}
requirements
Required
Comments — 0