From mecris-skills
Dispatch the pr-test workflow for a PR number from kingdonb/mecris. Polls for completion and summarizes results. Wraps the full test pipeline (pytest + Android) as an invocable skill. Use when an issue is tagged needs-test or pr-review. Trigger with /mecris-pr-test <PR_NUMBER>
npx claudepluginhub kingdonb/mecris --plugin mecris-skillsThis skill uses the workspace's default tool permissions.
Pipeline skill for the Mecris accountability system. Dispatches the pr-test GitHub Actions workflow against an upstream PR, polls until complete, and reports results. The test pipeline itself runs pytest against local postgres and Android unit tests via Gradle — no Neon credentials needed.
Monitors PR health on recurring schedules: merge conflicts, CI/CD failures in GitHub Actions/Buildkite/Vercel/Fly.io, review comment triage/resolution, merge readiness. One-shot triage mode.
Monitors pull requests through to merge by automatically handling CI failures, review comments, and thread resolution until all checks pass. Invoke after PR creation or via /pr-shepherd.
Polls GitHub PR CI checks at intervals until completion or timeout. Useful for checking CI status, waiting for passes, monitoring builds, or verifying PR green status.
Share bugs, ideas, or general feedback.
Pipeline skill for the Mecris accountability system. Dispatches the pr-test GitHub Actions workflow against an upstream PR, polls until complete, and reports results. The test pipeline itself runs pytest against local postgres and Android unit tests via Gradle — no Neon credentials needed.
needs-test or pr-review referencing a PR number/mecris-pr-test <PR_NUMBER>Runs the full pipeline workflow:
pr-test.yml on yebyen/mecris with the given PR numbercompleted (check every 30s, timeout 15min)needs-test issue that triggered thisUsage: /mecris-pr-test 141 — dispatches and polls, returns when done.
curl -X POST \
-H "Authorization: Bearer $GITHUB_CLASSIC_PAT" \
-H "Accept: application/vnd.github+json" \
-H "Content-Type: application/json" \
-d '{"ref":"main","inputs":{"pr_number":"<N>","upstream_repo":"kingdonb/mecris"}}' \
https://api.github.com/repos/yebyen/mecris/actions/workflows/pr-test.yml/dispatches
Requires GITHUB_CLASSIC_PAT (repo scope). In bot context this is already in the environment. In human context source ~/.mecris-bot.env.
After dispatching, wait 10 seconds then fetch the most recent run of pr-test:
curl -s \
-H "Authorization: Bearer $GITHUB_CLASSIC_PAT" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/yebyen/mecris/actions/runs?per_page=5" \
| python3 -c "
import sys,json
runs = json.load(sys.stdin)['workflow_runs']
pr_runs = [r for r in runs if r['name'] == 'pr-test']
if pr_runs:
r = pr_runs[0]
print(r['id'], r['status'], r['conclusion'])
"
Poll every 30 seconds until status == completed. Timeout after 15 minutes — if it hasn't finished, record as inconclusive and archive anyway.
On completion:
| Conclusion | Action |
|---|---|
success | Report ✅, close any needs-test issue, note in plan issue |
failure | Report ❌, link to run logs, note specific failing step if known |
timeout | Report ⏱️ inconclusive, leave needs-test issue open |
The pr-test workflow itself posts a detailed comment on the upstream PR. This skill just reports the top-level conclusion to the current session.
pytest tests/ against a local postgres:16 service container — no Neon credentials needed./gradlew testDebugUnitTest in mecris-go-project/ with JDK 17 — no emulator neededyebyen/mecris:main before testingResults are posted as a comment on the upstream PR by yebyen (the bot's identity).
GITHUB_CLASSIC_PAT is required — fine-grained PATs cannot trigger workflow_dispatch.github/workflows/pr-test.yml) instead of pr-test, there is a YAML parse error in the workflow file — do not poll, investigate insteadkingdonb/mecris — pass upstream_repo input to override