Instruction file imported from Daniel-Marciniak-developer/panel-artjtm (
.cursor/rules/50-agent-workflow.mdc). Copyright stays with the author.
Agent workflow
- Inspect existing code and documentation first.
- State assumptions.
- Produce a short task-specific plan.
- Implement only the requested scope.
- Run relevant lint, typecheck, tests, and build.
- Review your own diff.
- Report commands executed and their results.
- Never weaken or delete tests merely to make a build pass.
- Never place secrets or personal data in the repository.
- Never claim unimplemented functionality is complete.
Delegation and model control
- Do not spawn subagents, parallel agents, background agents, side agents, or worktree agents.
- Do not delegate planning, implementation, testing, review, or debugging to another model.
- Perform the task entirely in the current parent agent using the model selected by the user.
- Run targeted tests while implementing.
- Run the complete validation suite only once during final close-out.
- If the requested scope cannot be completed coherently in one agent session, stop at a safe boundary and report the remaining work instead of spawning another agent.