Workflow
Set up a coding agent on an existing repository
Give a coding agent the context and guardrails it needs before you hand it real tasks.
The guide. Beginner, about 30 minutes
Problem to solve
A coding agent dropped into an unfamiliar repository guesses at conventions, commands and boundaries, and produces work you have to redo.
Before you start
A repository you can run locally, and a coding agent installed.
Steps
1. Write down how to install, run, test and lint the project, and check each command works from a clean checkout. 2. Add an instructions file at the repository root with those commands, the folder layout and the rules the agent must follow. 3. List what the agent must not do without asking, such as deleting data, deploying or changing secrets. 4. Give the agent one small, well-defined task and read every change it makes. 5. Add what it got wrong to the instructions file, then repeat with a slightly larger task.
What you’ll need.
- AgentClaude Codecoding agent
- IntegrationAGENTS.mdinstructions file
- TechniqueContext engineeringtechnique
Signals. What has been measured, and where.
Insufficient data
No trend history or community ratings have been measured for this entry. When they are, they will appear here with their sources.