agentleFS
DylXBTDylXBT/claude-orchestrator-skills/prompt-architect/SKILL.md

prompt-architect

Skill114 starsChanged 6 months agoMITView on GitHub

Turn a vague request into a reliable, reusable prompt with role, context, task, constraints, and examples. Use when the user keeps re-rolling outputs to get something usable, or wants a repeatable prompt for a task they do often — in any field.

21 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the user, briefly and conversationally (don't dump all five at once — ask, then react):

    line 14
  2. Distinctive:

    What does "good" look like?: Ask for one or two real examples, or describe the bar.

    line 19
  3. Distinctive:

    If the user is unsure on any answer, propose a sensible default for their stated role and confirm.

    line 22
  4. Distinctive:

    Write the prompt in five labelled parts, in this order:

    line 26
  5. Distinctive:

    Keep CONSTRAINTS specific — most quality lives there.

    line 36
  6. Distinctive:

    Run the prompt once on the user's real input.

    line 40
  7. Distinctive:

    Never invent the user's domain — the interview is not optional.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prompt Architect

Most weak output isn't a weak model — it's a missing part. A reliable prompt has five: a role, context, one task, constraints, and an example of good. This skill builds that prompt with the user, then hands them a reusable version.

It is role-agnostic. Do not assume the user is a marketer, engineer, or anything else. Ask.

Step 1 — Interview (always do this first)

Ask the user, briefly and conversationally (don't dump all five at once — ask, then react):

  1. Who should the assistant act as? Their job/role and the kind of judgement it implies. ("HR business partner", "brand designer", "support lead".)
  2. What's the one task? A single deliverable. If they name several, pick one and note the rest for later.
  3. What's the context? Audience, goal, and any house style or rules. Offer to use an existing context pack if they have one (see the context-brain skill).
  4. What does "good" look like? Ask for one or two real examples, or describe the bar.
  5. Constraints? Length, format, tone, and what to avoid.

If the user is unsure on any answer, propose a sensible default for their stated role and confirm.

Step 2 — Assemble

Write the prompt in five labelled parts, in this order:

ROLE:        You are a <role> who <relevant judgement>.
CONTEXT:     <audience, goal, house rules / link to their context pack>
TASK:        <one deliverable, stated precisely>
CONSTRAINTS: <length · format · tone · what to avoid>
EXAMPLES:    <1–2 samples of "good", or a tight description of the bar>

Keep CONSTRAINTS specific — most quality lives there. Prefer showing an example over describing one ("examples beat adjectives").

Step 3 — Test and tighten

Run the prompt once on the user's real input. Look at the output with them and fix the prompt, not the output: a miss almost always traces to a missing constraint or a weak example. Iterate until one run is shippable.

Step 4 — Hand it back

Give the user the final prompt as a clean block they can save and reuse, plus a one-line note on what to swap each time they run it (the variable input). If they run this task weekly, suggest packaging it with the skill-author skill.

Rules

  • Five parts, always. If you're tempted to skip one, that's usually the part that was missing.
  • One task per prompt. Multi-part asks become a pipeline (pipeline-builder).
  • Never invent the user's domain — the interview is not optional.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.