Address review feedback: restructure plugin for marketplace conventions

- Remove .mcp.json (not used in marketplace, add README instead)
- Add marketplace.json entry for plugin discovery
- Add README.md with MCP server setup guide, provider config, and troubleshooting
- Add tools: declaration to image-generator agent (functional fix)
- Move <example> blocks from YAML frontmatter to markdown body
- Remove unused tools: Read, Grep, Glob from prompt-crafter agent
- Remove redundant name: field from command frontmatter
- Use full MCP tool prefix (mcp__meigen__*) in commands
- Rewrite plugin.json description to factual style
- Pin npm version to meigen@1.2.5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jau123
2026-03-08 01:49:29 +08:00
parent 81d0d2c2db
commit 2566f79d5c
8 changed files with 165 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
---
name: gen
description: >-
Quick image generation. Use when user runs /meigen:gen with a prompt.
Quick image generation. Use when user runs /meigen-ai-design:gen with a prompt.
Skips intent assessment, generates directly.
argument-hint: <prompt>
---
@@ -13,7 +12,7 @@ Generate an image immediately from the user's description. This is the fast path
## 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
2. If the prompt is very short (under 10 words), call `mcp__meigen__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
@@ -21,7 +20,7 @@ Generate an image immediately from the user's description. This is the fast path
Do NOT:
- Ask for confirmation before generating
- Suggest alternatives or options
- Run search_gallery for references
- Run mcp__meigen__search_gallery for references
- Give lengthy explanations or describe the image
- Call generate_image directly — always delegate to image-generator agent