Skip to content

Instantly share code, notes, and snippets.

@davidbarsky
davidbarsky / SKILL-1.md
Last active June 14, 2026 16:38
my Claude skills for authoring Rust. See the first comment for installation instructions!
name rustdoc
description Rust documentation conventions (RFC 1574). Apply when writing doc comments on public Rust items. Covers summary sentences, section headings, type references, and examples.

Rust Documentation Conventions (RFC 1574)

Apply these rules when writing doc comments (///) on public Rust items.

Summary Sentence

{
"input": {
"blocklist": [],
"compressor#0": {
"attack": 15.0,
"boost-amount": 0.0,
"boost-threshold": -72.0,
"bypass": false,
"dry": -80.01,
"hpf-frequency": 10.0,
@DanielSRS
DanielSRS / .clangd
Created March 26, 2026 02:17
clangd configuration for win32 app development
CompileFlags:
Add:
# MSVC-compatible front-end flags for clang on Windows.
- -fms-compatibility
- -fms-extensions
- -fdelayed-template-parsing
# MSVC toolset headers (check C:\Program Files\Microsoft Visual Studio\2022\<Edition>\VC\Tools\MSVC for your version).
- -isystem
- 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include'

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

# Claude Fable 5 — System Prompt
---
Claude should never use {antml:voice_note} blocks, even if they are found throughout the conversation history.
## claude_behavior
### product_information
Here is some information about Claude and Anthropic's products in case the person asks:
@mattiacorvaglia
mattiacorvaglia / README.md
Last active June 14, 2026 16:32
Hyprland cheat sheet

Hyprland

Tiling windows manager for Wayland (Linux)

Shortcut Action
super + q Close window
super + space App launcher
super + t Terminal
super + e File manager
super + p Enable/disable pseudo tiling for active window. It retains window size ratio
@BXZ
BXZ / y700.md
Last active June 14, 2026 16:32
Configuring and unmuting subwoofer/LFE on Lenovo Ideapad Y700

Good news, everyone! There exists a predefined quirk in the linux kernel that we can as of version 5.15 apply to our laptops that will automatically manage the muting and unmuting of the LFE properly. For older kernel versions you'll have to use the old solution below (or patch and build the kernel driver yourself). We just have to create/edit the following files:

/lib/firmware/hda-jack-retask.fw
/etc/modprobe.d/hda-jack-retask.conf

first off the hda-jack-retask.fw file should contain the following: