Welcome to Your Code Workshop
Elena runs a busy software repair shop. She builds web tools for each client. A repo is a folder where code lives. We call it a repo for short. Elena writes code with an helper named Pip. Pip acts like a new shop helper. Pip wants to help build fine items. Yet Pip does not know local habits. Without clear notes, Pip grabs bad tools.
Pip cuts boards in the dark often. Every project has its own special habits. Tests might need one exact run command.
Secret keys must stay in a safe place. Write these rules down once in plain words. Then Pip can start in the right spot. Clear notes save Elena hours of cleanup time. They stop Pip from guessing wrong answers. Think of repo notes as a wall map. The map shows where clean lumber stacks. It warns where sharp blades spin fast. It shows how workers check joints before shipping. Clear notes help Pip work well daily.
A helper needs firm limits to work safely. Without limits, a helper can break client data. Tell Pip which files are safe to touch. Tell Pip which files are off limits. That helps you catch errors before you share the change. A good guide keeps the entire shop happy. You will spend less time fixing bad mistakes. Your helper has a clear path for the next task. A clear path makes every project run smooth. You will enjoy working with your helper more.
- List basic setup and test commands clearly.
- Explain folder layout and key house rules.
- Keep all notes short, true, and fresh.
Tools and Inputs for the Map
Gather real facts before typing any rules. You need your real manifest file first. A manifest is a list of project parts. Manifests name packages, tools, and run steps. Inspect your manifests with your own eyes. Never guess how an app starts up. You also need a clear folder map. Point out source code that humans write. Point out generated files that tools build. Machines rebuild generated files during fresh builds. Pip must never touch generated files directly.
Keep your tool list honest and clean. Never put secret passwords into this guide. A secret value must stay in secure vaults. Pip only needs the right setting names. Name needed keys, but leave values blank. Collect your inputs on a small pad first. Write down true folder names used daily. Note which tools must exist on laptops. With these facts ready, your guide stands strong.
Check each tool name before you write rules. Run each tool once on your own machine. Make sure the tool works without any crashes. If a tool fails, fix that tool first. Do not ask Pip to use broken tools. Pip needs working commands to do good work. Write down exact command flags for the job. Clear flags help Pip find the right path. This practice prevents long loops of wasted time. Good setup makes the whole team feel sure.
- Read manifest files to find true run commands.
- List source folders and label automatic generated files.
- Name needed setup settings without writing secret passwords.
A Worked Example in a Shared Shop
Let us inspect Elena's main software project. Her repo holds two apps together. We call this shared layout a monorepo. A monorepo keeps several apps in one place. Elena has a dashboard and a worker. Pip tried to fix a button bug yesterday. Pip ran the main workshop command directly. That command started the worker app instead. Pip got confused and touched a generated file. The build broke, and the client saw errors.
Elena wrote a guide file named AGENTS.md. She wrote the run line for the dashboard. She noted one client file is generated. Pip must never change that file directly. To fix screen bugs, Pip edits views. Elena added a quick check command too. First, open a clean terminal screen. Type cd packages dashboard into the prompt. Type npm test to run the check. The test suite checks the button label. The output shows one passing test suite. Pip followed the note and fixed the button. The fix passed on the first try.
Let us inspect the exact lines of code. Elena checked line forty in the view file. The button label showed an incorrect word there. Pip replaced the bad word with clean text. Then Pip saved the file to disk cleanly. Pip executed the verified test command right away. The test output showed zero failing test files. Ten unit checks passed in three seconds flat. The client dashboard showed the correct button label. This worked example proves clear rules prevent trouble.
Decisions and Safety Limits
Make firm choices before writing your repo guide. Separate durable shop habits from quick tasks. Durable rules belong inside your repo guide. One-off limits belong in daily prompt notes. Mixing them creates clutter that trips helpers. Next, explain how rules work across folders. Top folder rules apply to the whole workshop. Inner folder notes add rules for one app. When rules meet, tell Pip which wins. Clear priority stops arguments before they start.
Always name risky actions needing human permission. Write down which live deploys need approval. State who may run scripts changing live data. A migration is a script changing live tables. Migrations can erase client rows if mismanaged. Name every action that requires human sign-off. Avoid building a giant rulebook of exceptions. Giant rulebooks confuse helpers and cause strange errors. Keep instructions brief and sharp always. Short, clear limits protect your shop well. They keep Pip moving fast and safely.
Set strict limits around all client databases too. Pip must never push changes to live tables. Only human team members should run migrations there. Give Pip a safe sandbox for every test. A sandbox keeps real client records totally safe. Write down this rule in very plain words. When Pip knows the danger, Pip pauses work. Pip asks a human for help when needed. That simple pause saves your shop from disaster. Firm limits help everybody sleep well at night.
- Keep lasting project habits in the repo guide.
- Require human sign-off for live production database updates.
- Keep instructions short so rules do not fight.
A Practical Sequence for the Work
Follow a careful order when building instructions. First, inspect your manifests and verify commands. Open your package json file on your screen. Look for the test script line directly. Run npm run test in your shell. Make sure each command runs cleanly now. Never write a command you did not verify. Unchecked commands lead to broken test runs. Run the build script to confirm normal operation. Watch the terminal output for any hidden warnings.
Second, document source directories and generated output. Tell Pip which team owns each part. Mark files created by an automatic tool. Write down that generators overwrite manual changes. Add notes about which folders contain raw assets. Third, add concise conventions and explicit limits. State what actions need human approval first. List the exact paths where tests should live. Explain how code style tools format clean files.
Fourth, exercise instructions with one controlled task. Watch Pip work to see if guidance holds. Give Pip a small typo to repair. Observe which folder Pip opens first today. Check if Pip runs the right test command. Correct any misleading words sending Pip astray. If a permission is missing, stop work. Keep that stage visibly incomplete right away. Do not generate a fake substitute result. Stop and wait for true access rules instead.
A Second Use Case: Data Pipelines
Let us visit a company named River Analytics. River runs a nightly data cleaning flow. Their repo contains parsers and export reports. Pip needs strict instructions for safety here. Loose rules could leak sensitive client numbers. The team wrote clear instructions for this repo. They wrote a simple test command for samples. They added an explicit rule for safety. Never connect to live tables during development. They named the exact test sample file.
To test, Pip runs python parse test. The terminal prints three parsed rows safely. Pip sees that mock data worked correctly. They showed Pip where generated summary tables live. Pip learned to update the parser file only. Pip never edits the finished export file. The nightly job runs smoothly every single night. The team saves hours of manual checking. River keeps durable operating guidance concise here. They link to deeper architecture documents elsewhere.
Pip reads the short guide first today. Pip works without delay or costly confusion. Both Elena and River use this method. River engineers inspect the mock data outputs daily. They check that row counts match sample inputs. They confirm that customer fields stay completely masked. Pip logs each transformation step in text files. If a parser fails, Pip halts the run. A human engineer checks the issue right away. Safe habits protect client trust across the company.
Mistakes and Fixes to Watch For
A common mistake is copying someone else's template. Another team might use different tool setups. Copied templates can mention unavailable project tools. They might list nonexistent test suites too. They might describe another team's deployment process. That sends the agent into avoidable retries. Keep verified commands separate from proposed commands. Never promise commands that never ran before. If a test is planned, leave it out. An agent expects listed commands to work.
Run every single command on your laptop. Confirm the exit code returns zero cleanly. Show Pip what good output looks like. Instructions can become stale after folder moves. Assign maintenance responsibility to a teammate today. Review instructions alongside architecture changes every sprint. Do not treat old notes as permanent facts. Update file paths as soon as folders shift. Check that links inside instructions still work well. Remove dead references to old project folders quickly.
Use the table below to check instructions. These checks prove rules guide your agent. Walk through each row on your own screen. Verify that the agent finds the right paths. Make sure no secret keys appear in logs. If a check fails, update your guide right away. Clean instructions protect your project from bad builds. Your helper will work smoothly and deliver results. Testing your rules keeps your team very safe.
| Controlled case | Expected evidence |
|---|---|
| Agent follows the dashboard run command | It starts the intended package and reports unmet prerequisites. |
| Task targets a generated client | The agent identifies the owning source or generator. |
| Instruction file is inspected for secrets | It contains names and setup guidance, not credential values. |
Test Your Guide and Next Actions
You can test your guide quite easily. Give your agent one small repair task. Ask Pip to fix a known typo. Watch how Pip reads your guide today. Does Pip run the right check command? Check the terminal log to be sure. Pip should run the exact test command. The test runner should report green passes. The output confirms that the app is sound. This small test builds confidence in your helper.
Watch if Pip respects generated file limits. If Pip touches generated files, add warnings. If Pip runs unverified commands, remove them. Refining your text takes only few minutes. Each small polish makes your helper faster. Inspect git status to see modified files clearly. Only the view file should show changes now. The generated client file must remain completely untouched. This check proves that your limits work well. You can now assign bigger jobs with ease.
Make your guide part of team reviews. Check it whenever you add new tools. Update it when you change folder names. Roseram can help draft clear prompt files. Access and limits depend on your plan. Clear instructions keep human teams in firm control. Share your guide with new team members too. They will learn shop habits much faster now. A healthy workshop keeps code clean and safe. Enjoy building great apps with your new helper.
Read our repository instructions for the dashboard package. Fix the typo in `packages/dashboard/src/components/view.ts`. Do not edit `packages/dashboard/src/api/client.ts`. Run `cd packages/dashboard && npm test` to verify your change.
Your idea. Your next step.
Put Roseram super intelligence to work.
Bring the idea you keep coming back to. Choose a Roseram plan, then give your project a clear first task. You can think it through, build a first version, and improve it as you learn.
Check current access, plan limits, and pricing before joining.
Your next step
Your quick checklist.
Tick a step as you finish it. Your ticks and feedback stay on this device. They are not public reviews.
0 of 7 complete
Tell the community what you tried or tell us what needs fixing. Include a source if you are correcting a fact.
Your questions, answered
Should instructions contain every project detail?
No. Keep daily work rules very short. Link to big design guides when needed.
Can I copy another repository’s instructions?
You can borrow the clean shape. Still, test each command by hand first. Make sure limits fit this exact project.
How do I know the task is done?
Share your final helpful instruction file. List the exact commands you tested. List tools people must install first. Others must spot facts from pure guesses.
Where should private passwords and tokens stay?
Tokens are secret keys like house passwords. Store real keys in safe local files. Only write key names in public guides.
Want the technical details?Open the code notes, deeper checks, and common questions.
These notes go deeper. Use the parts that fit your project. Examples are for learning; they are not claims that we tested your app.
A worked example: where the task becomes difficult
A fictional monorepo has a dashboard package and a worker package. Running a root development command starts the wrong application for a dashboard bug. The agent also mistakes generated client files for editable source. Repository instructions should identify package-specific commands and the code-generation boundary, with a small example of how to verify a UI change. They should not promise commands that have never been run.
Decisions to make before implementation
Separate durable project conventions from one-off task constraints. Explain the precedence of root and package instructions where the tool supports it. Include commands with required environment prerequisites, but never store secret values in instruction files. Name actions requiring separate authorization, such as production migrations or external notifications. Avoid a giant rulebook whose contradictory exceptions prevent ordinary work.
A practical sequence for the work
Use the sequence below as a task boundary, not as a claim that the example has been executed. Work with approved inputs and the project’s actual architecture. If a required integration or permission is unavailable, keep that stage visibly incomplete rather than generating a plausible substitute result.
- Inspect manifests and confirm the relevant run and check commands.
- Document source directories, generated output and package ownership.
- Add concise conventions and explicit boundaries for consequential actions.
- Exercise the instructions with one controlled task and correct misleading guidance.
A detailed brief you can adapt for your agent
Replace the illustrative context with your approved facts and controlled inputs. Keep the stated boundaries when adapting the brief. The expected deliverable matters more than a particular tool name: ask for an explanation grounded in the inspected material and evidence for the requested outcome.
Draft repository instructions from the inspected package manifests and current conventions. Include dashboard and worker run commands, meaningful checks and generated-file boundaries. Mark unverified commands explicitly. Do not include secret values or grant production deployment authority. Keep task-specific requirements outside the durable project rules.
Failure modes that an attractive preview can hide
Copied instruction templates can mention unavailable tools, nonexistent test suites or another team’s deployment process. That sends the agent into avoidable retries. Keep verified commands separate from proposed future commands. Instructions can also become stale after a package move; assign maintenance responsibility and review them alongside architecture changes rather than treating them as permanent facts.
Acceptance checks and the evidence to retain
Provide the instruction file, the commands actually checked and a list of environment prerequisites. Another contributor should be able to distinguish project conventions from assumptions.
| Controlled case | Expected evidence |
|---|---|
| Agent follows the dashboard run command | It starts the intended package and reports unmet prerequisites. |
| Task targets a generated client | The agent identifies the owning source or generator. |
| Instruction file is inspected for secrets | It contains names and setup guidance, not credential values. |
Common questions
Should instructions contain every project detail?
Keep durable operating guidance concise and link to deeper architecture documents where needed.
Can I copy another repository’s instructions?
Use its structure if useful, but verify every command and boundary against this project.
What is the practical completion criterion?
Provide the instruction file, the commands actually checked and a list of environment prerequisites. Another contributor should be able to distinguish project conventions from assumptions.
Where the facts come from
Use these links to check the technical facts. The stories here are made-up examples to help you learn. Roseram sells AI tools; our examples are not promises of results.
- GitHub: getting useful results from coding tasks ↗
What this source covers
Provider-specific reference for clear task scope and repository instructions; the worked workflows here are original analysis, not claims that every agent implements GitHub features.
References last reviewed 2026-10-11. Writing refreshed 2026-10-14. Spot a mistake? Tell us.