feat: add target repo examples and file layout guidance

This commit is contained in:
2026-04-29 21:55:22 +08:00
parent c507e52dc1
commit 5c80bc12fd
17 changed files with 253 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
# AGENTS.md
## Project overview
This repository is a Node.js + TypeScript service for handling billing and subscription events.
## Important directories
- `src/routes/` — HTTP handlers
- `src/services/` — business logic
- `src/db/` — database access
- `tests/` — unit and integration tests
- `scripts/` — development and maintenance scripts
## Commands
- install: `pnpm install`
- test: `pnpm test`
- lint: `pnpm lint`
- typecheck: `pnpm tsc --noEmit`
- build: `pnpm build`
## Working rules
- Prefer minimal diffs
- Do not change database schema unless explicitly requested
- Do not upgrade dependencies unless explicitly requested
- Add or update tests for behavior changes
- Prefer targeted validation first, then broader validation if needed
## Additional harness files
See `ai/project-map.md`, `ai/task-templates.md`, and `ai/risk-guardrails.md`.