Skip to content
Back to skills

Improve Prompt Henrygoldsmith07 Wq Claude Code

ASecurity

Single-pass rewrite of an LLM prompt — paste a prompt or point at a file (system prompt, prompt template, agent definition, SKILL.md) and get an improved version with a rationale for each change. Use when the user wants a prompt improved, optimized, tightened, or reviewed against prompt-engineering best practices.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 8, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 8, 2026

npx -y skills add majiayu000/claude-skill-registry --skill improve-prompt-henrygoldsmith07-wq-claude-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Improve Prompt Henrygoldsmith07 Wq Claude Code?

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

Security grade badge for Improve Prompt Henrygoldsmith07 Wq Claude Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-improve-prompt-henrygoldsmith07-wq-claude-code/badge)](https://www.skillsdirectory.com/skills/majiayu000-improve-prompt-henrygoldsmith07-wq-claude-code)

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

SKILL.md
---
name: improve-prompt
description: Single-pass rewrite of an LLM prompt — paste a prompt or point at a file (system prompt, prompt template, agent definition, SKILL.md) and get an improved version with a rationale for each change. Use when the user wants a prompt improved, optimized, tightened, or reviewed against prompt-engineering best practices.
argument-hint: [prompt text or file path]
---

# Improve Prompt

Improve the prompt given in `$ARGUMENTS` with a single-pass rewrite. This is the manual, deep counterpart to the automatic per-message improver hook (`.claude/helpers/prompt-improver.cjs`).

## Steps

1. **Resolve the input.** If `$ARGUMENTS` is a file path, Read the file and locate the prompt inside it (a prompt constant, template string, system-prompt field, or the whole file for SKILL.md/agent definitions). Otherwise treat `$ARGUMENTS` itself as the prompt. If it's empty, ask the user to paste a prompt or name a file.

2. **Rewrite the prompt** applying this checklist — change only what improves it, and preserve the author's intent exactly:
   - Clear role/persona up front when the prompt defines an assistant's behavior
   - Explicit goal and expected output format (structure, length, JSON schema if applicable)
   - XML-tagged sections (`<instructions>`, `<context>`, `<examples>`, `<output_format>`) when the prompt mixes instructions with data or context
   - Concrete examples (few-shot) where behavior is otherwise underspecified
   - Constraints stated positively ("do X") rather than as long "don't" lists
   - Ambiguities resolved or surfaced — if intent is unclear, state the assumption inline rather than guessing silently
   - Template variables clearly delimited and documented
   - Dead weight removed: filler, duplicate instructions, hedging

3. **Present the result** as:
   - The improved prompt in a fenced block
   - A table of changes: what changed → why it helps

4. **If the prompt came from a file**, offer to apply the improved version with an Edit — do not modify the file without confirmation.

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.

Comments

Loading comments…

Newsletter

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