Agent skill

enhance-prompts

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

agent-sh404★ · +29/wk · 2 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add agent-sh/agentsys --skill enhance-prompts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Version: 5.1.0
Path: .kiro/skills/enhance-prompts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 923
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Parse Arguments
  2. Differentiation from enhance-agent-prompts
  3. Workflow
  4. Prompt Engineering Knowledge Reference
  5. System Prompt Structure
  6. XML Tags (Claude-Specific)
  7. Few-Shot Examples
  8. Chain-of-Thought (CoT)
  9. Role Prompting
  10. Instruction Hierarchy
  11. Negative Prompting
  12. Structured Output
  13. Context Window Optimization
  14. Extended Thinking
Commands it runs
node -e "const a = require('./lib/enhance/prompt-analyzer.js'); console.log(JSON.stringify(a.analyzeAllPrompts('.'), null, 2));"
More from agentsys
All skills →
About this skill
What does the enhance-prompts skill do?

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

How do I install it?

Run `npx skills add agent-sh/agentsys --skill enhance-prompts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going