plugins/onboarding/skills/setup-openhands/SKILL.md
Set up a repository for effective use with OpenHands. Creates AGENTS.md, setup and pre-commit scripts, and a PR review workflow. Designed to run automatically with minimal user intervention. Use when a user wants to configure their repo for OpenHands.
npx skillsauth add openhands/skills setup-openhandsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Work through these steps in order.
Run setup-agents-md to generate a root-level AGENTS.md from the repo's actual
CI workflows, build files, and documentation.
.openhands/setup.shCreate .openhands/setup.sh — a bootstrap script that runs at the start of
every OpenHands session. Read the repo's CI workflows, AGENTS.md, and build
files to determine the correct commands. The script should:
.env.example to .env)Keep it idempotent and fast. Use the real commands from CI, not generic examples.
Docs: https://docs.openhands.dev/openhands/usage/customization/repository#setup-script
.openhands/pre-commit.shCreate .openhands/pre-commit.sh — runs before every commit OpenHands makes.
Read the repo's CI workflows to find the lint and test commands, then mirror
them in the script. Exit non-zero on failure so the agent gets immediate
feedback instead of waiting for CI.
The script should run the same checks CI runs — if CI runs ruff check and
pytest, run those. If it runs cargo clippy and cargo test, run those.
Docs: https://docs.openhands.dev/openhands/usage/customization/repository#pre-commit-script
Run setup-pr-review to create the GitHub Actions workflow and walk the user
through configuration.
Confirm all files exist and are correct:
AGENTS.md at repo root with real commands (not boilerplate).openhands/setup.sh with the project's actual install/bootstrap commands.openhands/pre-commit.sh mirroring the CI lint/test checks.github/workflows/pr-review.yml with valid YAMLtools
Iterate on a GitHub pull request — drive it through CI, code review, and QA until it is merge-ready. Poll verification layers with `gh` CLI, diagnose and fix CI failures, address review feedback, retry flaky checks, push fixes, and repeat. The agent is the orchestration loop.
development
Guides technical explanations toward flowing, direct, conversational prose. This skill should be used for engineering chat, design discussion, architecture analysis, code-review explanations, and technical recommendations that should be concise without becoming fragmented or vague.
tools
This skill should be used when the user asks to "set up a Jira automation to create pull requests", "poll Jira for create-pr issues", "automatically create GitHub PRs from Jira tickets", "deploy a Jira issue-to-PR automation", "create a Jira to GitHub PR workflow", or mentions automating GitHub PR creation from a Jira label. Deploys a cron-based OpenHands automation that watches a Jira Cloud project for issues labeled with a configurable label (default: "create-pr") and spawns an agent conversation to create a GitHub pull request for each new issue found. The target GitHub repository is read from the body of the Jira ticket - no repo parameter is required at deploy time.
tools
This skill should be used when the user asks to "create an automation", "schedule a task", "set up a cron job", "webhook integration", "event-triggered automation", or mentions automations, scheduled tasks, cron scheduling, or webhook events in OpenHands Cloud.