How yang0/handraw-style works
Hand-drawn Style & Layout Prompter is a prompt-authoring skill and visual reference library. Creators choose a theme and optionally style, layout, color, or output mode; the prompt skill assembles bilingual image-generation instructions, with model capability data determining whether to include a style reference image. Separate skills cover posters, article covers, and long-article illustration planning and Markdown insertion. The repository also supplies browsable galleries and custom asset management. Relationships among the prompt components are based on sampled source references; broader skill workflows are documented in the README.
Main entry points: resolve_reference.py Reference resolver · prompt_style.py Prompt composer · layout_library.py Layout resolver · SKILL.md Prompt skill
Components 21
Prompt authoring
- Prompt skill
skills/handdraw-style-prompter/SKILL.md - Prompt composer
skills/handdraw-style-prompter/scripts/prompt_style.py - Poster prompts
skills/poster-prompt-generator/SKILL.md
Visual references
- Style catalog
skills/handdraw-style-prompter/references/styles.json - Layout resolver
skills/handdraw-style-prompter/scripts/layout_library.py - Layout catalog
skills/handdraw-style-prompter/references/layouts.json - Layout prompts
skills/handdraw-style-prompter/references/layouts - Color catalog
skills/handdraw-style-prompter/references/colors.json - Model policy
skills/handdraw-style-prompter/references/model_capabilities.json - Reference resolver
skills/handdraw-style-prompter/scripts/resolve_reference.py - Style reference images
images/individual
Article workflows
- Article cover design
skills/article-cover-designer/SKILL.md - Illustration planning
skills/article-illustration-planner/SKILL.md - Markdown inserter
skills/article-illustration-planner/scripts/insert_illustrations.py
Assets and browsing
- Custom asset manager
skills/handdraw-style-prompter/scripts/custom_library_manager.py - Style gallery
skills/handdraw-style-prompter/gallery/index.html - Layout gallery
skills/handdraw-style-prompter/gallery/layouts.html - Color gallery
skills/handdraw-style-prompter/gallery/colors.html - Prompt assembler gallery
skills/handdraw-style-prompter/gallery/tutorials.html
Other components
- Creator
- Image-generation tool
Connections 20
- Creator → Prompt skill: requests prompts
README.md - Prompt skill → Prompt composer: uses composer
- Prompt composer → Layout resolver: resolves layouts
skills/handdraw-style-prompter/scripts/prompt_style.py - Prompt composer → Reference resolver: resolves references
skills/handdraw-style-prompter/scripts/prompt_style.py - Layout resolver → Layout catalog: loads layouts
skills/handdraw-style-prompter/scripts/layout_library.py - Layout resolver → Layout prompts: reads prompts
skills/handdraw-style-prompter/scripts/layout_library.py - Reference resolver → Style catalog: reads styles
skills/handdraw-style-prompter/scripts/resolve_reference.py - Reference resolver → Model policy: reads policy
skills/handdraw-style-prompter/scripts/resolve_reference.py - Reference resolver → Style reference images: selects reference
skills/handdraw-style-prompter/scripts/resolve_reference.py - Creator → Poster prompts: requests poster
README.md - Creator → Article cover design: requests cover
README.md - Creator → Illustration planning: requests illustrations
README.md - Illustration planning → Markdown inserter: inserts images
README.md - Creator → Image-generation tool: uses prompt
README.md - Creator → Custom asset manager: manages assets
- Creator → Style gallery: browses styles
README.md - Creator → Layout gallery: browses layouts
README.md - Creator → Color gallery: browses colors
README.md - Creator → Prompt assembler gallery: assembles prompts
- Creator → Color catalog: chooses colors
README.md