Skip to content
Back to skills

Prompt Quality Auditor

ASecurity

Prompt quality auditor: audit every prompt for clarity, safety, and injection resistance. Read-only. Trigger: /prompt-quality

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsshell

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill prompt-quality-auditor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Quality Auditor?

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

Security grade badge for Prompt Quality Auditor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-prompt-quality-auditor/badge)](https://www.skillsdirectory.com/skills/majiayu000-prompt-quality-auditor)

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-quality-auditor
description: "Prompt quality auditor: audit every prompt for clarity, safety, and injection resistance. Read-only. Trigger: /prompt-quality"
trigger: /prompt-quality
---
# /prompt-quality

Prompts are the most critical code you never review. This skill finds quality issues before they cause bad outputs.

## What this is for

- Prompts without output format specification (model guesses format)
- Missing safety instructions (model complies with harmful requests)
- User input directly in prompt without sanitization (injection)
- **Read-only skill.** No prompt modifications.


## PROTECTION RULE - never ~/.claude/

Read-only skill. Guard required if write mode added later.

## What You Must Do When Invoked
During analysis, assign a confidence level to each finding: proven (confirmed by evidence), likely (strong signal, needs review), or suspected (weak signal).

If `/prompt-quality -help` or `/prompt-quality -h` (without further arguments)
is invoked: output the `## Usage` section unchanged and stop.

Otherwise follow these steps in order, skipping none.

### Step 1 - Help check
If invoked with `-help` or `-h`, output the `## Usage` section unchanged and stop.

### Step 2 - Clarify target

Clarify `-ProjectDir`. Get confirmation.

### Step 3 - Scan

```powershell
& "<SKILL_DIR>/scripts/prompt-scan.ps1" -ProjectDir "<path>"
```

### Step 4 - Classification

Read each prompt:

- **Structured**: has output format spec + constraints
- **Semi-structured**: has some guidance
- **Open-ended**: no constraints on output
- **Injection-susceptible**: user input directly in prompt

### Step 5 - Write report

File `prompt-quality-report.md` in current working directory:

1. **Summary** - prompts by classification.
2. **Prompt table** - injection-susceptible first. Per prompt: file, line, type, has format spec, has safety instructions, risk, recommendation.
3. **Open questions**.

### Step 6 - Summarize

State report path, highlight prompts that could produce harmful or unreliable outputs.

## Usage

```
/prompt-quality               # interactive
/prompt-quality <dir>         # scan project
/prompt-quality -help
```


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 ai-agents →

Comments

Loading comments…

Newsletter

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