How threerocks/hand-drawn-styles works
hand-drawn-styles is an agent-agnostic library of 21 hand-drawn image-style prompt recipes. The principal workflow is: an agent follows the protocol, selects a style and supplies content, then the renderer fills the recipe and returns a copyable prompt; image generation is performed separately by the user’s chosen model. Styles requiring reference images resolve them through a manifest-backed cache. The README documents these capabilities; the source excerpts show renderer-to-image-helper calls, but do not expose every protocol-to-script detail.
Main entry points: render_prompt.py Prompt renderer · hosted_images.py Image resolver · PROTOCOL.md Usage protocol · validate_style_20_asset.py Style 20 gate
Components 10
Prompt workflow
- Usage protocol
PROTOCOL.md - Prompt renderer
scripts/render_prompt.py - Final prompt
Style recipes
- Style catalog
STYLES.md
Reference images
- Image resolver
scripts/hosted_images.py - Image manifest
assets/image-manifest.json
Production validation
- Style 20 gate
scripts/validate_style_20_asset.py
Other components
- AI agent
- Image model
- Netlify image host
Connections 10
- AI agent → Usage protocol: follows
README.md - Usage protocol → Prompt renderer: guides use
- Prompt renderer → Style catalog: extracts recipe
scripts/render_prompt.py - Prompt renderer → Image resolver: resolves references
scripts/render_prompt.py - Image resolver → Image manifest: reads records
README.md - Image resolver → Netlify image host: downloads images
scripts/hosted_images.py - Prompt renderer → Final prompt: renders prompt
README.md - Final prompt → Image model: used separately
README.md - AI agent → Prompt renderer: supplies content
- Style 20 gate → Prompt renderer: uses PNG decoder
scripts/validate_style_20_asset.py