Agent Skills: Prompt refinement

Convert vague requests into compact TCRO prompts with phase-specific constraints. Used by research, specify, plan, and work workflows.

model-invokedID: v1truv1us/ai-eng-system/prompt-refinement

Install this agent skill to your local

pnpm dlx add-skill https://github.com/v1truv1us/ai-eng-system/tree/HEAD/skills/prompt-refinement

Skill Files

Browse the full folder contents for prompt-refinement.

Download Skill

Loading file tree…

skills/prompt-refinement/SKILL.md

Skill Metadata

Name
prompt-refinement
Description
Convert vague requests into compact TCRO prompts with phase-specific constraints. Used by research, specify, plan, and work workflows.

Default output: return the refined prompt only. Ask at most one blocking question.

Prompt refinement

Convert the request into TCRO:

  • Task: observable objective.
  • Context: relevant repository, user, or system facts.
  • Requirements: constraints, acceptance criteria, and non-goals.
  • Output: artifact, schema, destination, and length.

Do not add personas, stakes, challenge language, generic reasoning instructions, or confidence scores.

Phase requirements

Research

Specify the question, scope, source types, evidence standard, and desired depth. Default output is a short finding summary plus citations or a named report file.

Specify

Define users, behavior, interfaces, edge cases, compatibility, and acceptance criteria. Exclude implementation choices unless they are constraints.

Plan

Define the source spec, implementation boundaries, dependency order, verification commands, and completion criteria.

Work

Define the exact change, allowed scope, required tests, verification commands, and handoff output. Include a non-goal for likely scope creep.

Refinement rules

  1. Preserve explicit user wording where it carries intent.
  2. Infer reversible details from repository context.
  3. Ask only when a missing answer changes architecture, security, compatibility, or irreversible behavior.
  4. Replace vague terms with measurable checks.
  5. Remove duplicated context and optional prose.

Template

Task: <observable objective>
Context: <required facts>
Requirements:
- <constraint or acceptance criterion>
- Non-goal: <excluded scope>
Output: <artifact/schema/length>
Verify: <checks>