# AGENTS.md

:traffic_light:小程序雷达：AI 驱动的小程序技术选型、趋势追踪和迁移诊断工具

## Setup

```
npm ci
```

## Commands

```
npm run dev                        # run locally
npm run start                      # run the app
npm run build                      # produce a build
npm run typecheck                  # type check without emitting
npm run check                      # lint and type check
npm run integrations:verify
npm run integrations-verify:test
npm run generate
```

## Layout

- `scripts/`    58 source files
- `lib/`        30 source files
- `app/`        29 source files
- `components/` 12 source files
- `drizzle/`    5 source files
- `db/`         2 source files

## Conventions

- Tests live alongside the code they cover, following `scripts/smoke-test.ts`.
- TypeScript runs in strict mode. Type errors are the fastest feedback available, so do not weaken it.
- CI defines what passing means. See `.github/workflows/deploy-pages.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- Copy `.env.example` before running anything that needs configuration.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
