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,26 @@
# AGENTS.md
## Project overview
This repository is a Go backend service with HTTP endpoints and background jobs.
## Important directories
- `cmd/server/` — main server entrypoint
- `internal/api/` — HTTP layer
- `internal/service/` — business logic
- `internal/store/` — persistence
- `internal/jobs/` — background jobs
- `tests/` — integration tests
## Commands
- test: `go test ./...`
- build: `go build ./...`
- lint: `golangci-lint run`
## Working rules
- Prefer minimal diffs
- Avoid touching generated code unless requested
- Do not change schema or migrations unless requested
- Identify whether tests need external services before running them
## Additional harness files
See `ai/project-map.md`, `ai/task-templates.md`, and `ai/risk-guardrails.md`.