Skip to content

Instantly share code, notes, and snippets.

View lovelaced's full-sized avatar
🔌
plugged in

e.g. magical unicorn lovelaced

🔌
plugged in
View GitHub Profile
@lovelaced
lovelaced / SKILL.md
Created May 20, 2026 21:02
android claude skill
name android-native-app
description Build production-grade Android applications with strong opinionated defaults. Covers Jetpack Compose UI, native NDK pipelines via CMake FetchContent, design systems extracted from research, GitHub Actions release flows, and the local toolchain setup that makes iteration fast. Strongly research-led — spawns parallel research agents before any code is written. Triggers when the user asks to build a new Android app, scaffold one, port an existing app to Android, or substantially upgrade an existing Android project's engineering and design quality.

Android Native App

Build Android applications that feel like products, not prototypes. The goal isn't to make something that compiles — it's to make something that looks, feels, and operates at the level a discerning user would actually want to use. The path to that quality is short if you follow a research-first method and use the right defaults; it's a long slog if you don't.

Working principles

@lovelaced
lovelaced / SKILL.md
Created March 30, 2026 20:51
suno sfx generation + trimmer
name suno-sfx-trimmer
description Generate Suno Sounds prompts for game/app SFX and auto-trim the output to precise durations using ffmpeg. Use when user asks to create sound effects, write Suno prompts for SFX, trim audio files to target durations, batch process game audio, or normalize sound effects. Triggers on "Suno sound effects", "SFX prompts", "trim audio", "sound effect generation", "game audio", "booster pack sounds", "normalize SFX". Do NOT use for music production, full song generation, or non-SFX audio work.
metadata
author version category tags
burrito
1.0.0
audio
suno
sfx
audio
ffmpeg
game-audio
@lovelaced
lovelaced / SKILL.md
Last active March 30, 2026 13:37
gsap skill for making game animations
name gsap-game-animations
description Create joyful, premium game-feel animations using GSAP and Canvas 2D. Use when user asks to build interactive animations, pack openings, reveal sequences, carousels, particle effects, or celebratory/gamified UI. Triggers on "GSAP animation", "particle effect", "card reveal", "pack opening", "carousel animation", "celebration effect", "game animation", "canvas particles". Do NOT use for simple CSS transitions, static layouts, React Spring/Framer Motion projects, or general frontend work without animation focus.
metadata
author version category tags
burrito
1.1.0
animation
gsap
animation
particles
game-ui
@lovelaced
lovelaced / SKILL.md
Created March 13, 2026 20:37
productization of readmes and best practices
name product-readme
description Creates polished, product-quality README.md files for open source projects. Use when user asks to "write a README", "productize the README", "make the README look professional", "add screenshots to README", or wants to improve an existing README's presentation and structure.
license MIT
metadata
author version category tags
burrito
1.0.0
documentation
readme
documentation
open-source
screenshots
product
@lovelaced
lovelaced / suno_SKILL.md
Created March 7, 2026 16:37
suno claude skill

SKILL.md — Writing Effective Suno v5 Prompts

Overview

Suno v5 has two input fields: a Style Prompt and a Lyrics/Structure Field. The style prompt defines the sound. The structure field defines the shape. Both matter, but they do different jobs. This document covers how to write both for any genre, any mood, any use case.

The Two Fields

Style Prompt

@lovelaced
lovelaced / suno.txt
Created March 7, 2026 16:31
suno prompt example
LYRICS SECTION
[Intro]
(silence, then single deep sub pulse, heartbeat rhythm, darkness)
. . .
. .
.
[Build]
(filtered noise rises, ghost kicks emerge, scattered hihats, faint acid murmur beneath)
@lovelaced
lovelaced / SKILL.md
Last active March 6, 2026 23:54
demo skill
name demoscene-webgl-demo
description Build audio-synchronized visual demos in a single HTML file using WebGL2/GLSL raymarching. Covers SDF-based 3D scenes, multi-pass rendering with bloom, phase-based timeline choreography, and real-time audio-reactive visuals via Web Audio API. Use when asked to create demoscene demos, WebGL raymarching, audio-reactive graphics, music visualizers, or choreographed visual experiences.
import React, { useState, useRef, useCallback, useEffect } from 'react';
function calculateOtsuThreshold(imageData) {
const histogram = new Array(256).fill(0);
const data = imageData.data;
let totalPixels = 0;
for (let i = 0; i < data.length; i += 4) {
if (data[i + 3] > 0) {
const gray = Math.round(0.299 * data[i] + 0.587 * data[i + 1] + 0.114 * data[i + 2]);
@lovelaced
lovelaced / polkavm_contracts.md
Last active February 21, 2026 12:33
.claude/skills for polkavm rust contracts

PolkaVM Smart Contract Development

This skill covers building, testing, and deploying smart contracts for the Polkadot Asset Hub using PolkaVM (RISC-V based virtual machine).

Environment Overview

  • Runtime: PolkaVM (RISC-V based, not EVM)
  • Network: Paseo Asset Hub TestNet
  • RPC URL: https://eth-rpc-testnet.polkadot.io/
  • Language: Rust (#![no_std])
@lovelaced
lovelaced / matrix_users_auth_provider.sh
Last active December 29, 2022 21:46
find matrix users who don't use the google auth provider
#!/bin/bash
# Print the usage of the script if the SERVER_URL or ADMIN_TOKEN arguments are not provided
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Usage: $0 SERVER_URL ADMIN_TOKEN"
exit 1
fi
# Get the SERVER_URL and ADMIN_TOKEN from the command line arguments
SERVER_URL="$1"