dinky
CLAUDE.md519 starsChanged 7 months agoMITView on GitHub
Dinky is 35 MB installed (image/video encoders plus bundled qpdf and its dylibs, e.g. OpenSSL). That's still the whole point: before adding anything — a framework, dependency, asset, font, or feature — mentally check its bundle size impact first. Rules: - Prefer Apple frameworks always: SwiftUI, Foundation, AppKit, UserNotifications, AVFoundation, etc. They're free — already in the OS, zero bundle cost. - Never add an SPM or CocoaPods dependency without explicit approval from Derek AND a clear size justification. -…
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Prefer Apple frameworks always: SwiftUI, Foundation, AppKit, UserNotifications, AVFoundation, etc.
- Distinctive: line 9
Never add an SPM or CocoaPods dependency without explicit approval from Derek AND a clear size justification.
- Distinctive: line 10
If a feature would meaningfully grow the binary (>100 KB), find a lighter native implementation or skip it.
- Distinctive: line 11
No Electron, no web views, no bundled runtimes, no embedded web engines.
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dinky — Agent Rules
App Size (Non-negotiable)
Dinky is 35 MB installed (image/video encoders plus bundled qpdf and its dylibs, e.g. OpenSSL). That's still the whole point: before adding anything — a framework, dependency, asset, font, or feature — mentally check its bundle size impact first.
Rules:
- Prefer Apple frameworks always: SwiftUI, Foundation, AppKit, UserNotifications, AVFoundation, etc. They're free — already in the OS, zero bundle cost.
- Never add an SPM or CocoaPods dependency without explicit approval from Derek AND a clear size justification.
- If a feature would meaningfully grow the binary (>100 KB), find a lighter native implementation or skip it.
- No Electron, no web views, no bundled runtimes, no embedded web engines. Ever.
- Assets (images, fonts) should be SVG/SF Symbols where possible. Raster assets must be justified.
Current footprint reference: Dinky 35 MB vs Optimage 62 MB vs ImageOptim 17.6 MB. Keep it dinky.
Project Context
- macOS app, SwiftUI + macOS 26 (Tahoe),
.glassEffect(),.ultraThinMaterial - Built by Derek Castelli — full-time freelance web designer (Webflow/Figma) at heyderekj.com
- Compression engines:
cwebp,avifenc,oxipng(CLI tools, not bundled) - GitHub: https://github.com/heyderekj/dinky
In this repository2 other files it gives its agents.
- agents.mdAGENTS.md
- site/llms.txtllms.txt
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

