policy — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited policy (Hook) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Prompt quality management for Claude Code
[한국어 문서 (Korean)](README.ko.md)
Core Features:
| Situation | Recommended | Command |
|---|---|---|
| "Is this prompt good enough?" | LINT | /ps:lint <prompt> |
| "Make this prompt better" | Review | /ps:r <prompt> |
| "Just fix it and run" | Intercept | /ps:a <prompt> |
| "Design a new prompt" | BUILD | /ps:build <goal> |
| "Compare prompt variants" | Eval | See Eval Mode |
| Command | Description | Best For |
|---|---|---|
/ps:r <prompt> | Review Mode - Show improvements, await approval | Daily use (safe) |
/ps:lint <prompt> | LINT Mode - Full diagnosis with test cases | Debugging prompts |
/ps:a <prompt> | Intercept Mode - Auto-improve and execute immediately | Quick tasks |
/ps:build <goal> | BUILD Mode - Design from requirements | New prompts |
/ps:help [topic] | Help - Show usage guide and command reference | Getting started |
Quick Example:
/ps:r Write a function to parse JSONShows score (3/10 → 8/10), changes, asks "Proceed? (y/n/e)"
/plugin to open plugin terminalTab to navigate to "Add Marketplace"joseph0926/prompt-shieldTab to navigate to "Install Plugin"ps@prompt-shieldInstall Guide
git clone https://github.com/joseph0926/prompt-shield
claude --plugin-dir ./prompt-shieldgit clone https://github.com/joseph0926/prompt-shield
cp -r prompt-shield/skills/prompt-shield ~/.claude/skills/Note: This method only enables natural language triggers (use prompt-shield -r), not slash commands.Slash Commands (recommended):
/ps:r your prompt here # Review Mode (single line)
/ps:r your prompt here
with multiple lines # Review Mode (multiline)
/ps:a your prompt here # Intercept Mode
/ps:lint your prompt # LINT Mode
/ps:build requirements # BUILD ModeNote: Triple backticks (```) are optional. Plain text and multiline input are fully supported.
Natural Language (alternative):
use prompt-shield -r Your prompt here/ps:lint Analyze user feedbackOutput: Score 3/10 → Top 3 issues → Improved prompt → 5 test cases
/ps:r Write a function to parse JSONOutput:
+----------------------------------------------------------+
| Score: 3/10 -> 8/10 (+5) |
+----------------------------------------------------------+
Changes:
- [+] Added: Software engineer role
- [+] Added: Error handling examples
- [~] Modified: Specified return format
Proceed? (y/n/e)/ps:a Summarize this documentOutput: Auto-improved if +2 points possible → Executes immediately
| Feature | Description |
|---|---|
| Examples & TOCs | Expanded examples and added TOCs to long references |
| Structured Outputs | Stronger guidance for schema mismatch and JSON mode caution |
| Feature | Description |
|---|---|
| ps:a Token Efficiency | Minimal output: [PromptShield] 활성화됨 (X→Y점) |
| ps:r Intent Capture | AskUserQuestion for format/detail/constraints/goals |
| Feature | Description |
|---|---|
| Eval Mode | A/B prompt comparison with test datasets |
| Long Context | 200K token optimization (chunking, placement) |
| Token Management | Cost estimation, context window validation |
| Structured Outputs | 100% JSON validity techniques |
| Feature | Description |
|---|---|
| Progressive Loading | Skills load on-demand |
| Hooks | Auto-LINT on prompt submit (optional) |
| Agents | 3 specialized: optimizer, reviewer, test-generator |
| GitHub Actions | CI/CD integration |
See CHANGELOG.md for full release notes.
| Mode | Slash Command | Natural Language | Description |
|---|---|---|---|
| Review | /ps:r <prompt> | use prompt-shield -r | Show improvements, await approval |
| Intercept | /ps:a <prompt> | use prompt-shield -a | Auto-improve and execute |
| LINT | /ps:lint <prompt> | lint this prompt | Diagnose existing prompts |
| BUILD | /ps:build <goal> | build a prompt for... | Design from requirements |
| # | Dimension | Score | Note |
|---|---|---|---|
| 1 | ROLE | 0-2 | Base |
| 2 | CONTEXT | 0-2 | Base |
| 3 | INSTRUCTION | 0-2 | Base |
| 4 | EXAMPLE | 0-2 | Base |
| 5 | FORMAT | 0-2 | Base |
| 6 | SUCCESS_CRITERIA | 0-2 | Base (v2.7+) |
| 7 | STATE_TRACKING | 0-2 | Extended |
| 8 | TOOL_USAGE | 0-2 | Extended |
Base Score: Dimensions 1-6 (max 12 → normalized to 10) Extended Score: All 8 dimensions (normalized)
/plugin → check installed listWe welcome contributions! See CONTRIBUTING.md for guidelines.
MIT License - see LICENSE
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.