enhance-prompts
FeaturedUse when improving general prompts for structure, examples, and constraints.
AI & Automation 967 stars
111 forks Updated 4 days ago MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# enhance-prompts
Analyze prompts for clarity, structure, examples, and output reliability.
## Parse Arguments
```javascript
const args = '$ARGUMENTS'.split(' ').filter(Boolean);
const targetPath = args.find(a => !a.startsWith('--')) || '.';
const fix = args.includes('--fix');
```
## Differentiation from enhance-agent-prompts
| Skill | Focus | Use When |
|-------|-------|----------|
| `enhance-prompts` | Prompt quality (clarity, structure, examples) | General prompts, system prompts, templates |
| `enhance-agent-prompts` | Agent config (frontmatter, tools, model) | Agent files with YAML frontmatter |
## Workflow
1. **Run Analyzer** - Execute the JavaScript analyzer to get findings:
```bash
node -e "const a = require('./lib/enhance/prompt-analyzer.js'); console.log(JSON.stringify(a.analyzeAllPrompts('.'), null, 2));"
```
For a specific path: `a.analyzeAllPrompts('./plugins/enhance')`
For a single file: `a.analyzePrompt('./path/to/file.md')`
2. **Parse Results** - The analyzer returns JSON with `summary` and `findings`
3. **Filter** - Apply certainty filtering based on --verbose flag
4. **Report** - Format findings as markdown output
5. **Fix** - If --fix flag, apply auto-fixes from findings
The JavaScript analyzer (`lib/enhance/prompt-analyzer.js`) implements all detection patterns including AST-based code validation. The patterns below are reference documentation.
---
## Prompt Engineering Knowledge Reference
### System Prompt Structure
Effective s...
Details
- Author
- agent-sh
- Repository
- agent-sh/agentsys
- Created
- 7 months ago
- Last Updated
- 4 days ago
- Language
- JavaScript
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
enhance-agent-prompts
Use when improving agent prompts, frontmatter, and tool restrictions.
967 Updated 4 days ago
agent-sh AI & Automation Listed
enhance-prompt
Use when the user asks to rewrite a rough request into a polished, copy/paste-ready prompt for another agent or a fresh session.
1 Updated yesterday
ryanportfolio AI & Automation Listed
prompt-enhancement-skill
Creates, critiques, repairs, and adapts prompts for AI tools. Use when the user asks to write or improve a prompt, convert requirements into instructions for an LLM or agent, diagnose why a prompt underperforms, or adapt a prompt for text, code, research, image, video, audio, automation, or computer-use systems. Skip when the user wants the underlying task completed and does not ask for a prompt.
0 Updated today
PyModel