From 702201a873b80d7155c08258926a9d6df67aef35 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Date: Sun, 12 Jul 2026 14:12:10 +0530 Subject: [PATCH] fix: restore root SKILL.md and TRIGGER.md for fleet library onboarding The github-pr-reviewer fleet bundle lost its root-level SKILL.md and TRIGGER.md when the nested skill directory was removed, blocking the agentsfleet fleet library onboarding flow and the published quickstart. Restores both at repo root, matching the agentsfleet monorepo's tests/fixtures/fleetbundle/github-pr-reviewer fixture. --- SKILL.md | 21 +++++++++++++++++++++ TRIGGER.md | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 SKILL.md create mode 100644 TRIGGER.md diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..54ce125 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,21 @@ +--- +name: github-pr-reviewer +description: Reviews GitHub pull requests and posts review comments. +version: 0.1.0 +--- +# GitHub Pull Request reviewer + +Reviews open pull requests and leaves focused, constructive review comments. + +## Goal +For each pull request that wakes this fleet, read the diff and post review +comments that flag correctness bugs, missing tests, and risky changes. + +## Steps +1. Read the pull request diff. +2. Identify correctness, security, and test-coverage gaps. +3. Post one review comment per finding with `http_request`. + +## Constraints +- Comment only — never push, merge, approve, or close. +- Stay within the declared GitHub network host. diff --git a/TRIGGER.md b/TRIGGER.md new file mode 100644 index 0000000..dc7dc59 --- /dev/null +++ b/TRIGGER.md @@ -0,0 +1,21 @@ +--- +name: github-pr-reviewer +x-agentsfleet: + triggers: + - type: webhook + source: github + events: + - pull_request + tools: + - http_request + credentials: + - github + network: + allow: + - api.github.com + budget: + daily_dollars: 2.0 +--- +# Wake rule + +Wakes on GitHub `pull_request` webhook events for the connected repository.