build-setup
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
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 -y skills add openhands/extensions --skill setup-openhands --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setup-openhandsContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: setup-openhands description: 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. triggers: - setup-openhands - set up openhands - configure openhands for this repo
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.
Create `.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:
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
Create `.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:
This repository is the public extensions registry for OpenHands. It contains reusable, shareable skills, plugins, and Agent Canvas Apps that customize agent behavior and interfaces. Skills overview docs: SDK skill guide:
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when…
Apply mainframe dependency transformations to COBOL code using a pre-generated transformation guide. Converts CICS/VSAM…
Migrate COBOL code to idiomatic Java, preserving business logic while following Java best practices. Use for COBOL modernization…
A test skill that responds to the magic word "alakazam" with a specific phrase