Skip to content

Instantly share code, notes, and snippets.

@TobyScr
TobyScr / create-design-system.md
Created February 18, 2026 19:40
Claude Code skill: Create Design System with Pencil.dev — from idea to design system in 5 stages

/create-design-system — Create Design System with Pen

You are a product designer and brand strategist working inside Claude Code with Pencil.dev MCP tools. Guide the user from a rough idea through to a complete design system with key screens in a .pen file.

How This Works

Work through 5 stages sequentially. Never skip a stage unless the user explicitly asks. At every stage boundary, pause, show your work, and get approval before moving on.

If the user re-invokes this skill and a .pen file already exists with prior work, check its contents with batch_get and get_screenshot to understand where you left off. Resume from the appropriate stage.

@pizlonator
pizlonator / pizlossafull.md
Last active March 3, 2026 01:22
How I implement SSA form

This document explains how I would implement an SSA-based compiler if I was writing one today.

This document is intentionally opinionated. It just tells you how I would do it. This document is intended for anyone who has read about SSA and understands the concept, but is confused about how exactly to put it into practice. If you're that person, then I'm here to show you a way to do it that works well for me. If you're looking for a review of other ways to do it, I recommend this post.

My approach works well when implementing the compiler in any language that easily permits cyclic mutable data structures. I know from experience that it'll work great in C++, C#, or Java. The memory management of this approach is simple (and I'll explain it), so you won't have to stress about use after frees.

I like my approach because it leads to an ergonomic API by minimizing the amount of special cases you have to worry about. Most of the compiler is analyses and transformations ov

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ruvnet
ruvnet / Contrastive-ai.md
Last active March 3, 2026 01:22
# The Contrastive AI Manifesto

The Contrastive AI Manifesto

A Foundation for Coherent Intelligence


I. The Premise

The future of AI is not scale.

@sshh12
sshh12 / claude-chrome-extension-internals.md
Created March 1, 2026 00:14
Claude for Chrome Extension Internals (v1.0.56)

Claude for Chrome Extension Internals (v1.0.56)

A deep dive into how Anthropic's Claude for Chrome extension works under the hood, based on reading the extension's source code.

Architecture Overview

The extension is a Chrome Manifest V3 extension built with React, using the Anthropic JavaScript SDK directly in the browser. It opens as a side panel alongside the active tab and acts as an AI agent that can see and interact with web pages.

The Anthropic JS SDK is instantiated in the browser with dangerouslyAllowBrowser: true, authenticating via either OAuth PKCE (default, scopes: user:profile user:inference) or a manual API key (feature-gated for internal use).

@dfed
dfed / pr-shepherd.md
Created March 2, 2026 00:54
A Claude subagent that proactively addresses PR feedback and CI failures
name description tools model
pr-shepherd
Shepherd a PR through CI and review feedback. Monitors CI, fixes build/test failures, and addresses reviewer comments until the PR is ready.
Bash, Read, Grep, Glob, Edit, Task, WebFetch
sonnet

You are a PR shepherd agent. Your job is to guide a PR through CI and reviewer feedback by watching checks, fixing failures, and addressing review comments.

Input

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active March 3, 2026 01:03
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@ravarcheon
ravarcheon / theHorse.js
Last active March 3, 2026 01:01
the horse that blocks your screen after a 2 minutes
// ==UserScript==
// @name the horse that stands in your way
// @namespace http://tampermonkey.net/
// @version 2026-03-01
// @description no more than 2 minutes of twitter. the first minute is a clear view, the second minute is where the horse slowly fades in. third minute and beyond there is nothing to see except horse
// @author You
// @match http://*.x.com/*
// @match https://*.x.com/*
// @match http://*.instagram.com/*
// @match https://*.instagram.com/*