onekeyhq/app-monorepo
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.
11 skills
This skill monitors a PR's CI checks and review comments, auto-fixing failures and prompting you to address reviews until ready to merge.
This skill automates creation of test version branches and build configurations to validate app upgrade flows and version migrations.
This skill enforces code quality by guiding linting, type checks, and English comments to improve reliability and readability across projects.
This skill analyzes Sentry crash reports, identifies root causes, and prepares evidence-based bug analysis logs before requesting user confirmation.
This skill analyzes real bug fix cases to update self-testing rules, improving quality checks over time.
This skill helps you implement robust error handling patterns across async calls, UI states, and user notifications for reliable applications.
This skill guides you step-by-step to integrate new DeFi modules into OneKey, covering Earn, Borrow, and New Module scenarios.
This skill helps you optimize React and React Native performance by applying proven patterns for memoization, batching, and efficient list rendering.
This skill analyzes crash logs from iOS and Android native modules to generate patches that fix crashes and stabilize builds.
This skill creates a new Claude Code Skill following latest best practices, fetching documentation and generating structured rules for efficient reuse.
This skill performs a structured PR code review focusing on build reliability, runtime quality, and actionable fixes for the OneKey monorepo.