AGENT SKILL

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

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

  1. Classify the user request. Identify the deliverable type, output surface, required text, subject/domain, style family, and whether it is a generation or edit.
  2. Select categories before writing. Use references/gallery-catalog.md or scripts/select_gallery_categories.py to choose one primary category. Load guidance from 2-3 categories only when the user explicitly asks for a hybrid result.
  3. 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.
  4. Apply craft checklists. Use references/prompt-craft.md for exact text, diagrams, UI specs, multi-panel boards, research figures, edits, and size/quality choices.
  5. 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.
  6. Preserve provenance discipline. If adapting an outside-source or community pattern into a public gallery entry, preserve Author + Source. Use Curated only 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, or Technical Illustration.
  • UI/app/dashboard/product mockup -> UI/UX Mockups; combine with Brand Systems & Identity if the design system itself is part of the deliverable.
  • Posters, covers, dense typography, Chinese copy, event flyers -> Typography & Posters, Infographics & Field Guides, or Events & Experience.
  • Product hero image, packaging, beverage/food campaign -> Product & Food; combine with Photography or Brand Systems & Identity when needed.
  • Anime/manga/game stills/HUD/worldbuilding -> Anime & Manga, Gaming, Character Design, Pixel Art, Isometric, Retro & Cyberpunk, or Cinematic & Animation.
  • Reference-image transformations, inpainting, or multi-reference composition -> Edit Endpoint Showcase for 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

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351