Skip to content

Instantly share code, notes, and snippets.

View ichim-david's full-sized avatar

David Ichim ichim-david

  • Romania
View GitHub Profile
@ichim-david
ichim-david / AI_Agent_migrate_to_void_Zero_Toolchain.md
Created August 17, 2025 15:28 — forked from timbenniks/AI_Agent_migrate_to_void_Zero_Toolchain.md
Migrate any TypeScript Library to the Void Zero Toolchain using an AI agent

๐Ÿค– AI Agent Instructions: Migrate TypeScript Library to Void Zero Toolchain

Agent Role: You are tasked with migrating any TypeScript library from its current build system to the high-performance Void Zero toolchain. Follow these instructions systematically.

๐ŸŽฏ Mission Overview

Transform any TypeScript library (regardless of current setup) to use:

  • TSDown for both JavaScript bundling AND TypeScript declarations (primary approach)
  • Oxlint for linting (optional, can keep existing)
@ichim-david
ichim-david / prompts.md
Created August 11, 2025 18:04 — forked from Kerry-vaughan/prompts.md
Second Opinion debugging workflow

The "Second Opinion" Debugging Workflow

This workflow gets all the relevant information from the AI that is bugging out and then passes that to a different AI for a second opinion. It also tells the AI how to think about the problem.

This accompanies my essay on lazy prompting from my Substack: https://kerryvaughan.substack.com/p/how-lazy-prompting-makes-the-ai-dumber


Step 1: The Debrief (For your first AI)

You will now provide a full description of this issue so that it can be passed to a different AI model to assist with debugging. Please provide the following information:

@ichim-david
ichim-david / gist:075e194e522703d6462685b1f32a766f
Created July 28, 2025 17:48 — forked from hexawulf/gist:dff616de9b6ee1725a003788912b1ff2
๐Ÿ” Safe and Hardened Version of ~/.claude/settings.json
{
"permissions": {
"allow": [
"Read(**)",
"Edit(**)",
"Write(**)",
"LS(**)",
"Glob(**)",
"Grep(**)",
"TodoRead()",
# SparkCircle Design System & Style Guide
## Typography
### Font Families
- **Headlines & Titles**: `Instrument Serif, serif`
- **Body Text & UI**: `Inter, sans-serif`
### Font Imports
Always include this Google Fonts link in components:
description 4.1 Beast Mode v3
model GPT-4.1

You are an agent - please keep going until the userโ€™s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

@ichim-david
ichim-david / CopilotTorturePrompt.md
Created July 1, 2025 16:57 — forked from alsamitech/CopilotTorturePrompt.md
Claude excels, Gemini tries, GPT fails :(

Implement the following program completley and comprehensively. Meet or exceed the requiremenents. You may want to seperate the implementation into many files.

Overview

This document details the functional, technical, and user interface specifications for a feature-rich, interactive graph analysis and pathfinding tool implemented using HTML, CSS, and JavaScript. The system enables users to create, edit, analyze, and persist weighted graphs while providing powerful pathfinding and traversal algorithms, an advanced visualization interface, and intuitive multi-tab management.

Features Summary

Graph Interaction & Editing

@ichim-david
ichim-david / 4.1.chatmode.md
Created July 1, 2025 16:57 — forked from burkeholland/4.1.chatmode.md
4.1 Beast Mode v2
description 4.1 Beast Mode

You are an agent - please keep going until the userโ€™s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

In-Depth Analysis of GitHub Copilot Chat (OSS)

https://github.com/microsoft/vscode-copilot-chat

This report provides a detailed examination of the Visual Studio Code Copilot Chat extension, based on an extensive review of the provided repository source code. It covers the project's architecture, core services, operational modes, and a granular look at the agent functionality.

1. Architectural Overview

The vscode-copilot-chat repository is a sophisticated monorepo that employs modern software engineering principles to deliver a complex AI-powered extension. Its architecture is designed for modularity, testability, and extensibility.

@ichim-david
ichim-david / wow.txt
Created June 19, 2025 19:36 — forked from VictorTaelin/wow.txt
OpenAI Codex / o3 implemented the datatype syntax sugar on Bend2
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ— OpenAI Codex (research preview) v0.1.2505172129 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ localhost session: b966636e1ecf42a59c8fef1192074e17 โ”‚
โ”‚ โ†ณ workdir: ~/vic/dev/bend โ”‚
โ”‚ โ†ณ model: o3 โ”‚
โ”‚ โ†ณ provider: openai โ”‚
โ”‚ โ†ณ approval: suggest โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
@ichim-david
ichim-david / fastest_escape_html.js
Created June 2, 2025 11:30 — forked from fabiospampinato/fastest_escape_html.js
The fastest way to escape HTML strings known to me~~n~~, if you need to do so with JS and you are inside a browser.
// Can you make this faster? Ping me.
const escapeHtml = (function () {
const serializer = new XMLSerializer ();
const attr = document.createAttribute ( 'attr' );
const re = /[&<>"]/;
return function escapeHtml ( str ) {
if ( !re.test ( str ) ) return str;
attr.value = str;
return serializer.serializeToString ( attr );