build-setup
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes recently modified code across three dimensions - code reuse, code quality, and efficiency - and provides actionable improvement suggestions. This skill should
$ npx -y skills add openhands/extensions --skill code-simplifier --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-simplifierContext preview
The summary Claude sees to decide when to auto-load this skill.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes recently modified code across three dimensions - code reuse, code quality, and efficiency - and provides actionable improvement suggestions. This skill should
name: code-simplifier description: Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes recently modified code across three dimensions - code reuse, code quality, and efficiency - and provides actionable improvement suggestions. This skill should be used when the user asks to "simplify code", "refine code", "clean up code", "improve code quality", or requests a simplification review of recent changes. triggers: - /simplify
Analyze recently modified code and suggest refinements that improve clarity, consistency, and maintainability - without changing what the code does. The review covers three complementary aspects:
1. **Code Reuse** - Eliminate duplication, consolidate shared logic, leverage existing utilities. 2. **Code Quality** - Improve naming, reduce complexity, enforce project standards from `AGENTS.md`. 3. **Efficiency** - Fix algorithmic issues, remove unnecessary work, optimize resource usage.
By default, focus on recently modified code. Use `git diff` or the file list from the current PR/MR to determine the changed files. When the user specifies a different scope, follow their instruction:
When sub-agent capability is available, delegate each review aspect to a separate sub-agent for parallel, focused analysis:
1. **Code Reuse Review Agent** - Read `references/code-reuse-review.md` and analyze the changed files for duplication and consolidation opportunities. 2. **Code Quality Review Agent** - Read `references/code-quality-review.md` and analyze the changed files for clarity, naming, complexity, and standards compliance. 3. **Efficiency Review Agent** - Read `references/efficiency-review.md` and analyze the changed files for performance and resource usage issues.
Each sub-agent should:
After all sub-agents complete, synthesize their findings into a single consolidated report.
When sub-agents are not available, perform all three reviews sequentially:
1. Read `references/code-reuse-review.md` - review for duplication and reuse 2. Read `references/code-quality-review.md` - review for clarity and standards 3. Read `references/efficiency-review.md` - review for performance and resources
Apply the criteria and output format from each reference document.
Present the combined results from all three review aspects:
## Code Simplification Review ### Scope [List of files reviewed and how scope was determined] ### Code Reuse [Findings from the reuse review, using **[REUSE]** tags] ### Code Quality [Findings from the quality review, using **[QUALITY]** tags] ### Efficiency [Findings from the efficiency review, using **[EFFICIENCY]** tags] ### Summary [Overall assessment: is the code in good shape, or does it need significant refinement?] [Prioritized list of the most impactful changes to make first]
When a review aspect has no findings, include it with an explicit "no issues found" statement rather than omitting the section.
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