master-prompt-forge

Convert rough seed ideas into structured master prompts for Claude, Codex, and repo agents.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/AmitabhainArunachala/dharma_swarmv.01 --skill master-prompt-forge-amitabhainarunachala
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: master-prompt-forge
Source: https://github.com/AmitabhainArunachala/dharma_swarmv.01/tree/main/docs/skills/master-prompt-forge
Command: npx skills add https://github.com/AmitabhainArunachala/dharma_swarmv.01 --skill master-prompt-forge-amitabhainarunachala

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Users often have only a vague, messy, or under-specified idea when they need a complete prompt for a coding agent, research agent, or swarm. This Skill infers the strongest task inside the seed and produces a complete, execution-ready prompt with labeled assumptions, constraints, deliverables, and checkable completion criteria. ## Core Features & Use Cases - Seed-to-prompt forging: Infers the real goal from a rough seed and fills a structured template covering role, goal, assumptions, context, constraints, deliverables, evidence discipline, and done-when criteria. - Dual templates with quality gate: Provides separate templates for repo/code agents and research/writing agents, plus a quality gate checklist every forged prompt must pass before being returned. - Workspace hygiene enforcement: Mandates a verbatim hygiene block for any prompt touching a repository, including read-only-first checks, forbidden-by-default destructive operations, and dirty-worktree quarantine mode. - Use Case: A user pastes "fix the flaky tests in my repo" and receives a full Claude Code prompt with repo context sections, verification commands, a hygiene block, and concrete done-when criteria. ## Quick Start Ask the assistant to forge your rough idea into a master prompt by pasting your seed and saying "forge this into a master prompt for Claude Code".

Frequently Asked Questions about master-prompt-forge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a rough idea into a prompt for Claude Code or Codex?▼

Paste your rough seed and ask for it to be forged into a master prompt. The skill infers the goal, labels assumptions, and fills a structured template with context, constraints, deliverables, and checkable done-when criteria for the target agent.

What makes a good prompt for a coding agent working in a repository?▼

A good repo-agent prompt states the goal, relevant repo context, constraints and non-goals, concrete deliverables, verification commands, and checkable completion criteria. This skill also splices in a mandatory workspace hygiene block covering git state checks and forbidden destructive operations.

Can I use this prompt forging approach with Codex instead of Claude?▼

Yes. The skill includes a codex/AGENTS.fragment.md file you can append to a global or repo-local AGENTS.md so Codex applies the same forging and workspace hygiene doctrine without re-invoking the skill by name.

Does the skill handle repositories with many uncommitted changes?▼

Yes. It defines a Dirty-Worktree Quarantine Mode that inventories pre-existing changes without touching them and directs new work into a clean sibling git worktree. A read-only bash script reports branch, worktrees, dirty file counts, and lockfiles.

What are the limitations of template-based prompt generation?▼

The forged prompt quality depends on what the seed implies; anything unstated must be labeled as an assumption for the user to correct. The skill does not execute tasks itself—it only produces the prompt text for another agent to run.