summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
committerPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
commit11eea6a82cbfdde40ec1457c6ea080da4da6b7dc (patch)
tree8026068f6a3beb3ee02c45f06f4487f4b89caaf1 /AGENTS.md
parent5c3e0b5cf99d028c4f06be7a825388b296e37a22 (diff)
feat: implement amp AI tool support and replace Taskfile with Magev0.10.0
- Add amp as default AI tool for release notes and showcase generation - Fallback chain: amp → hexai → claude → aichat - Replace Taskfile.yaml with magefile.go for build automation - Update all documentation (README.md, AGENTS.md, doc/development.md) - Update version to 0.10.0 Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 81f789a..354820a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -7,13 +7,13 @@
- `doc/`: architecture, API, and development docs. `dist/`: build artifacts.
## Build, Test, and Development Commands
-- Build (current platform): `task build` or `go build -o gitsyncer ./cmd/gitsyncer`.
-- Cross-compile: `task build-all` (linux/darwin/windows variants also available).
-- Run binary: `./gitsyncer --help` or `task run -- --version`.
-- Unit tests (when present): `task test` or `go test ./...`.
+- Build (current platform): `mage build` or `go build -o gitsyncer ./cmd/gitsyncer`.
+- Cross-compile: `mage buildAll` (linux/darwin/windows variants also available).
+- Run binary: `./gitsyncer --help` or `mage run`.
+- Unit tests (when present): `mage test` or `go test ./...`.
- Integration tests: `cd test && ./run_integration_tests.sh`.
-- Format/lint: `task fmt`, `task vet`, `task lint` (golangci-lint).
-- Tidy modules: `task mod-tidy`.
+- Format/lint: `mage fmt`, `mage vet`, `mage lint` (golangci-lint).
+- Tidy modules: `mage modTidy`.
## Coding Style & Naming Conventions
- Go formatting: enforce `gofmt`/`go fmt`; prefer `goimports` in your editor.
@@ -31,7 +31,7 @@
- Commits: Conventional Commits format — `type(scope): summary`.
- Examples: `feat(sync): add bidirectional mode`, `fix(config): validate organizations`.
- PRs: clear description, linked issues, testing notes (unit + integration), and updated docs (`doc/` or `README.md`) when user-visible.
-- Keep changes focused; run `task fmt vet lint` before submitting.
+- Keep changes focused; run `mage fmt vet lint` before submitting.
## Security & Configuration Tips
- Configuration lives at `~/.config/gitsyncer/config.json` (see `gitsyncer.example.json`). Do not commit secrets.