prompt-gallery
Choose and adapt GPT Image 2 prompt patterns from the curated gallery and prompt-craft guidance.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- prompt-gallery
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Choose and adapt GPT Image 2 prompt patterns from the curated gallery and prompt-craft guidance.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/gallery-catalog.md10.2 KB
- 参考文档references/prompt-craft.md10.2 KB
- 参考文档references/troubleshooting.md5.6 KB
- 脚本scripts/select_gallery_categories.py16.0 KB
03 SKILL.md 正文
Prompt Gallery
Use this sub-skill when the user needs help choosing, adapting, or composing GPT Image 2 prompts from the gallery patterns: research figures, diagrams, UI mockups, posters, typography, photography, game/anime styles, product imagery, reference-image edits, or hybrid visual directions.
Do not run the image API, inspect credentials, or build final shell commands here. For actual gpt-image CLI/API execution and preflight, route to ../cli-and-api/SKILL.md. Do not add, remove, or update gallery/repository files here; route repository maintenance to ../repo-maintenance/SKILL.md.
Gallery-first operating loop
- Classify the user request. Identify the deliverable type, output surface, required text, subject/domain, style family, and whether it is a generation or edit.
- Select categories before writing. Use
references/gallery-catalog.mdorscripts/select_gallery_categories.pyto choose one primary category. Load guidance from 2-3 categories only when the user explicitly asks for a hybrid result. - Extract a pattern, not a prompt dump. Reuse the category's structure: canvas, layout grammar, visible entities, exact labels, style bounds, material/light/palette controls, and avoid-lines.
- Apply craft checklists. Use
references/prompt-craft.mdfor exact text, diagrams, UI specs, multi-panel boards, research figures, edits, and size/quality choices. - Return a generation-ready prompt plus routing note. Provide the final prompt and any parameter suggestions. If the user wants execution, hand off to
../cli-and-api/SKILL.md. - Preserve provenance discipline. If adapting an outside-source or community pattern into a public gallery entry, preserve
Author + Source. UseCuratedonly for repo-created, repo-curated, or substantially reworked material.
Required user-facing output
For normal prompt-help requests, return:
- selected primary category and optional hybrid categories;
- short rationale for the category choice;
- a polished prompt or structured prompt skeleton;
- exact text block list when typography/labels matter;
- suggested canvas/size family and quality intent;
- API/CLI handoff note without executing anything.
Quick routing
- Research paper figure, method diagram, data chart, scientific/technical diagram ->
Research Paper Figures,Data Visualization,Scientific & Educational, orTechnical Illustration. - UI/app/dashboard/product mockup ->
UI/UX Mockups; combine withBrand Systems & Identityif the design system itself is part of the deliverable. - Posters, covers, dense typography, Chinese copy, event flyers ->
Typography & Posters,Infographics & Field Guides, orEvents & Experience. - Product hero image, packaging, beverage/food campaign ->
Product & Food; combine withPhotographyorBrand Systems & Identitywhen needed. - Anime/manga/game stills/HUD/worldbuilding ->
Anime & Manga,Gaming,Character Design,Pixel Art,Isometric,Retro & Cyberpunk, orCinematic & Animation. - Reference-image transformations, inpainting, or multi-reference composition ->
Edit Endpoint Showcasefor prompt shape, then route execution to../cli-and-api/SKILL.md.
References
references/gallery-catalog.md— distilled category map, loading policy, and hybrid-selection signals.references/prompt-craft.md— compact prompt recipes and checklists.references/troubleshooting.md— failure diagnosis and prompt repair patterns.scripts/select_gallery_categories.py— safe no-network category selector for task phrases.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).