n8n
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
- 212k
- TypeScript
- 5 h ago
Bridging AI Intelligence with IDE Refactoring Power
Repo Hack23/RefactorAIOperationsIDE, read from GitHub 1 d ago. Hack23 has not joined Take My Repo.
Hack23/RefactorAIOperationsIDE is a public repo on GitHub by Hack23. Bridging AI Intelligence with IDE Refactoring Power. It declares the Apache-2.0 license on GitHub. It has 2 stars and last changed on 2025-09-25. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-21.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
๐ Open-source solution that transforms AI-generated code suggestions into safe, semantic-aware IDE refactoring operations
| Approach | Method | Result | Risk Level |
|---|---|---|---|
| ๐ด AI Generative | Creates new code from scratch | Loses all context, breaks dependencies | โ ๏ธ HIGH |
| ๐ก Text Replacement | Find & replace strings | Misses semantic meaning | โ ๏ธ MEDIUM |
| ๐ข IDE Refactoring | AST transformations | Preserves all relationships | โ ZERO |
Key Insight: Current AI assistants GENERATE code instead of TRANSFORMING it, making them fundamentally destructive rather than constructive.
graph LR
subgraph "โจ NON-DESTRUCTIVE Refactoring Flow"
A[๐ค Developer Intent] -->|"Natural Language"| B[๐ค AI Understanding]
B -->|"Maps to Operations"| C[๐ง RefactorAI Engine]
C -->|"IDE Commands"| D[๐ป AST Transformations]
D -->|"Atomic & Safe"| E[โ
Perfect Result]
style A fill:#74c0fc,stroke:#339af0,color:#fff
style B fill:#8ce99a,stroke:#51cf66,color:#fff
style C fill:#ffd43b,stroke:#fab005,color:#000
style D fill:#a5d8ff,stroke:#4dabf7,color:#000
style E fill:#8ce99a,stroke:#51cf66,color:#fff
end
subgraph "๐ก๏ธ Safety Guarantees"
G1[Compilation Success โ]
G2[All Tests Pass โ]
G3[References Updated โ]
G4[Rollback Available โ]
style G1 fill:#d3f9d8,stroke:#51cf66
style G2 fill:#d3f9d8,stroke:#51cf66
style G3 fill:#d3f9d8,stroke:#51cf66
style G4 fill:#d3f9d8,stroke:#51cf66
end
Every refactoring operation MUST result in compilable, working code. No exceptions.
We TRANSFORM existing code using IDE operations, never GENERATE replacements.
Every operation understands the code's meaning, not just its text.
All operations can be undone with a single command.
Updates ALL references across the entire codebase automatically.
mindmap
root((๐ง IDE Operations))
๐ Naming & References
Rename Element
Methods
Fields
Variables
Types
Packages
Update References
Same File
Cross File
JavaDoc
Comments
๐ฆ Code Organization
Extract Operations
Extract Method
Extract Variable
Extract Constant
Extract Class
Extract Interface
Extract Superclass
Introduce Operations
Parameter Object
Factory Method
Indirection
Parameter
๐ Code Movement
Move Operations
Move Method
Move Type
Move Package
Move Static Members
Hierarchy Changes
Pull Up
Push Down
Extract Interface
Use Supertype
๐ Structural Changes
Method Signature
Add Parameter
Remove Parameter
Change Return Type
Reorder Parameters
Inline Operations
Inline Method
Inline Variable
Inline Constant
Encapsulation
Encapsulate Field
Generate Getters/Setters
๐ฏ Advanced Patterns
Dependency Breaking
Extract Interface
Dependency Inversion
Introduce Facade
Design Patterns
Factory Pattern
Builder Pattern
Strategy Pattern
Cycle Resolution
Package Restructuring
Layer Separation
Module Extraction
graph TB
subgraph "๐ข SAFE Operations - Always Non-Destructive"
S1[โ
Rename with References]
S2[โ
Extract Method]
S3[โ
Move with Updates]
S4[โ
Change Signature]
S5[โ
Extract Interface]
style S1 fill:#8ce99a,stroke:#51cf66
style S2 fill:#8ce99a,stroke:#51cf66
style S3 fill:#8ce99a,stroke:#51cf66
style S4 fill:#8ce99a,stroke:#51cf66
style S5 fill:#8ce99a,stroke:#51cf66
end
subgraph "๐ก VALIDATED Operations - Checked Before Execution"
V1[โ ๏ธ Inline Method]
V2[โ ๏ธ Pull Up Method]
V3[โ ๏ธ Push Down Field]
style V1 fill:#fff3bf,stroke:#fab005
style V2 fill:#fff3bf,stroke:#fab005
style V3 fill:#fff3bf,stroke:#fab005
end
subgraph "๐ด NEVER - Destructive Anti-Patterns"
D1[โ Delete & Recreate]
D2[โ String Replace]
D3[โ Manual Edit]
style D1 fill:#ffe3e3,stroke:#ff6b6b
style D2 fill:#ffe3e3,stroke:#ff6b6b
style D3 fill:#ffe3e3,stroke:#ff6b6b
end
graph TB
subgraph "๐จ User Interface Layer"
UI[IDE Plugin UI]
CLI[CLI Interface]
API[REST API]
end
subgraph "๐ง Intelligence Layer"
INT[Intent Analyzer]
MAP[Operation Mapper]
VAL[Validation Engine]
end
subgraph "๐ง Execution Layer"
MCP[MCP Server]
ADAPT[IDE Adapters]
EXEC[Refactoring Executor]
ROLL[Rollback Manager]
end
subgraph "๐ก๏ธ Safety Layer"
PRE[Pre-conditions Check]
POST[Post-conditions Verify]
TEST[Test Runner]
COMP[Compiler Check]
end
UI --> INT
INT --> MAP
MAP --> VAL
VAL --> PRE
PRE --> MCP
MCP --> ADAPT
ADAPT --> EXEC
EXEC --> POST
POST --> TEST
TEST --> COMP
style UI fill:#ffd43b,stroke:#fab005
style INT fill:#74c0fc,stroke:#339af0
style PRE fill:#ff8cc3,stroke:#f06595
style EXEC fill:#8ce99a,stroke:#51cf66
graph LR
subgraph "โจ RefactorAI Solution"
A[๐ค Developer Intent] -->|"Natural Language"| B[๐ค AI Analysis]
B -->|"MCP Protocol"| C[๐ง RefactorAI Engine]
C -->|"IDE Commands"| D[๐ป Native IDE Operations]
D -->|"Safe Refactoring"| E[โ
Clean Code]
style A fill:#74c0fc,stroke:#339af0,color:#fff
style B fill:#8ce99a,stroke:#51cf66,color:#fff
style C fill:#ffd43b,stroke:#fab005,color:#000
style D fill:#a5d8ff,stroke:#4dabf7,color:#000
style E fill:#8ce99a,stroke:#51cf66,color:#fff
end
RefactorAI acts as an intelligent bridge between AI language models and IDE refactoring engines:
mindmap
root((๐ง RefactorAI))
๐ฏ Core Refactorings
๐ Rename
Types
Methods
Variables
Packages
๐ฆ Extract
Method
Interface
Superclass
Variable
๐ Move
Class
Method
Package
๐ Transform
Inline
Pull Up
Push Down
๐ง Advanced Features
๐ Cycle Detection
Package cycles
Class dependencies
Import analysis
๐๏ธ Architecture
Layer violations
Pattern detection
SOLID compliance
๐ Analytics
Tech debt scoring
Complexity metrics
Impact analysis
๐ Integrations
๐ป IDEs
Eclipse
IntelliJ
VS Code
Visual Studio
๐ค AI Models
GitHub Copilot
Claude
GPT-4
Local LLMs
๐ง Tools
Git
Maven/Gradle
CI/CD
graph TB
subgraph "๐ง Basic Refactorings"
R1[๐ท๏ธ Rename]
R2[๐ค Extract Method]
R3[๐ฅ Inline]
R4[๐ Move]
style R1 fill:#e3f2fd,stroke:#2196f3,color:#0d47a1
style R2 fill:#e3f2fd,stroke:#2196f3,color:#0d47a1
style R3 fill:#e3f2fd,stroke:#2196f3,color:#0d47a1
style R4 fill:#e3f2fd,stroke:#2196f3,color:#0d47a1
end
subgraph "๐๏ธ Structural Refactorings"
S1[๐บ Extract Superclass]
S2[๐ป Extract Interface]
S3[โฌ๏ธ Pull Up]
S4[โฌ๏ธ Push Down]
style S1 fill:#f3e5f5,stroke:#9c27b0,color:#4a148c
style S2 fill:#f3e5f5,stroke:#9c27b0,color:#4a148c
style S3 fill:#f3e5f5,stroke:#9c27b0,color:#4a148c
style S4 fill:#f3e5f5,stroke:#9c27b0,color:#4a148c
end
subgraph "๐ฏ Advanced Refactorings"
A1[๐ Break Cycles]
A2[๐ฆ Parameter Object]
A3[๐ญ Introduce Factory]
A4[๐ญ Introduce Facade]
style A1 fill:#e8f5e9,stroke:#4caf50,color:#1b5e20
style A2 fill:#e8f5e9,stroke:#4caf50,color:#1b5e20
style A3 fill:#e8f5e9,stroke:#4caf50,color:#1b5e20
style A4 fill:#e8f5e9,stroke:#4caf50,color:#1b5e20
end
graph TB
subgraph "๐จ Frontend Layer"
UI[IDE Plugin UI]
CLI[CLI Interface]
API[REST API]
end
subgraph "๐ง Intelligence Layer"
INT[Intent Analyzer]
SMELL[Code Smell Detector]
PLAN[Refactoring Planner]
end
subgraph "๐ง Execution Layer"
MCP[MCP Server]
ADAPT[IDE Adapters]
EXEC[Refactoring Executor]
end
subgraph "๐พ Data Layer"
HIST[History Store]
METR[Metrics DB]
CONF[Configuration]
end
UI --> INT
CLI --> INT
API --> INT
INT --> SMELL
SMELL --> PLAN
PLAN --> MCP
MCP --> ADAPT
ADAPT --> EXEC
EXEC --> HIST
EXEC --> METR
style UI fill:#ffd43b,stroke:#fab005
style INT fill:#74c0fc,stroke:#339af0
style MCP fill:#8ce99a,stroke:#51cf66
style EXEC fill:#ff8cc3,stroke:#f06595
graph LR
subgraph "๐ฏ Scope & Naming"
REN[Rename]
REN --> REN1[Variables]
REN --> REN2[Methods]
REN --> REN3[Classes]
REN --> REN4[Packages]
style REN fill:#e1f5fe,stroke:#03a9f4
style REN1 fill:#b3e5fc,stroke:#03a9f4
style REN2 fill:#b3e5fc,stroke:#03a9f4
style REN3 fill:#b3e5fc,stroke:#03a9f4
style REN4 fill:#b3e5fc,stroke:#03a9f4
end
subgraph "๐ฆ Code Organization"
EXT[Extract]
EXT --> EXT1[Method]
EXT --> EXT2[Variable]
EXT --> EXT3[Interface]
EXT --> EXT4[Superclass]
style EXT fill:#f3e5f5,stroke:#9c27b0
style EXT1 fill:#e1bee7,stroke:#9c27b0
style EXT2 fill:#e1bee7,stroke:#9c27b0
style EXT3 fill:#e1bee7,stroke:#9c27b0
style EXT4 fill:#e1bee7,stroke:#9c27b0
end
subgraph "๐ Dependency Management"
CYC[Break Cycles]
CYC --> CYC1[Package Level]
CYC --> CYC2[Class Level]
CYC --> CYC3[Method Level]
style CYC fill:#e8f5e9,stroke:#4caf50
style CYC1 fill:#c8e6c9,stroke:#4caf50
style CYC2 fill:#c8e6c9,stroke:#4caf50
style CYC3 fill:#c8e6c9,stroke:#4caf50
end
| Refactoring | Before Complexity | After Complexity | Impact |
|---|---|---|---|
| ๐ค Extract Method | CC: 15 | CC: 3 ร 5 | -67% complexity |
| ๐๏ธ Extract Class | LOC: 500 | LOC: 200 + 150 + 150 | Better cohesion |
| ๐ฆ Parameter Object | Params: 8 | Params: 2 | -75% parameters |
| ๐ Break Cycle | Circular: Yes | Circular: No | 100% improvement |
| ๐ฏ Move Method | Feature Envy: High | Feature Envy: None | Proper encapsulation |
| Feature | Eclipse | IntelliJ | VS Code | Visual Studio |
|---|---|---|---|---|
| Basic Refactorings | โ | โ | โ | โ |
| AI Integration | โ | โ | โ | โ |
โ Full Support | ๐ง In Development | โ Not Planned
graph TB
subgraph "โ Before: Circular Dependency"
A1[Service A] --> B1[Service B]
B1 --> C1[Service C]
C1 --> A1
style A1 fill:#ff6b6b,stroke:#c92a2a
style B1 fill:#ff6b6b,stroke:#c92a2a
style C1 fill:#ff6b6b,stroke:#c92a2a
end
subgraph "โ
After: Clean Architecture"
A2[Service A] --> I[Interface]
B2[Service B] --> I
C2[Service C] --> I
style A2 fill:#8ce99a,stroke:#51cf66
style B2 fill:#8ce99a,stroke:#51cf66
style C2 fill:#8ce99a,stroke:#51cf66
style I fill:#74c0fc,stroke:#339af0
end
Command: "Break the circular dependency between these services"
RefactorAI Actions:
// Before: 500-line method with 15 parameters
public void processOrder(String id, String customer, String product,
int quantity, double price, String address,
String city, String zip, String country,
boolean express, double discount, String coupon,
String payment, String card, Date delivery) {
// 500 lines of spaghetti code...
}
// After: Clean, testable code
public void processOrder(OrderRequest request) {
Order order = createOrder(request);
validateOrder(order);
applyDiscounts(order);
processPayment(order);
scheduleDelivery(order);
}
graph LR
subgraph "๐ฆ Monolith"
M[Monolithic App]
end
subgraph "๐ฏ Microservices"
MS1[User Service]
MS2[Order Service]
MS3[Payment Service]
MS4[Notification Service]
end
M -->|"RefactorAI"| MS1
M -->|"Extraction"| MS2
M -->|"Process"| MS3
M -->|"โจ"| MS4
style M fill:#ffd43b,stroke:#fab005
style MS1 fill:#74c0fc,stroke:#339af0
style MS2 fill:#8ce99a,stroke:#51cf66
style MS3 fill:#ff8cc3,stroke:#f06595
style MS4 fill:#c5f6fa,stroke:#22b8cf
MIT License - see LICENSE file for details.
๐ Star us on GitHub to support the project!
Hack23/RefactorAIOperationsIDE is a public repo on GitHub by Hack23. Bridging AI Intelligence with IDE Refactoring Power.
It declares the Apache-2.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2025-09-25. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
A hand-picked collection of the finest of resources for the most awesome of agents, Claude Code, the undisputed champion of coding companions, from the unstoppable team at Anthropic PBC (no affiliation). A delectable showcase of top tier skills, ambidextrous agents, scintillating status lines, top notch developer tooling, and also we have plugins

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Citizen Intelligence Agency. Open-source intelligence platform analyzing Swedish political activities using AI and data visualization. Tracks politicians, government institutions, and parliamentary data, offering detailed insights, performance metrics, and advanced analytics.
Hack23 Public Information Security Management System:Security Through Transparency and Open Documentation Demonstrating Security Excellence Through Public ISMS Disclosure
European Parliament MCP Server - Political intelligence for AI agents
Sonarqube cloudformation plugin, IaC security supports cfn-nag/checkov
The CIA Compliance Manager is an application that helps organizations assess and manage the availability, integrity, and confidentiality of their systems and data based on customizable security levels, providing real-time cost estimates, business impact assessments, and technical implementation details.
European Parliament Political Intelligence Platform - Radical transparency - Democratic accountability - AI-generated news in 14 languages