enhance-prompts

Featured

Use when improving general prompts for structure, examples, and constraints.

AI & Automation 967 stars 111 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
99
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

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