Skill · Images & rendering

미드저니 프롬프트 엔지니어링

미드저니 프롬프트 작성, --sref·스타일 코드 선택, 결과 채점과 반복 개선을 돕는 원작 스킬. 원작자 Justin Perea, MIT 라이선스.

0installs
SkillIncludes scriptsApprovedBy Justin Perea · MIT · Uploaded by feeeldstudy · Version 1Claude · ChatGPT · Codex · Cursor
midjourney-prompt-engineering/scripts/build.sh
#!/usr/bin/env bash# Compiles rules/ directory into AGENTS.md# Usage: ./scripts/build.shset -euo pipefailRULES_DIR="$(dirname "$0")/../rules"OUTPUT="$(dirname "$0")/../AGENTS.md"# Section order and headersdeclare -a SECTIONS=(  "core:Core Prompt Engineering"  "learn:Learning & Reflection"  "auto:Browser Automation"){  echo "# Midjourney Prompt Learning System — Complete Reference"  echo ""  echo "> Auto-generated from rules/ directory. Do not edit directly."  echo "> Regenerate with: ./scripts/build.sh"  echo ""  echo "---"  for section in "${SECTIONS[@]}"; do    prefix="${section%%:*}"    header="${section#*:}"    echo ""    echo "# ${header}"    echo ""    # Process rule files in alphabetical order within each section    for rule_file in "${RULES_DIR}/${prefix}-"*.md; do      [ -f "$rule_file" ] || continue      # Strip YAML frontmatter (everything between first --- and second ---)      awk '        BEGIN { in_frontmatter=0; frontmatter_done=0; first_line=1 }        /^---$/ && first_line { in_frontmatter=1; first_line=0; next }        /^---$/ && in_frontmatter { in_frontmatter=0; frontmatter_done=1; next }        in_frontmatter { next }        frontmatter_done || !first_line { first_line=0; print }      ' "$rule_file"      echo ""      echo "---"    done  done} > "$OUTPUT"echo "Generated $(wc -l < "$OUTPUT" | tr -d ' ') lines → $OUTPUT"