masterprompt

Writes self-contained handoff briefs for executors lacking the original conversation context.

Updated May 8, 2026
One-click install
npx skills add https://github.com/tomw200082-collab/gt-factory-os-production-brain --skill masterprompt-tomw200082-collab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: masterprompt
Source: https://github.com/tomw200082-collab/gt-factory-os-production-brain/tree/main/.claude/skills/masterprompt
Command: npx skills add https://github.com/tomw200082-collab/gt-factory-os-production-brain --skill masterprompt-tomw200082-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Work handed to a fresh session, agent, or person fails when the brief assumes shared context: the executor guesses, re-litigates settled decisions, or declares false victory. This Skill produces a masterprompt — a self-contained document that carries everything the executor needs and nothing they cannot verify. ## Core Features & Use Cases - Five-phase authoring workflow: reconnaissance at the source, spine questions, template-driven writing, red-team review, and durable delivery with status stamping. - Mechanical linting: check.mjs validates instruction language, output-language directives, required sections, hedging, and unsourced numbers with line-numbered findings. - Structured red-team review: REVIEWER-PROMPT.md dispatches a fresh subagent to spot-check factual claims, done-conditions, and scope boundaries from a zero-context reader's perspective. - Use Case: You scoped a multi-day migration in this conversation and need a new session to execute it. The Skill measures current system state, drafts the brief from TEMPLATE.md with falsifiable done-conditions and landmines, lints it, red-teams it, and delivers it as a dated, committed file. ## Quick Start Ask the assistant to write a masterprompt for handing off a specific piece of work to a fresh session, and it will run reconnaissance, draft from the template, lint, and red-team the result.

Frequently Asked Questions about masterprompt

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

FAQPage Schema
How do I write a prompt for a fresh session with no shared context?▼

Run reconnaissance at the source first, then draft from the masterprompt template with a one-sentence mission, falsifiable done-conditions, dated ground truth, explicit scope-out, and landmines. Finish with a lint pass and a red-team review before delivering.

What is a masterprompt and when should I use one?▼

A masterprompt is a self-contained brief handed to a fresh executor who then completes the work without asking what you meant. Use it for multi-step work crossing a context boundary; skip it for tasks that fit in the current session or are still being scoped.

How do I make done-conditions verifiable in a task brief?▼

Each done-condition must name the observation that would prove it false, made on something the author does not control. Replace vague targets like "improve X" with the exact command or query whose output settles the question.

Should prompts for AI agents be written in English or another language?▼

Write instructions in English, since multilingual models reason best in their dominant training language, but keep data literals like Hebrew UI strings in their original script inside backticks. Always state the output language and register explicitly.

When should I not use a masterprompt?▼

Skip it when the work fits in the current session, when the ask is a question, when scope is still forming, or when you need a task-level plan for already-scoped work. A masterprompt wraps work; a plan nests inside it.

Can a masterprompt contain credentials or customer data?▼

No. Secrets are named and located, never valued, and personal data is referenced by query rather than pasted. Where a human must supply a secret, they set it directly and the executor verifies through an observable side effect.