agentleFS
treylomtreylom/ThisCode/skills/prompt/SKILL.md

prompt

Skill41 starsChanged 2 months agoMITView on GitHub

Use when writing, generating, refining, reviewing, or being asked for ANY prompt aimed at an LLM (Claude / GPT / Gemini / Codex), or when building GPTs / Gems system instructions, or when a task is fact-check / research / image-generation prompting. Produces structured, framework-grounded prompts instead of ad-hoc ones. Invoke this BEFORE handing any hand-written prompt to a model.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brainstorm and review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 2

    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:

    Read only the matched reference above.

    line 44
  2. Distinctive:

    Use this skill to generate, optimize, and refine prompts for AI tasks.

    line 62

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

Vendored, unmodified-in-substance copy of the public prompt-engineering-skills package (MIT). It turns a rough intent into a structured, framework-grounded prompt rather than an ad-hoc one, and routes by task type.

When to use (mandatory-invocation)

Invoke this skill — do not free-hand a prompt — whenever the work is:

  • "write / make / improve / review a prompt" for any model
  • building GPTs or Gems system instructions
  • fact-check / research prompting (IFCN-grounded base templates required)
  • image-generation prompting (5-stage framework)
  • any request whose deliverable is itself a prompt

A bot whose config mandates /prompt (see the repo's docs/SETUP-CONFIG-GUIDE.md §"force-invoke") MUST route here first.

How it routes (progressive disclosure)

This SKILL.md is the router. Load the heavy reference only for the matched task — do not read all of it up front:

See references/ for detailed procedures only when the matched prompt task asks for them.

TaskLoad
Generate / refine a prompt (main workflow)references/prompt-generator.md
Framework / technique deep referencereferences/prompt-engineering-guide.md
Worked examples (Claude / GPT / image)references/examples/
Build a GPTs instructionreferences/instructions/GPTs-Prompt-Generator.md
Build a Gems instructionreferences/instructions/Gems-Prompt-Generator.md
Build bot meta files (soul.md / CLAUDE.md / AGENTS.md)references/instructions/Bot-Persona-Generator.md

Procedure:

  1. Classify the request (generate / fact-check / research / image / GPTs / Gems).
  2. Read only the matched reference above.
  3. For fact-check / research, the engineering guide's IFCN base template is mandatory — do not emit a generic XML prompt.
  4. Produce the structured prompt; show the user the final prompt explicitly.

Attribution

  • Upstream: github.com/treylom/prompt-engineering-skills (public, MIT) — see LICENSE. Context-Engineering basis: Muratcan Koylan, Agent-Skills-for-Context-Engineering.
  • Vendored here so the bot ships self-contained. The upstream maintainer's personal deploy script (commands/prompt-sync.md) is intentionally excluded (machine-specific, not relevant to distributees).

How to Use This Skill

Use this skill to generate, optimize, and refine prompts for AI tasks. Helps craft better prompts for Claude, design effective instruction sets, and improve prompt engineering for specialized workflows.

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.