- Home
- Skills
- Onekeyhq
- App Monorepo
- 1k Monitor Pr Ci
1k-monitor-pr-ci_skill
- TypeScript
2.3k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill onekeyhq/app-monorepo --skill 1k-monitor-pr-ci- SKILL.md4.3 KB
Overview
This skill monitors a pull request’s CI checks and review comments until all checks pass and reviewer issues are resolved. It continuously polls the PR, summaries CI results and new review feedback, and can apply safe, non-destructive fixes for common CI failures. Use it to watch CI status, respond to reviewer comments, and prepare a PR for merge with minimal manual overhead.
How this skill works
The skill determines the target PR from a number, a GitHub PR URL, or by detecting the current branch. It enters a poll loop (up to 30 iterations) that fetches CI check statuses and review comments each cycle, displays a concise status summary, and chooses actions based on priorities. When it detects fixable CI failures it applies code fixes, commits, and pushes; when it finds new review comments it presents them and asks whether to address them. It respects safety rules: no force-pushes, each change is a new commit, and re-runs are only performed if you request them.
When to use it
- Watching a PR until CI checks finish and pass
- Waiting for intermittent or delayed checks to complete
- Automatically fixing straightforward CI failures (lint, type, or tests from your changes)
- Alerting and responding to new reviewer comments on a PR
- Preparing a PR to be merge-ready without manual polling
Best practices
- Run from the feature branch or provide the PR number/URL to avoid ambiguity
- Review suggested auto-fixes before pushing when prompted
- Limit auto-fixes to clear, code-local issues (lint, type, test failures caused by your changes)
- Decline or review fixes for infra or unrelated failures; decide to rerun or escalate
- Use the prompt for review comments so you control behavior and avoid unintended code changes
Example use cases
- A lint rule broke after a recent change—auto-fix, commit, and push to restart CI
- A long-running test suite is pending—monitor until it finishes or ask to extend the polling window
- New reviewer requests changes—display comments, accept to auto-apply fixes, or defer
- Intermittent infra failures—detect non-fixable errors and prompt for manual intervention
- Prepare a PR for merge by ensuring all checks pass and reviewer concerns are addressed
FAQ
It detects the current git branch and queries GitHub for an open PR matching that head; if none is found it stops and informs you.
Which CI failures will it auto-fix?
It auto-fixes clear, local issues like lint or type errors and failing tests caused by your changes. Infra, flaky, or unrelated failures are reported and require your direction.
Will it re-run CI workflows automatically?
No. The skill does not re-run workflows unless you explicitly request a rerun with the appropriate command.