mcpField
T
to-prompt

to-prompt

github.com/pedronauckAgent workflows644335 installsUpdated 1w ago
Repository

About to-prompt

to-prompt is an agent skill for turning a task into an evidence-backed brief that lets a receiving LLM choose the implementation while preserving approved decisions.

Key features

  1. 01Classifies bugs, improvements, and features
  2. 02Collects code and environment evidence
  3. 03Creates a brief from a template
  4. 04Preserves approved constraints and decisions
  5. 05Hands off the brief by file path

Use cases

  1. 01Preparing a bug-fix handoff for an LLM
  2. 02Recording requirements and constraints before implementation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pedronauck/skills --skill to-prompt

After installing, type/to-promptin Claude Code to confirm it loaded.

Bundled filesassets/brief-template.md

Details

From the project README

To Prompt

Write a brief, not a solution. The brief carries everything the receiving LLM needs to choose the implementation itself — the problem, the current state, the requirements, the constraints — and preserves any implementation constraints or approved plan already supplied by the user. Leave undecided design choices to the receiver; do not erase accepted decisions to manufacture an open-ended problem.

Every brief is a file: docs/prompts/<YYYYMMDD-HHmm>_<slug>.md (e.g. docs/prompts/20260709-1745_fix-auth-redirect.md).

Steps

  1. Classify the task — bug fix, improvement, or feature — and draft a one-paragraph statement of the problem and the outcome wanted.
  2. Gather the evidence. Read the code paths involved; quote current code as it exists; capture the relevant error/log excerpts, excluding credentials and unrelated private data; note environment and recent changes. Done when: every claim in the brief is backed by something you actually read or ran.
  3. Write the brief from the template. Copy assets/brief-template.md to docs/prompts/<YYYYMMDD-HHmm>_<slug>.md (create the directory if absent; slug = lowercase-hyphenated summary; timestamp = now). Fill the applicable sections and remove guidance comments. Record consequential unknowns; omit irrelevant sections.
  4. Check decision fidelity. Separate user-approved constraints from suggestions and unresolved choices. Preserve the requested outcome and authorization; avoid introducing new implementation mandates.
  5. Hand off. Reply with the file path and a one-line summary of what the brief asks for.

Bundled files

  • assets/brief-template.md — the brief's skeleton and per-type coverage guidance; the single source of truth for what a complete brief contains.

Comments

Markdown supported