[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2QR7P01RNF2N7J5DSWB4E":3,"skill-same:01M6C2QR7P01RNF2N7J5DSWB4E":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M6C2QR7P01RNF2N7J5DSWB4E","sprite-generation",null,"jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX","01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fsprite-generation\u002FSKILL.md",[],[17,18],"sprite generation","generation","2026-11-10 10:12:30",false,"# Sprite Generation Skill\n\n## PROBLEM\nLLM-based sprite generation (PIL, Grok, MiniMax without proper workflow) produces garbage:\n- 2\u002F10 quality sprites\n- Horizontal gaps between body parts\n- Checkerboard artifacts\n- Misalignment\n- General-purpose image gen ≠ pixel art\n\n## RIGHT APPROACH (from wiki research)\n\n### Tier 1: BEST QUALITY - ComfyUI SDXL + Pixel Art LoRA\n```\nSystem: RTX 4090, ComfyUI 0.20.1, 22GB VRAM\nCheckpoint: sd_xl_base_1.0.safetensors\nLoRA: pixel_icon_v1.safetensors (or Pixel Art Stylizer SDXL)\n\nWorkflow:\nCheckpointLoaderSimple → LoraLoader (strength=1.0)\n  → CLIPTextEncode (positive + negative) \n  → EmptyLatentImage (128x128)\n  → KSampler (steps=25, cfg=8.0, euler)\n  → VAEDecode\n  → Quantize (cap at 64-256 colors)\n  → SaveImage\n\nGeneration time: ~2 seconds on RTX 4090\n```\n\n### Tier 2: BEST FREE - Pollinations.ai\n- 256x256 sprites\n- Respects size parameters (unlike Grok)\n- Free, no GPU needed\n- Use k-means post-process: alpha-binarize FIRST, then k-means k=24-32\n\n### Tier 3: HYBRID (what we've been trying)\n- Generate body parts separately via LLM\n- Composite with LPC sprites\n- **THIS APPROACH FAILS** - wiki explicitly says \"body parts pipeline = failed approach\"\n- Don't use PIL-based generation - produces simple geometric shapes, not pixel art\n\n## WHAT DOESN'T WORK\n- ❌ PIL ImageDraw generation (simple shapes, not art)\n- ❌ Grok API (ignores size params, returns 1408x768)\n- ❌ General LLM image gen without pixel art LoRA\n- ❌ k-means without alpha-binarize first (destroys colors)\n- ❌ Body parts pipeline (failed approach per wiki)\n\n## WORKING ASSETS ALREADY AVAILABLE\n- **Cordon CC0**: 205 sci-fi sprites at 128x128 in `assets\u002Fcordon\u002Ftemp_cordon\u002Fsprites\u002F`\n- **LPC Sprites**: `assets\u002Fgenerated\u002Fbody_parts\u002F` (if properly generated)\n- **Procedural drawPixelCharacter()**: Works in game_demo.html\n\n## DECISION TREE\n\n1. **Need sprites NOW?** → Use Cordon CC0 assets or procedural fallback\n2. **Want quality pixel art?** → Use ComfyUI SDXL + pixel_icon_v1 LoRA\n3. **Free only?** → Use Pollinations.ai with proper prompting\n4. **Don't use**: PIL generation, Grok, body parts pipeline\n\n## PROPER PROMPTING FOR POLLINATIONS\n```\n\"pixel art, 128x128, knight walk cycle, 8 frames, side view,\ntransparent background, limited color palette 24 colors,\npixel-perfect edges, no anti-aliasing, no gradients,\nmedieval armor, fantasy RPG sprite\"\n```\n\n## POST-PROCESSING (if using LLM output)\n1. Alpha-binarize (threshold transparency)\n2. k-means palette reduction (k=24-32 for 128x128)\n3. Nearest-neighbor upscale if needed\n4. Manual cleanup in Aseprite (5 sec\u002Fframe)\n\n## REFERENCES\n- Wiki: ~\u002Fllm_wiki\u002Fwiki\u002Fsources\u002Fcomfyui-pixel-art-sprite-pipeline-2026-05-01.md\n- Wiki: ~\u002Fllm_wiki\u002Fwiki\u002Fsources\u002Fsprite-generation-learnings-2026-05-01.md\n- Wiki: ~\u002Fllm_wiki\u002Fwiki\u002Fsources\u002Fpixel-art-ai-generation-research-2026-05-01.md\n",{},"main","42ccd02cbf5e8e47839dc3eab6fc754dc6b339cf",".claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fsprite-generation",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 03:18:13",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill sprite-generation",{"tool":36,"command":37},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill sprite-generation",{"tool":39,"command":40},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill sprite-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fsprite-generation\u002FSKILL.md",true,[],[45,63,85,99,113,129],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M716Y5MTJ6GYJZ2ATXCJK8G4","instinct","Use when the user invokes \u002Finstinct or \u002Fin, or asks to \"message Instinct\", \"ask Instinct\", \"tell Instinct\", \"check Instinct\", or read replies from the configured peer assistant. iMessage first, WhatsApp Web as fallback.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finstinct\u002FSKILL.md",[],[47,52,53,54,55,56,57,58,59,60,61,62],"user","when","replies","check","use","identity","whatsapp","gmail","read","message","ask",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":74,"publishedAt":19},"01M716Y4HF7FVVMJSA2CCVN5VF","hr","Compatibility alias for history-resume; produce the same fresh-state, provenance-aware resume briefing.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhr\u002FSKILL.md",[69],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000038","人力资源","PROFESSION","适用职业",[65,75,76,77,78,79,80,81,82,83,84],"resume","compatibility","provenance","for","history","produce","alias","briefing","state","fresh",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":92,"publishedAt":19},"01M716Y1FFNFKFJYYKF8HQA6T8","history-resume","Resume briefing for the current repository branch or worktree using fresh state and admitted history sources.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhistory-resume\u002FSKILL.md",[91],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},[79,75,93,94,52,95,82,96,78,97,98,83,84],"history resume","branch","analysis","repository","worktree","sources",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M716XWXJ8EPHK4RH9T14TR85","grok","Alias for the canonical grokbot browser conversation workflow; \u002Fgrok talks to the Grok bot the same way \u002Fdot talks to Dot.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgrok\u002FSKILL.md",[],[101,106,107,108,78,109,81,110,111,112],"dot","bot","workflow","canonical","conversation","browser","grokbot",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M70N9Q07DTE0EW5KFXMMMSJ0","codexa-bench","Compare `codexa` and normal `codex` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcodexa-bench\u002FSKILL.md",[],[120,121,122,56,123,78,124,125,126,127,128],"codexa bench","work","split","default","duplicate","task","compare","normal","codex",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":133,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":148,"publishedAt":19},"01M6C24S2X60SP8BBFGAEKPEGW","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[137,142,145],{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":143,"categoryName":144,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":146,"categoryName":147,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000032","设计师",[149,150,151,56,152,153,154,52,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,53,173],"frontend","design","frontend design","generic","ui design","react","html","components","code","artifacts","ui","aesthetics","Production","web components","landing","applications","quality","web","css","create","examples","with","react components","web ui","pages"]