github code-yeongyu/oh-my-opencode v2.13.1

latest releases: v3.0.0-beta.1, v2.14.0, v2.13.2...
3 days ago

Highlights

/refactor Command — Refactoring, Now Automated

This release includes my personal /refactor command—a tool I've been using privately and now sharing with everyone.

Unlike blind search-and-replace or naive rename operations, /refactor operates like a human engineer would:

  1. Codebase Understanding First: Launches parallel explore agents to programmatically map your codebase—dependencies, usage patterns, architectural boundaries—before touching a single line of code.

  2. Deterministic Planning: Based on this comprehensive understanding, creates a detailed refactoring plan. No guessing. No hoping it works. Every step is deliberate.

  3. Verification by Design: Before any refactoring begins, designs a verification strategy—identifying test coverage, regression indicators, and rollback points. If tests are insufficient, it pauses and asks you to add them first.

  4. Surgical Execution: Uses LSP tools and AST-grep for precise, type-safe transformations. Symbol renames propagate correctly across your entire workspace. Pattern transformations are previewed before applying.

From simple variable renaming to full-scale architecture restructuring—the kind of refactoring that was once the exclusive domain of human programmers—Sisyphus now handles with the same care and precision.

Watch Sisyphus refactor your code the way you would. It's honestly kind of beautiful.

Usage:

/refactor "reconstruct Super big AuthService as Multiple services, after consulting with Oracle"

  • 9d13c6c fix(config): skip permission migration for Claude Code agents
  • b78e564 feat(builtin-commands): add /refactor command for intelligent LSP/AST-based refactoring
  • c709faf docs: update 'Just Install It' section with detailed Sisyphus workflow across all languages

Don't miss a new oh-my-opencode release

NewReleases is sending notifications on new releases.