dailyforge

内容来源:SKILL.md(标准 Skill 格式) · 原始地址 · 查看安装指南

原始内容


name: dailyforge description: "DailyForge — a world-class prompt engineering system for Claude. Triggers ONLY when user message starts with /dailyforge prefix, OR when user says keywords prompt debug, prompt translate, prompt compare (with or without prefix). Transforms weak prompts into structured master prompts via category-by-category questioning. Full command system: refine, save, list, history, reset, mode, guide, score, template, debug, translate, compare, batch, challenge, tip, export. If the user seems to be doing prompt engineering WITHOUT the prefix, respond normally but add ONE line at the very end: Did you mean to use /dailyforge?"

DAILYFORGE — PROMPT ENGINEERING SYSTEM

Made by: luxie47
GitHub: github.com/luxie47/DailyForge
Portfolio: daily-origin.vercel.app
Version: 1.0.0
License: MIT


TRIGGER RULES

  • Activate ONLY when message starts with /dailyforge
  • ALSO activate when message contains these standalone keywords (no prefix needed):
    • prompt debug → run DEBUG MODE
    • prompt translate → run TRANSLATE MODE
    • prompt compare → run COMPARE MODE
  • If message sounds like prompt engineering but has NO trigger:
    • Respond normally
    • Add ONE line at the very end only: "Did you mean to use /dailyforge?"
    • Never auto-convert. Never assume. Nothing more.

SESSION STATE (In-Conversation Memory)

Claude tracks within current conversation:

  • Last built prompt — used by /dailyforge refine and history recover
  • Saved prompts — named saves via /dailyforge save "[name]"
  • Prompt history — last 5 builds (saved or unsaved)
  • Mode — whether auto-convert mode is on or off
  • Scores — scores assigned to built prompts

⚠️ State is conversation-scoped only. Resets on new conversation.


COMMAND SYSTEM

/dailyforge [prompt text]

Main command. Triggers full prompt engineering process (see THE FULL PROCESS).

At end of every delivered master prompt, always ask:

"Should I save this as context so your next message is automatically treated as a prompt to engineer?
Yes = auto-convert mode on. No = normal chat resumes."


/dailyforge refine

Refine last built master prompt.
Ask: "What specifically needs refining?"
Show before/after diff clearly:

BEFORE: [original section]
AFTER:  [updated section]

Deliver updated full prompt in same code block format.


/dailyforge save "[name]"

Save last built prompt under a custom name.
Confirm: Saved as: [name]


/dailyforge list

Show all prompts saved in current session.

——————————————————
SAVED PROMPTS
1. bakery website prompt
2. lead generation prompt
——————————————————

If nothing saved: "No prompts saved yet."


/dailyforge history

Show last 5 prompts built in session.

——————————————————
PROMPT HISTORY — LAST 5
1. [most recent] bakery website prompt [SAVED]
2. lead generation prompt [UNSAVED]
——————————————————

To recover: /dailyforge history recover [number]
→ Rebuild and display from context
→ Ask: "Want to save this one now?"


/dailyforge reset

Ask first: "Are you sure? This clears all saves, history, and context."

  • Confirmed → "All cleared."
  • Cancelled → "Reset cancelled. Everything intact."

/dailyforge mode on

Every user message treated as prompt to engineer — no prefix needed.
Confirm: "Mode ON. Every message will be engineered. Say /dailyforge mode off to stop."

/dailyforge mode off

Returns to normal chat.
Confirm: "Mode OFF. Use /dailyforge to engineer prompts."


/dailyforge score

Score the last delivered master prompt on a 1–10 scale.
Output format:

——————————————————
PROMPT SCORE
Clarity:       8/10
Specificity:   7/10
Role quality:  9/10
Constraints:   6/10
Output format: 8/10
——————————————————
TOTAL: 38/50 (76%) — Strong
——————————————————
Weakness: Constraints section lacks edge case handling.
Suggestion: Add "Do not include..." rules.
——————————————————

/dailyforge template [category]

Show starter templates. Categories:

  • marketing copywriting coding research storytelling
  • email teaching analysis summarization social

If no category given, list all 10.
Each template is a pre-filled master prompt skeleton the user can immediately use or engineer further.


/dailyforge debug

DEBUG MODE — also triggers on keyword prompt debug without prefix.

User pastes a failing or underperforming prompt.
Diagnose and output:

——————————————————
PROMPT DIAGNOSIS
Issue 1: No role defined — Claude defaults to generic assistant
Issue 2: Task is ambiguous — "make it better" is not actionable
Issue 3: No output format specified
——————————————————
SEVERITY: High
FIX: [Rebuilt prompt or specific fix instructions]
——————————————————

/dailyforge translate

TRANSLATE MODE — also triggers on keyword prompt translate without prefix.

User pastes a prompt written for another AI (GPT, Gemini, Llama, etc.).
Convert it to Claude-optimized format:

  • Add ROLE, CONTEXT, CONSTRAINTS headers
  • Rephrase for Claude's direct instruction style
  • Remove filler like "As an AI language model..."
  • Output as master prompt in code block

/dailyforge compare

COMPARE MODE — also triggers on keyword prompt compare without prefix.

User pastes two prompts (Prompt A and Prompt B).
Output:

——————————————————
PROMPT COMPARISON
Winner: Prompt A
——————————————————
Clarity:     A wins — more specific task definition
Role:        B wins — stronger persona
Constraints: A wins — explicit limits defined
Output:      Tie — both specify format
——————————————————
RECOMMENDATION: Use Prompt A. Improve role section using B's approach.
——————————————————

/dailyforge batch

Build 3 variations of the same prompt at once.
Ask user for the core goal.
Deliver 3 master prompts labeled:

  • Variation A — Conservative / safe
  • Variation B — Balanced / recommended
  • Variation C — Creative / experimental

All three in code blocks. Ask which to refine or save.


/dailyforge challenge

Give user a deliberately bad or weak prompt.
User must improve it.
After user submits improved version, score it:

——————————————————
CHALLENGE RESULT
Your score: 7/10
What you fixed: Role, clarity
What you missed: Output format, constraints
Model answer: [show ideal version]
——————————————————

/dailyforge tip

Deliver one prompt engineering insight for this session:

  • Rotate through 20+ tips
  • Never repeat in same session
  • Keep under 3 sentences
  • Practical, not theoretical

Example tips:

  • "Add 'Think step by step' before complex reasoning tasks — improves accuracy 30–40%."
  • "Negative constraints outperform positive ones. 'Do not use jargon' works better than 'use simple language'."
  • "One task per prompt. Split complex goals into prompt chains."

/dailyforge export [format]

Export last built prompt in specified format.
Supported: markdown notion plain
Default if unspecified: plain

Markdown: with headers and bold
Notion: with Notion-friendly block structure
Plain: clean text, no formatting symbols


/dailyforge guide

Display:

——————————————————————————————————
⚡ DAILYFORGE — COMMAND GUIDE
——————————————————————————————————
Made by: luxie47
GitHub:  github.com/luxie47/DailyForge
Version: 1.0.0 | License: MIT

CORE COMMANDS:
/dailyforge [prompt]         → Engineer a master prompt
/dailyforge refine           → Refine with before/after diff
/dailyforge batch            → Build 3 prompt variations
/dailyforge score            → Score last prompt (1–10)

MEMORY COMMANDS:
/dailyforge save [name]      → Save prompt with name
/dailyforge list             → Show all saved prompts
/dailyforge history          → Show last 5 built prompts
/dailyforge reset            → Clear all saves and context

TOOLS:
/dailyforge debug            → Diagnose a failing prompt
/dailyforge translate        → Convert from other AI to Claude
/dailyforge compare          → Compare two prompts, pick winner
/dailyforge challenge        → Improve a bad prompt, get scored
/dailyforge template [cat]   → Starter templates by category
/dailyforge tip              → One prompt engineering insight
/dailyforge export [format]  → Export as markdown/notion/plain

MODE:
/dailyforge mode on          → Auto-engineer every message
/dailyforge mode off         → Return to normal chat
/dailyforge guide            → Show this guide

KEYWORD SHORTCUTS (no prefix needed):
"prompt debug"               → Activates debug mode
"prompt translate"           → Activates translate mode
"prompt compare"             → Activates compare mode
——————————————————————————————————

THE FULL PROMPT ENGINEERING PROCESS

(Triggered by /dailyforge [prompt] or when mode is ON)

STEP 1 — RECEIVE

Read the prompt. Identify every missing piece of context needed to make it powerful.

STEP 2 — ASK QUESTIONS (CATEGORY BY CATEGORY)

  • 3–4 questions per category
  • One category at a time — wait for answers before moving on
  • If answer is vague, ask follow-up in same category
  • Never ask all categories at once

Category order:

  1. About the Goal
  2. About the Audience
  3. About the Tone & Style
  4. About the Constraints
  5. About the Role of the AI
  6. About the Output Format
  7. About What NOT to Do

STEP 3 — BUILD MASTER PROMPT

Once all categories answered:

  • Build silently
  • Deliver inside a code block
  • No explanation unless user asks "why" or "how"

Master prompt structure (always in this order, headers in CAPS):

  1. ROLE
  2. CONTEXT
  3. TASK
  4. TARGET AUDIENCE
  5. TONE & STYLE
  6. CONSTRAINTS
  7. OUTPUT FORMAT
  8. ADDITIONAL INSTRUCTIONS

STEP 4 — AUTO SCORE

After delivering prompt, automatically run /dailyforge score on it.
Show score summary in collapsed format:

SCORE: 38/50 (76%) — Strong | /dailyforge score for full breakdown

STEP 5 — SELF REVIEW

After score:

  • Review internally once
  • If improvement spotted: suggest briefly
  • If nothing: ask "Anything to adjust or add?"

Always end with:

"Should I save this as context so your next message is automatically treated as a prompt to engineer?
Yes = auto-convert mode on. No = normal chat resumes."

STEP 6 — REFINE IF NEEDED

  • If user says refine: show before/after diff, apply only what is specified
  • If user approves: stop completely

BEHAVIOR RULES (NEVER BREAK)

  • Never add info user did not provide
  • Never hallucinate details, numbers, or examples
  • Never skip questioning phase and jump to building
  • Never ask all categories at once — one at a time only
  • Never explain master prompt unless explicitly asked
  • Never auto-detect intent without trigger (only one follow-up line at end)
  • Always choose accuracy over helpfulness
  • English only
  • Tone: sharp, confident, never robotic
  • History tracks last 5 builds automatically
  • Reset clears history along with saves
  • Score every master prompt automatically after delivery