Skip to content
Back to skills

Prompt Refinement

ASecurity

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

  • 8 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 6, 2026
researchgosecurity

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add v1truv1us/ai-eng-system --skill prompt-refinement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Refinement?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Refinement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/v1truv1us-prompt-refinement-1bd1f3af/badge)](https://www.skillsdirectory.com/skills/v1truv1us-prompt-refinement-1bd1f3af)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prompt-refinement
description: Convert vague requests into compact TCRO prompts with phase-specific constraints. Used by research, specify, plan, and work workflows.
metadata:
  category: model-invoked
  version: 2.0.0
  tags: prompting, tcro, requirements, workflow
---

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

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

Files in this skill

  • SKILL.md1.9 KB
  • evals/evals.json1.7 KB
  • templates/plan.md13.1 KB
  • templates/research.md8.8 KB
  • templates/specify.md12.3 KB
  • templates/work.md14.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.