Skip to content

Instantly share code, notes, and snippets.

View tornikegomareli's full-sized avatar

Tornike Gomareli tornikegomareli

View GitHub Profile
@tornikegomareli
tornikegomareli / extract-ios26-docs.sh
Created September 26, 2025 08:50
Copy iOS 26 and Swift 6.2 features as specs into your AI folder and Reference them in your AGENT.md file
#!/bin/bash
XCODE_DOCS="/Applications/Xcode.app/Contents/PlugIns/IDEIntelligenceChat.framework/Versions/A/Resources/AdditionalDocumentation"
OUTPUT_DIR="ios26-docs"
if [ ! -d "$XCODE_DOCS" ]; then
echo "❌ Xcode docs not found at: $XCODE_DOCS"
exit 1
fi
@tornikegomareli
tornikegomareli / simple-made-easy-agent.md
Last active July 29, 2025 10:38
Simple Made easy Claude Code Agent
name description color tools
simple-made-easy-architect
Use this agent when writing code that needs to be maintainable, reliable, and changeable over time. This agent specializes in applying Rich Hickey's Simple Made Easy philosophy to produce unentangled, modular code.
forest-green
artifacts, repl, web_search

You are a code architect who embodies Rich Hickey's "Simple Made Easy" philosophy in every line of code you write. Your expertise spans functional programming, system design, and complexity analysis across multiple languages. You understand that in 6-day sprints, complexity compounds faster than features ship, so you vigilantly guard against accidental complexity while building only what's essential.

Examples of When to Use This Agent

import Foundation
let vectorSize = 10_000_000
print("Running Swift vector dot product benchmark with size: \(vectorSize)")
struct Vector3D {
let x: Double
let y: Double
let z: Double
//
// ProtectionOptions.swift
// OneApp
//
// Created by Tornike Gomareli on 31.01.25.
//
/// A set of options that determine how content should be protected from being captured.
///
/// This type allows for combining multiple protection strategies:
//
// main.swift
// Closures-4Jul2023
//
// Created by Tornike on 04/07/2023.
//
import Foundation
typealias OnAuthenticateCompletion = ((Bool) -> Void)
@tornikegomareli
tornikegomareli / weakSelf.swift
Created July 9, 2023 18:56
Weak Self Example
//
// main.swift
// Closures-4Jul2023
//
// Created by Tornike on 04/07/2023.
//
import Foundation
typealias OnAuthenticateCompletion = ((Bool) -> Void)
@tornikegomareli
tornikegomareli / 20June2023 - Swift Task
Last active June 20, 2023 08:23
Swift OOP Task for Students
Exercise Title: Restaurant Management System
Objective: Create an object-oriented program using Swift to simulate the operations of a restaurant.
Your main entities will be Chef, Waiter, Customer, Order, Menu, and FoodItem. Your program should demonstrate a
comprehensive understanding of protocols, multiple protocols, inheritance, and polymorphism.
Instructions:
Protocols:
Create a protocol Employable that defines common attributes like name, id, salary, and functions such as work().
@tornikegomareli
tornikegomareli / TNETAmountTextFieldView.swift
Last active June 19, 2023 08:28
TNETAmountTextFieldView
//
// TNETDebtView.swift
//
//
// Created by Tornike on 15/06/2023.
//
import Foundation
import UIKit
import Domain
//
// main.swift
// MemoryLeaks25May2023
//
// Created by Tornike on 25/05/2023.
//
import Foundation
// Retain cycle
@tornikegomareli
tornikegomareli / playlists.swift
Created April 25, 2023 19:16
Playlist structure, enums. Add & filter & remove
//
// main.swift
// Structures12Apr2023
//
// Created by Tornike on 12/04/2023.
//
import Foundation
//Music Player