agentleFS
lethanhvietctt5lethanhvietctt5/claude-augment/skills/prompt-leverage/SKILL.md

prompt-leverage

Skill0 starsChanged 3 months agoMITView on GitHub

The Prompt Leverage framework — how to turn a rough request into a well-scoped prompt with the right amount of structure. Use when writing a prompt for another agent or session, or as the fallback classification reference when the augment CLI is unavailable.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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:

    Before finalizing, check the rewrite:

    line 76
  2. Distinctive:

    If the draft is already strong, make only minimal edits.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Leverage

A framework for adding just enough structure to a prompt. The failure mode it guards against is not under-specification — it is ceremony: wrapping a two-line request in five headings nobody reads.

The plugin's CLI (bin/augment.mjs) applies all of this deterministically. These tables are the same rules in readable form, for when you need to classify by hand.

1. Intent

Nine intents, checked in this order. First match wins.

IntentSignals
explain (lead)Draft opens with explain / walk me through / help me understand — and asks for no action. why/how openers skip this pass.
reviewreview, audit, findings, look for issues
test-fixfailing tests, regression tests, update tests, add tests, fix tests
debugdebug, fix, bug, broken, fails, stuck, hangs, crash, error, root cause
refactorrefactor, clean up, simplify, dedupe, restructure, reorganize
docsreadme, docs, document, documentation, usage guide
researchresearch, look up, investigate, compare, evaluate, spike, find the best approach
implementan implement verb (implement, add, build, create, support, integrate, update, change, modify) plus a code surface (file path, extension, backticked term, repo/module/API/test/tooling word) or a verification word
explain (late)explain-ish wording that reached this point
generalnothing matched

2. Rewrite mode

  • execution-contract — implement, debug, refactor, review, research, docs, test-fix
  • plain — explain, general

A plain rewrite is stronger prose. An execution contract is compiled into <task>, <context>, <constraints>, <verification>, <deliverable> — only the sections that earn their place.

3. Effort

  • Deep — the draft contains careful, deep, thorough, high-stakes, production, critical, architecture, or security
  • Standard — implement, debug, refactor, review, research, test-fix
  • Light — everything else

Deep and Standard both add: review the result once with fresh eyes before finalizing.

4. Blocks

Assemble only the blocks that improve the prompt.

BlockWhat it fixes
ObjectiveThe agent optimising for plausible instead of correct
ContextMissing files, constraints, unknowns
Work StyleDepth, breadth, first-principles expectations
Tool RulesEditing before reading; guessing checkable facts
Output ContractShape and level of detail of the answer
VerificationCorrectness, edge cases, regressions
Done CriteriaStopping too early, or not stopping

Per-intent defaults for the last four:

IntentTool RulesVerificationDone when
implement / refactor / test-fixRead the files and their dependencies before editing; validate with the narrowest useful check firstTests, lint, typecheck; no broken existing behaviorChange complete, tests pass, no known regressions
debugSame, plus reproduce before editingRoot cause addressed; regression coverage addedRoot cause confirmed fixed and covered
reviewRead enough context to understand intent before critiquingCorrectness and completeness; no speculative redesignFindings delivered with severity, reasoning, next step
researchRetrieve evidence before concluding; never guess checkable factsImprove obvious weaknesses within scopeSynthesis grounded, uncertainties flagged, path recommended
docsRead current docs and the behavior they describeExamples and commands still workDocs match behavior, examples verified
explain / generalUse tools only when they materially improve correctnessCorrectness, completeness, edge casesThe question is clearly answered

5. Quality bar

Before finalizing, check the rewrite:

  • still matches the original intent
  • adds no unnecessary ceremony
  • carries the right verification level for the task
  • gives a clear definition of done

If the draft is already strong, make only minimal edits.

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.