Skip to content

Instantly share code, notes, and snippets.

View lissahyacinth's full-sized avatar

Lissa Hyacinth lissahyacinth

View GitHub Profile
@lissahyacinth
lissahyacinth / audit_SKILL.md
Created March 2, 2026 14:28
Audit Skill for Claude Code
name description argument-hint allowed-tools
audit
Multi-phase codebase consistency audit. Scans for signals (TODOs, ignored tests, rot), builds shadow documentation of Claude's understanding per-file, then cross-references everything to surface inconsistencies and questions for the human.
[scan|shadow|crossref|all|reset|answer N]
Read, Grep, Glob, Bash, Agent, Write, Edit, AskUserQuestion

Codebase Consistency Audit

You maintain a set of audit documents in .claude/audit/ that represent YOUR understanding of this codebase. These documents are yours — the human can read them, but you own them. Never edit the user's source files during an audit.

@lissahyacinth
lissahyacinth / ShardedRedis.rs
Created October 22, 2025 20:49
Redis-like KV Store using Distributed Sharding
//[dependencies]
// axum = "0.8.6"
// serde = {version = "1.0.228", features = ["derive"]}
// tokio = {version = "1.48", features = ["full"]}
// tracing = "0.1.41"
// tracing-subscriber = {version = "0.3", features = ["env-filter"]}
// tower = {version = "0.5", features = []}
// tower-http = {version = "0.6", features = ["trace"]}
// [dev-dependencies]
import asyncio
import pathlib
from dataclasses import dataclass, field
from typing import Final
import loguru
import numpy as np
from kali_worker.service import KaliServiceConfig
from kali_worker.task import task
from kalipysdk import WorkflowDefinition
pub enum Direction {
Left,
Right,
Up,
Down,
UpperLeft,
UpperRight,
DownLeft,
DownRight,
}
@lissahyacinth
lissahyacinth / pyarrowmetatest.py
Created October 28, 2021 08:55
Stripped down PyArrow Metatest
import ast
import base64
import itertools
import os
import signal
import struct
import tempfile
import threading
import time
import traceback
from typing import TypeVar, Generic, Union, Optional
from dataclasses import dataclass
from enum import Enum, auto
carrier = TypeVar('carrier')
item = TypeVar('item')
@dataclass
class List(Generic[item]):
def cata(self,a):
minikube start --memory=8gb --cpus=4 --driver=docker --kubernetes-version=v1.17.17 \
--extra-config=apiserver.service-account-signing-key-file=/var/lib/minikube/certs/sa.key \
--extra-config=apiserver.service-account-key-file=/var/lib/minikube/certs/sa.pub \
--extra-config=apiserver.service-account-issuer=kubernetes.default.svc.cluster.local \
--extra-config=apiserver.service-account-api-audiences=api,spire-server,nats \
--extra-config=apiserver.authorization-mode=Node,RBAC \
--extra-config=kubelet.authentication-token-webhook=true
#![cfg(feature = "native")] // required for data i/o
extern crate coaster_blas as co_blas;
extern crate coaster as co;
use std::fmt;
use crate::co::backend::{Backend, IBackend};
use crate::co::framework::{IFramework};
use crate::co::plugin::numeric_helpers::{cast, Float, NumCast};
@lissahyacinth
lissahyacinth / column_dyn.rs
Last active August 11, 2019 23:02
RustDyn
pub fn map_column<'a, ColumnType: 'static, A: 'static, B: 'static>(
column_data: &'a ColumnInformation<ColumnType>,
column_idx: usize,
indexes: &[usize],
map_fn: A,
) -> Box<dyn Iterator<Item = B> + 'a>
where
A: Fn(ColumnType) -> B,
ColumnType: std::clone::Clone,
{
@lissahyacinth
lissahyacinth / .zshrc
Last active June 10, 2019 10:32
zsh profile
# Path to your oh-my-zsh installation.
export ZSH="~/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
plugins=(git osx history)