{"id":18130,"plugin_id":"plugins_6a860bca9e848191a61764ce30024590","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:14:38.626Z","digest":"87f156168bce37eb6428cc55fbba41b798bbd2ece7fdbbc2ff7e9f80b817701e","against":null,"payload":{"description":"Generate one-page fixed-template Hype Events PDF files from direct or email-derived requirements. Use for CTFS, STC, Hype featured awards, and Hype promotion certificates. This workflow never generates images and never redesigns the template.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":443},{"relative_path":"assets/canvas.html","size_in_bytes":6910},{"relative_path":"assets/ctfs.png","size_in_bytes":31788},{"relative_path":"assets/hype-icon.png","size_in_bytes":37799},{"relative_path":"assets/hype.png","size_in_bytes":24907},{"relative_path":"assets/promotion-certificate.html","size_in_bytes":6553},{"relative_path":"assets/stc.jpg","size_in_bytes":39320},{"relative_path":"references/handoff.md","size_in_bytes":1250},{"relative_path":"references/production-rules.md","size_in_bytes":3266},{"relative_path":"scripts/generate.py","size_in_bytes":10117},{"relative_path":"scripts/smoke_test.py","size_in_bytes":2728}],"name":"hype-design-production","skill_md_contents":"---\nname: hype-design-production\ndescription: Generate one-page fixed-template Hype Events PDF files from direct or email-derived requirements. Use for CTFS, STC, Hype featured awards, and Hype promotion certificates. This workflow never generates images and never redesigns the template.\n---\n\n# Hype Design Production\n\n## Non-negotiable output contract\n\n- The only successful deliverable is a `.pdf` created by the bundled deterministic generator from the bundled HTML template and logo assets.\n- Never call image generation or image editing. Never use Canva. Never return PNG, JPG, WebP, a newly designed poster, or a text substitute.\n- Do not recreate or reinterpret the visual design. The files in `assets/` are the product template, not inspiration.\n- If the bundled generator cannot run or cannot produce exactly one PDF page, stop and report the precise blocker. A different-looking image is never an acceptable fallback.\n\n## Workflow\n\n1. Read [references/production-rules.md](references/production-rules.md).\n2. Parse the request into structured fields. Preserve the user's spelling, capitalization intent, value symbols, and date wording unless the user explicitly corrects them.\n3. Choose one mode:\n   - `record`: normal CTFS/STC record poster.\n   - `featured`: Hype-only `Best Leader of the Week` or `New Kids on the Block This Week` poster.\n   - `promotion`: Hype promotion certificate.\n4. Resolve this skill's own directory first, then run its bundled [scripts/generate.py](scripts/generate.py) by absolute path. Do not assume the process starts inside the skill folder. Always pass arguments as a list; never construct a shell command from user text.\n5. Let the script copy the fixed template, export with Google Chrome, verify that the PDF is one page, save it to `result`, and remove temporary files.\n6. Confirm that the returned path ends in `.pdf`. If it does not, treat the run as failed.\n7. Return only completion status and a clickable path to the PDF. Do not narrate background operations unless the user starts the request with `/详细`.\n\n## Commands\n\nNormal record:\n\n```bash\npython3 \"/absolute/path/to/hype-design-production/scripts/generate.py\" record \\\n  --brand ctfs \\\n  --title \"Most Profit\" \\\n  --subtitle \"In a Day\" \\\n  --value '$300' \\\n  --name \"Cameron\" \\\n  --date \"Aug 11th\"\n```\n\nHype featured award:\n\n```bash\npython3 \"/absolute/path/to/hype-design-production/scripts/generate.py\" featured \\\n  --title \"Best Leader of the Week\" \\\n  --name \"Helia\" \\\n  --date \"July 20th - 26th\"\n```\n\nPromotion certificate:\n\n```bash\npython3 \"/absolute/path/to/hype-design-production/scripts/generate.py\" promotion \\\n  --name \"Sriya Indrakanti\" \\\n  --date \"August 7 2026\" \\\n  --role \"Corporate Trainer\"\n```\n\nThe repository-local skill defaults to the Project 2 `result` directory. If installed outside Project 2, pass `--output-dir /absolute/path/to/result`.\n\n## Failure handling\n\n- Do not silently switch templates, invoke image generation, use Canva, create a bitmap, or create a text-only substitute.\n- If Chrome is unavailable, output cannot be written, or a PDF is not exactly one page, stop and report the precise blocker.\n- On failure, preserve the temporary HTML path printed by the generator. On success, do not leave temporary HTML files.\n- Ask the user only when an essential field cannot be inferred safely. Otherwise complete the full flow without confirmation.\n\nFor installation and handoff, read [references/handoff.md](references/handoff.md).\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}