Skip to content

Instantly share code, notes, and snippets.

View swarajbachu's full-sized avatar
😎
sup?

wiz ⚔️ swarajbachu

😎
sup?
View GitHub Profile
@swarajbachu
swarajbachu / SKILL.md
Created July 27, 2026 16:06
Reference Repositories skill — reusable local cache for inspecting external repositories
name reference-repos
description Clone and inspect external repositories in a reusable local reference cache. Use this skill when the user asks to explore, inspect, investigate, compare, or answer questions about a repository that may not already be in the current workspace.
allowed-tools Bash(mkdir -p ~/.zuse/reference-repos) Bash(ls -la ~/.zuse/reference-repos) Bash(git clone *)

Use this skill to explore repositories without cluttering the active workspace.

Repository Cache

@swarajbachu
swarajbachu / SKILL.md
Created July 27, 2026 15:58
Zuse agent skill — project setup, worktrees, repository configuration, and self-orchestration
name zuse
description Configure and troubleshoot Zuse projects, repository settings, worktrees, scripts, schemas, and native provider skills.

Zuse

Use this skill when helping with Zuse project setup, .zuse/settings.toml, worktree creation, setup/run/archive scripts, files to include in worktrees, provider skills, user settings, keybindings, orchestration tools, MCP, or

@swarajbachu
swarajbachu / tiptap-editor.dom.tsx
Last active September 5, 2025 09:00
tiptap editor mobile
/** biome-ignore-all lint/suspicious/noExplicitAny: DOM imperative methods require any[] for JSONValue compatibility */
"use dom";
import Highlight from "@tiptap/extension-highlight";
import Placeholder from "@tiptap/extension-placeholder";
import Typography from "@tiptap/extension-typography";
import { EditorContent, useEditor } from "@tiptap/react";
import StarterKit from "@tiptap/starter-kit";
import type { JSONValue } from "expo/build/dom/dom.types";
import { type DOMImperativeFactory, useDOMImperativeHandle } from "expo/dom";