All challengesCHALLENGE 01 OF 25

Add the Missing Validation Command

Add a clear validation command for code changes.

Beginner

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.

YOUR AGENTS.mdEdit the Current AGENTS.md shown in the challenge
AGENTS.mdMarkdown
Loading editor…

Sign in to save progress across devices.

Your answer is checked locally against the challenge rules. No AI is used for evaluation.