feat: add target repo examples and file layout guidance
This commit is contained in:
26
examples/go-project/AGENTS.md
Normal file
26
examples/go-project/AGENTS.md
Normal 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`.
|
||||
Reference in New Issue
Block a user