code-transformation

Applies design-specified code transformations including dependency updates, framework migrations, and configuration changes.

1|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill code-transformation-vanduc2514
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-transformation
Source: https://github.com/vanduc2514/hackathon-lablab-ibm-bob/tree/main/.bob/skills/code-transformation
Command: npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill code-transformation-vanduc2514

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Executing a migration design requires systematically transforming source code across many files while keeping the codebase compiling and tests passing. This Skill guides the incremental application of refactoring patterns, dependency updates, and framework-specific migrations so changes stay verifiable and reversible. ## Core Features & Use Cases - Dependency and Import Updates: Applies substitutions such as javax.* to jakarta.* when moving from Spring Boot 2.7 to 3.2. - Framework Migration Patterns: Converts framework-specific code, for example Quarkus Panache entities to Spring Data JPA repositories, and migrates configuration formats. - Incremental Transformation Strategies: Supports component-by-component, layer-by-layer, or feature-by-feature execution with compilation checks, test runs, and rollback points after each step. - Use Case: Migrating a service from Quarkus to Spring Boot by transforming entities, repositories, security configuration, and application.yml while documenting every change in execution_code_changes.md. ## Quick Start Apply the design specifications in design_target_architecture.md and design_component_strategies.md to transform this codebase incrementally, verifying compilation and tests after each component.

Frequently Asked Questions about code-transformation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Spring Boot 2.7 to 3.2?▼

Update javax.* imports to jakarta.*, replace deprecated APIs like WebSecurityConfigurerAdapter with SecurityFilterChain, and adjust Spring Data queries for Hibernate 6 compatibility. Apply changes incrementally per component and run tests after each step.

How to convert Quarkus Panache entities to Spring Data JPA?▼

Remove the PanacheEntity base class, add an explicit @Id field with @GeneratedValue, and move static finder methods into a Spring Data repository interface extending JpaRepository. Update configuration from quarkus.* properties to spring.* YAML keys.

What inputs does code transformation require before starting?▼

It requires design_target_architecture.md, design_component_strategies.md, and design_dependency_mapping.md, plus the current codebase under version control. These design documents define the target stack, component strategies, and dependency substitutions.

Which transformation strategy should I choose for a large codebase?▼

Choose component-by-component for isolated modules, layer-by-layer when layers share dependencies, or feature-by-feature for end-to-end slices. Base the choice on dependency relationships, testing requirements, rollback complexity, and team coordination needs.

How are breaking changes and rollbacks handled during migration?▼

Breaking changes affecting APIs or behavior are documented in execution_code_changes.md, and git commits or tags serve as rollback points. Transformations are applied in small verifiable steps so any failing change can be reverted safely.