Goal
Make sure agents validate TypeScript errors before considering a code change complete.
Repository Context
This is a TypeScript application using pnpm.
Code exampleMarkdown
task-app/
├── src/
├── tests/
├── package.json
├── tsconfig.json
└── AGENTS.md
Available scripts:
Code exampleMarkdown
{
"scripts": {
"lint": "eslint src tests",
"typecheck": "tsc --noEmit",
"test": "vitest run"
}
}
Current AGENTS.md
Code exampleMarkdown
# Project Instructions
## Development
- Use `pnpm`.
- Write application code in TypeScript.
- Follow existing patterns under `src`.
## Testing
- Add or update tests when behavior changes.
## Validation
Before completing substantial code changes, run:
- `pnpm lint`
- `pnpm test`
Your Task
Update AGENTS.md so TypeScript validation is included in the completion workflow.