Imported from ZeroClue/uptime-monitor (
AGENTS.md). Install upstream withnpx skills add ZeroClue/uptime-monitor. Copyright stays with the author.
AGENTS.md
This file configures agent behavior for this repository.
Agent skills
Issue tracker
GitHub Issues via gh CLI. See docs/agents/issue-tracker.md.
Triage labels
Default five-role vocabulary: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See docs/agents/triage-labels.md.
Domain docs
Single-context: CONTEXT.md at root + docs/adr/. See docs/agents/domain.md.
Implementation workflow
Each step ends in a checkable gate; a failed gate stops the workflow.
- Branch — Never commit directly to
main. One ticket per branch:git checkout -b implement-<slug>. If working-tree changes span two tickets, split them onto separate branches before the first commit, not after review. - Commit and push each commit — Clear conventional messages (
feat:,fix:,docs:). Push immediately after every commit. A local-only commit is silently dropped by squash merges. - PR — Open with
gh pr create. EveryCloses #Nmust name the issue whose acceptance criteria this diff actually implements (read the issue body; roadmap numbering and issue numbers diverge). Applyready-for-agentif the PR is agent-grabbable. - Code review — Run
/code-reviewagainstmain(the merge-base). Fix findings on the same branch; commit AND push the fixes before merging. Review without landed fixes is a no-op. - Verify remote matches the intended diff —
gh api repos/{owner}/{repo}/pulls/<N>/filesmust list every file in the full change set (check after every push). Merging an under-pushed PR lands only what GitHub has; the rest is lost until someone notices. - Live verification — For user-facing behavior, deploy locally (
docker build+docker-compose up) and exercise the feature (playwright-cli for UI, curl for APIs) before merging. Unit tests green is necessary, not sufficient. - Merge — Once 4-6 pass:
gh pr merge --squash --delete-branch. - Close tickets — Issues linked with
Closes #Nauto-close on merge; close stragglers withgh issue close <N> --comment "Done in #<PR>". An issue counts as done only when its acceptance criteria are verified in code onmain(read/grep/build/test), never because a PR or commit message mentioned it. Partial work: keep the issue open, note progress in a comment, split remaining criteria into focused issues. - Update CONTEXT.md — If domain terms or decisions changed during implementation, update
CONTEXT.mdand add an ADR if the decision is hard to reverse.