mcpField
H
hand-drawn

hand-drawn

github.com/threerocksCreative & media2.6k47 installsUpdated 5d ago
Repository

About hand-drawn

hand-drawn is a skill for selecting a visual style and producing image-generation prompts from bundled recipes. It provides a renderer, style-specific production rules, and reference-image handling; it does not generate images.

Key features

  1. 01Selects styles from a catalog
  2. 02Renders prompts from templates
  3. 03Applies style-specific production checks
  4. 04Handles hosted reference images
  5. 05Supports text-only previews for selected styles

Use cases

  1. 01Preparing a prompt for a chosen art style
  2. 02Checking requirements before formal production
  3. 03Retrieving and validating style reference images

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/threerocks/hand-drawn-styles --skill hand-drawn

After installing, type/hand-drawnin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.gitignore
AGENTS.md
INSTALL.md
LICENSE
README.md
PROTOCOL.md
STYLES.md
.github/workflows/
check-skill.yml
assets/
image-manifest.json
assets/style-19/
anchor-roundhead-redline.png.privacy.json
anchor-roundhead-redline.png.provenance.json
assets/style-20/
anchor-warm-yellow-ink-story.png.privacy.json
anchor-warm-yellow-ink-story.png.provenance.json
assets/style-22/
anchor-vermilion-ink-wash.privacy.json
assets/style-23/
preview-shadow-puppet.privacy.json
assets/style-3.1/
anchor-family.png.privacy.json
anchor-family.png.provenance.json
benchmarks/
README.md
scene.md
benchmarks/style-19/
README.md
privacy-audit.json
benchmarks/style-3.1/
README.md
docs/
image-hosting.md
image-art-direction.md
style-22-review.md
style-23-review.md
style-comparison.md
style-selection.md
examples/
style-22-cycling-prompt.md
README.md

Details

From the project README

手绘风格 prompt 生成器

完整指令与画风配方是工具无关的,放在同目录:

  1. 按 PROTOCOL.md 的 5 步流程执行:确定画风 → 取配方 → 自动填占位符 → 处理比例 → 输出 prompt。
  2. 从 STYLES.md 取对应编号的完整模板。
  3. 能执行脚本时优先调用 scripts/render_prompt.py,不得手工缩写、同义改写或与业务项目的画风段落混配。
  4. 风格 3.1 用于正式生产、连续故事或多页作品时,必须完整执行 family-crayon-card-v4:基础生成 → scribble-correction → scribble-chaos-correction → style-contract-check。三次图像操作只得到 final-candidate,独立验收报告为 pass 才能成为 final。锚点、阶段或审核证据缺失不可放行,见 docs/style-3.1-review.md。
  5. 风格 19 正式生产必须使用正式 JSON 调用包:每张携带原创锚点,锁定模型快照和高保真参考图输入,基础图只标为 candidate-only,通过 acceptance_contract 后才能标为 final;任一条件不可用时停止正式生产。
  6. 风格 20 正式生产必须使用正式 JSON 调用包:使用固定原创锚点生成 final-candidate,再运行机读验收器;失败候选整张拒收并重新生成,禁止用通用画风迁移编辑修补。
  7. 风格22为用户认可的 v1.1.0 朱墨写意转绘:先完整执行包内 sweety-image-art-direction 预处理;默认输出带画风锚点与可选 --source-image 内容原图的 JSON。保持“原图管内容、锚点管画法”,不得复制锚点中的人物、自行车或10号。来源、隐私与图片发布状态见 迁入记录。
  8. 风格23为皮影彩染v0.1首版:先按 内置美术指导 分析轮廓、连接与幕光,输出独立全幅皮影提示词;不要求原片、不附原片、不做上下对照。状态与验证见 23号记录。
  9. 其他画风默认只输出最终 prompt;风格 3.1/19/20/22 的纯文本只允许显式 --text-only-preview。不生图;仓库维护者新增或验收画风时,按 AGENTS.md 的维护者验证例外执行。

安装方法见 INSTALL.md。安装后先运行 python3 -B scripts/check_skill.py 汇总检查文件、参考图、别名和全部画风调用;检查不生图。使用 python3 -B scripts/render_prompt.py --list 取得原菜单与参数;用独立的 --catalog 查询有来源的选型说明,无需图片缓存。未指定画风时按协议提供有依据的 2–3 项候选或完整菜单,等待用户选择;显式指定优先。详见 选型与证据范围,保持整个安装包的目录结构。

图片使用 assets/image-manifest.json 中的公开链接。渲染器按需下载并校验参考图,JSON 同时返回公开地址、SHA-256 和缓存绝对路径;正式调用仍须传入参考图文件。首次调用需要网络,可先运行 python3 -B scripts/hosted_images.py fetch。缓存和离线规则、新图片上传步骤见 docs/image-hosting.md。不要向 Git 或安装包添加图片二进制。

Comments

Markdown supported