midjourney-prompt-engineering by justinperea/midjourney-cc-skill
npx skills add https://github.com/justinperea/midjourney-cc-skill --skill midjourney-prompt-engineering一个精通 Midjourney 的技能。其基础是对 Midjourney V7 的结构化理解,源自官方文档——涵盖了每个参数、提示词语法规则、参考系统和风格代码机制。在此之上,构建了一个学习循环:每次会话都会从成功和失败中提取模式,逐步构建一个关于技巧的知识库,从而随着时间的推移提高首次尝试的质量。
你是一个多模态推理模型。 你不需要流水线——你本身就是视觉评判者、差距分析者和提示词重写者。你直接分析 MJ 输出的图像,进行维度评分,识别差距,并重写提示词。
唯一你原生无法做到的是跨会话记忆。 这就是持久层提供的功能——数据库、模式和证据追踪。
| 文件 | 包含内容 | 来源 |
|---|---|---|
knowledge/v7-parameters.md | 每个 V7 参数、提示词结构规则、与 V6 的破坏性变更 | 官方文档 |
knowledge/translation-tables.md | 视觉质量 → 提示词关键词映射(光照、情绪、材质、色彩、构图) | 官方文档 + 经过测试的改进 |
knowledge/official-docs.md |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 文档地图,将每个 MJ 功能链接到其官方页面 URL |
| docs.midjourney.com |
knowledge/failure-modes.md | 常见 MJ 失败模式的诊断框架 | 从会话中学习,有证据支持 |
knowledge/learned-patterns.md | 自动生成的模式摘要(通过使用增长) | 从会话中提取 |
knowledge/keyword-effectiveness.md | 关键词有效性排名(通过使用增长) | 从会话中提取 |
静态文件(v7-parameters、translation-tables、official-docs)是技能的基础知识——一个熟练的 MJ 用户通过仔细阅读文档所能了解的内容。动态文件(failure-modes、learned-patterns、keyword-effectiveness)通过真实会话填充,并随时间增长。
| 模块 | 用途 | 所需 MCP |
|---|---|---|
核心规则 (core-*) | 参考分析、提示词构建、评分、迭代 | 无 |
学习规则 (learn-*) | 模式生命周期、反思、关键词追踪 | sqlite-simple |
自动化规则 (auto-*) | 用于 midjourney.com 的浏览器自动化 | playwright |
仅核心(手动):加载 core-* 规则。手动将提示词复制到 MJ。核心 + 学习:添加 learn-* 规则 + sqlite MCP。模式跨会话持久化。完整系统:添加 auto-* 规则 + playwright MCP。实现免手动迭代。
# SQLite (用于学习规则)
claude mcp add sqlite-simple -- npx @anthropic-ai/sqlite-simple-mcp mydatabase.db
# Playwright (用于自动化规则)
claude mcp add playwright -- npx @playwright/mcp@latest --headed
# 初始化数据库
sqlite3 mydatabase.db < schema.sql
| 规则 | 涵盖内容 |
|---|---|
core-reference-analysis | 7元素视觉框架,词汇翻译 |
core-prompt-construction | V7 提示词结构,关键词实践,知识应用 |
core-research-phase | 覆盖范围评估,社区研究工作流 |
core-assessment-scoring | 7维度评分,置信度标志,代理限制 |
core-iteration-framework | 差距分析,行动决策,方面优先方法 |
learn-data-model | 数据库模式,会话结构,ID 生成 |
learn-pattern-lifecycle | 置信度分级,衰减,知识生成 |
learn-reflection | 会话生命周期,自动反思,对比分析 |
auto-core-workflows | 提示词提交,智能轮询,批量捕获,动画 |
auto-reference-patterns | 选择器策略,错误处理,图像分析 |
所有迭代都基于 7 个维度 进行评分:主体、光照、色彩、情绪、构图、材质、空间。所有 7 个维度始终评分(1.0 表示“不适用”)。分数在用户验证之前是初步的。参见 rules/core-assessment-scoring.md。
| 命令 | 用途 |
|---|---|
/new-session | 启动一个应用完整知识的会话 |
/log-iteration | 记录一次生成尝试,包括评分和差距分析 |
/reflect | 跨会话模式分析和知识提取 |
/research [focus] | 针对某个挑战研究社区技巧 |
/show-knowledge [category] | 显示已学习的模式 |
/apply-knowledge <desc> | 为描述生成基于模式的提示词 |
/discover-styles | 浏览并编目 MJ 风格代码 |
/validate-pattern [id] | 将模式标记为已验证或相矛盾 |
/forget-pattern [id] | 停用一个模式 |
每个模式都必须有记录在案的证据。系统从真实的迭代数据中学习,而非假设。置信度级别(低/中/高)反映了一个模式被测试的次数及其成功率。
要查看结合了所有规则的完整编译参考,请参见 AGENTS.md。
每周安装数
72
代码仓库
GitHub 星标数
1
首次出现
2026年2月9日
安全审计
安装于
gemini-cli71
codex70
opencode70
cursor69
github-copilot69
amp68
A skill that knows Midjourney. The foundation is a structured understanding of Midjourney V7 built from the official documentation — every parameter, prompt syntax rule, reference system, and style code mechanic. On top of that, a learning loop: each session extracts patterns from what worked and what didn't, building a knowledge base of craft that improves first-attempt quality over time.
You are a multimodal reasoning model. You don't need pipelines — you ARE the visual critic, gap analyzer, and prompt rewriter. You analyze MJ output images directly, score dimensions, identify gaps, and rewrite prompts.
The one thing you can't do natively is remember across sessions. That's what the persistent layer provides — the database, patterns, and evidence tracking.
| File | What It Contains | Source |
|---|---|---|
knowledge/v7-parameters.md | Every V7 parameter, prompt structure rules, breaking changes from V6 | Official docs |
knowledge/translation-tables.md | Visual quality → prompt keyword mappings (lighting, mood, material, color, composition) | Official docs + tested refinements |
knowledge/official-docs.md | Documentation map linking each MJ feature to its official page URL | docs.midjourney.com |
knowledge/failure-modes.md | Diagnostic framework for common MJ failure patterns | Session-learned, evidence-backed |
knowledge/learned-patterns.md | Auto-generated pattern summaries (grows through use) | Extracted from sessions |
knowledge/keyword-effectiveness.md | Keyword effectiveness rankings (grows through use) | Extracted from sessions |
The static files (v7-parameters, translation-tables, official-docs) are the skill's baseline knowledge — what a skilled MJ user would know from reading the documentation carefully. The dynamic files (failure-modes, learned-patterns, keyword-effectiveness) are populated through real sessions and grow over time.
| Module | Purpose | Required MCP |
|---|---|---|
Core rules (core-*) | Reference analysis, prompt construction, scoring, iteration | None |
Learning rules (learn-*) | Pattern lifecycle, reflection, keyword tracking | sqlite-simple |
Automation rules (auto-*) | Browser automation for midjourney.com | playwright |
Core only (manual): Load core-* rules. Copy prompts to MJ manually. Core + Learning : Add learn-* rules + sqlite MCP. Patterns persist across sessions. Full system : Add auto-* rules + playwright MCP. Hands-free iteration.
# SQLite (for learning rules)
claude mcp add sqlite-simple -- npx @anthropic-ai/sqlite-simple-mcp mydatabase.db
# Playwright (for automation rules)
claude mcp add playwright -- npx @playwright/mcp@latest --headed
# Initialize the database
sqlite3 mydatabase.db < schema.sql
| Rule | What It Covers |
|---|---|
core-reference-analysis | 7-element visual framework, vocabulary translation |
core-prompt-construction | V7 prompt structure, keyword practices, knowledge application |
core-research-phase | Coverage assessment, community research workflow |
core-assessment-scoring | 7-dimension scoring, confidence flags, agent limitations |
core-iteration-framework | Gap analysis, action decisions, aspect-first approach |
learn-data-model |
All iterations scored on 7 dimensions : subject, lighting, color, mood, composition, material, spatial. All 7 always scored (1.0 for "not applicable"). Scores are preliminary until user-validated. See rules/core-assessment-scoring.md.
| Command | Purpose |
|---|---|
/new-session | Start a session with full knowledge application |
/log-iteration | Log a generation attempt with scoring and gap analysis |
/reflect | Cross-session pattern analysis and knowledge extraction |
/research [focus] | Research community techniques for a challenge |
/show-knowledge [category] | Display learned patterns |
/apply-knowledge <desc> |
Every pattern must have logged evidence. The system learns from real iteration data, not assumptions. Confidence levels (low/medium/high) reflect how many times a pattern has been tested and its success rate.
For the complete compiled reference combining all rules, see AGENTS.md.
Weekly Installs
72
Repository
GitHub Stars
1
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
gemini-cli71
codex70
opencode70
cursor69
github-copilot69
amp68
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
50,900 周安装
| Database schema, session structure, ID generation |
learn-pattern-lifecycle | Confidence graduation, decay, knowledge generation |
learn-reflection | Session lifecycle, automatic reflection, contrastive analysis |
auto-core-workflows | Prompt submission, smart polling, batch capture, animation |
auto-reference-patterns | Selector strategy, error handling, image analysis |
| Pattern-informed prompt for a description |
/discover-styles | Browse and catalog MJ style codes |
/validate-pattern [id] | Mark pattern as validated or contradicted |
/forget-pattern [id] | Deactivate a pattern |