Class: OllamaAgent::Skills::ArchitectureRefactorer

Inherits:
Base
  • Object
show all
Defined in:
lib/ollama_agent/skills/architecture_refactorer.rb

Overview

Refactors a code blob into a clean architecture without changing behavior.

Constant Summary collapse

SCHEMA =
{
  type: "object",
  required: %w[folder_structure architecture_notes refactored_code],
  properties: {
    folder_structure: { type: "array" },
    architecture_notes: { type: "string", minLength: 1 },
    refactored_code: { type: "string", minLength: 1 }
  }
}.freeze

Method Summary

Methods inherited from Base

#call, #initialize, register_as, skill_id

Constructor Details

This class inherits a constructor from OllamaAgent::Skills::Base