master-prompt-forge

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

1|3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/AIKAGRYA/dharma_swarm --skill master-prompt-forge-aikagrya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: master-prompt-forge
Source: https://github.com/AIKAGRYA/dharma_swarm/tree/main/docs/skills/master-prompt-forge
Command: npx skills add https://github.com/AIKAGRYA/dharma_swarm --skill master-prompt-forge-aikagrya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Users often have vague, messy, or under-specified ideas that fail as prompts for AI agents, producing weak or misaligned results. This Skill infers the strongest useful task inside a rough seed and expands it into a complete, execution-ready prompt with explicit assumptions, constraints, deliverables, and checkable completion criteria. ## Core Features & Use Cases - Seed-to-prompt forging: Infers the real goal from a vague or misspelled seed and labels every inferred assumption explicitly instead of baking in silent guesses. - Dual templates with a shared contract: Uses a repo-agent template (with a mandatory workspace hygiene block) for coding targets and a non-code template with evidence/citation discipline for research and writing tasks. - Quality gate self-check: Validates every forged prompt against a rubric covering concrete goals, bounded scope, specific deliverables, and verifiable "done when" criteria before returning it. - Use Case: A user pastes "fix the flaky tests in my repo" and receives a full Claude Code prompt including repo context sections, a read-only-first hygiene block, forbidden-by-default destructive operations, and test-pass completion criteria. ## Quick Start Ask the agent to forge your rough idea into a master prompt, for example: "Forge this into a master prompt for Claude Code: add rate limiting to the API."

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 vague idea into a good prompt for Claude Code?▼

Paste your rough seed and ask for it to be forged into a master prompt. The Skill infers the concrete goal, labels assumptions explicitly, and fills a structured template covering context, constraints, deliverables, verification steps, and checkable completion criteria.

What is the difference between the repo agent and non-code prompt templates?▼

The repo agent template targets coding agents like Claude Code or Codex and mandates a verbatim workspace hygiene block. The non-code template targets research and writing tasks and replaces hygiene with evidence and citation discipline.

Can this Skill generate prompts for Codex as well as Claude?▼

Yes, it forges prompts for Codex, Claude, Claude Code, repo agents, and swarms. It also ships an AGENTS.md fragment you can merge into a repo so Codex applies the same forging and hygiene doctrine automatically.

Does the workspace hygiene block prevent destructive git operations?▼

Yes, the hygiene block forbids destructive operations like git reset --hard, git clean -fdx, force-push, and mass reformatting as default moves. It also defines a quarantine mode that preserves dirty worktrees as user property instead of cleaning them.

What happens if my seed is missing important details?▼

The Skill infers the strongest useful interpretation but writes each guess as an explicit labeled assumption, such as "Assuming X because the seed didn't specify Y", so you can correct it before the prompt ships.

Is the dirty worktree report script safe to run?▼

Yes, the script is strictly read-only. It reports branch, upstream, worktrees, dirty file counts, lockfiles, and generated directories without writing, staging, stashing, or deleting anything.