mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
Add meigen-ai-design plugin
This commit is contained in:
24
plugins/meigen-ai-design/commands/find.md
Normal file
24
plugins/meigen-ai-design/commands/find.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: find
|
||||
description: >-
|
||||
Quick gallery search. Use when user runs /meigen:find with keywords
|
||||
to browse inspiration.
|
||||
argument-hint: <keywords>
|
||||
---
|
||||
|
||||
# Quick Find
|
||||
|
||||
Search the curated gallery for inspiration. Show visual results immediately.
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Call `search_gallery` with query: `$ARGUMENTS`
|
||||
- If no arguments provided, call with no query to get trending picks
|
||||
- Use limit: 6 for a good visual spread
|
||||
2. Display results as a compact list:
|
||||
- Number, preview image (markdown), one-line prompt excerpt, category
|
||||
3. End with: "Say a number to see the full prompt, or describe what you want to generate."
|
||||
|
||||
If the user picks a number, call `get_inspiration` with that entry's ID to show the full prompt and images.
|
||||
|
||||
Keep output visual and scannable. No long explanations.
|
||||
28
plugins/meigen-ai-design/commands/gen.md
Normal file
28
plugins/meigen-ai-design/commands/gen.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: gen
|
||||
description: >-
|
||||
Quick image generation. Use when user runs /meigen:gen with a prompt.
|
||||
Skips intent assessment, generates directly.
|
||||
argument-hint: <prompt>
|
||||
---
|
||||
|
||||
# Quick Generate
|
||||
|
||||
Generate an image immediately from the user's description. This is the fast path — skip exploration and go straight to generation.
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Look at the user's prompt: `$ARGUMENTS`
|
||||
2. If the prompt is very short (under 10 words), call `enhance_prompt` first to enrich it, then use the enhanced result
|
||||
3. If the prompt is already detailed (10+ words), use it directly
|
||||
4. Delegate to the **image-generator** agent with the prompt (keeps base64 data out of main context)
|
||||
5. When the agent returns, show a brief one-line creative comment about the generation
|
||||
|
||||
Do NOT:
|
||||
- Ask for confirmation before generating
|
||||
- Suggest alternatives or options
|
||||
- Run search_gallery for references
|
||||
- Give lengthy explanations or describe the image
|
||||
- Call generate_image directly — always delegate to image-generator agent
|
||||
|
||||
This is a quick-fire command. Generate and show.
|
||||
Reference in New Issue
Block a user