agentleFS
ku5icku5ic/claude-kit/skills/meta-prompt/SKILL.md

meta-prompt

Skill2 starsChanged 15 days agoMITView on GitHub

Turn a fuzzy ask into a sharp prompt with context and acceptance criteria

8 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

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read $ARGUMENTS. If it points to a file, read it.

    line 27
  2. Very specific:

    Run kit detect-stack if the ask appears technical.

    line 28
  3. Distinctive:

    Verify before writing. For any file path, symbol, or API the prompt is about to name:

    line 34
  4. Distinctive:

    Read it directly when the input names a couple of files.

    line 36
  5. Very specific:

    Write to the path kit scratch-dir prompt <slug> prints.

    line 43
  6. Distinctive:

    If the ask is actually two or three tasks bundled, split them and output multiple prompts.

    line 82
  7. Very specific:

    If the ask is under-specified in a way that cannot be inferred, ask per skills/kit-rules/reference/workflow.md section 4 before writing the …

    line 83
  8. Distinctive:

    If the shaped prompt looks reusable, suggest at the bottom:

    line 88

“Common” is measured: kept by at least 6 in 10 of the 6 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

/meta-prompt

Turn a fuzzy ask into a sharp Claude Code prompt with context and acceptance criteria.

Loading this skill isn't enough. Before the step a row names, read its file.

BeforeRead
Writing the output promptreference/prompt-practice.md

When to use

  • You want to capture a reusable task as a new slash command
  • You are about to start a new Claude Code session and want to hand off context
  • You are handing a task to a teammate and want a shaped brief
  • A request came in vaguely and needs sharpening before you act

Procedure

  1. Read $ARGUMENTS. If it points to a file, read it.
  2. Run kit detect-stack if the ask appears technical.
  3. Identify what is missing:
    • Goal unclear or conflated with method
    • Scope undefined (no files, no surface area)
    • Success unstated (how do we know it worked)
    • Constraints missing (stack, style, deadline, performance)
  4. Verify before writing. For any file path, symbol, or API the prompt is about to name:
    1. Confirm it exists.
    2. Read it directly when the input names a couple of files.
    3. Delegate to the built-in Explore agent when the input references code or architecture spanning more than a couple of files.
    4. Anything that cannot be verified goes into the output as "unverified, please confirm", not asserted.
  5. Rewrite as a structured prompt.

Output file

Write to the path kit scratch-dir prompt <slug> prints.

Structure:

# Task: <clear one-line title>

## Goal

<The outcome. What, not how.>

## Context

<Relevant files, prior work, constraints the reader needs. Link or inline.>

## Inputs

<What the agent or person has to work with. Paths, data, tickets.>

## Constraints

<Stack, style, patterns to respect, things to avoid, time bound.>

## Out of scope

<What this task does not include. Prevents drift.>

## Acceptance criteria

<List. Observable, verifiable. Not internal steps.>

## Suggested first step

<One concrete action to start. Not the whole plan.>

Rules

  • Extract the underlying goal, do not repeat the fuzzy phrasing.
  • If the ask is actually two or three tasks bundled, split them and output multiple prompts.
  • If the ask is under-specified in a way that cannot be inferred, ask per skills/kit-rules/reference/workflow.md section 4 before writing the output file; the answers become a "Decisions" section.
  • The output is meant to be copy-pasted by another agent or a human, not a chatbot.

Bonus: promoting the prompt to a skill

If the shaped prompt looks reusable, suggest at the bottom:

This looks reusable. Consider saving as ~/.claude/skills/<name>/SKILL.md. Frontmatter would be:

---
description: <one-line summary>
argument-hint: <what fills $ARGUMENTS>
---

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.