From harness-engineering
Improve and enhance prompts for LLM interactions. Use when user says "improve this prompt", "make this prompt better", "enhance prompt", "review my prompt", or shares a prompt and asks for feedback.
npx claudepluginhub emingenc/harness-engineering --plugin harness-engineeringThis skill uses the workspace's default tool permissions.
Run the PTC analysis script:
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Monitors deployed URLs for regressions in HTTP status, console errors, performance metrics, content, network, and APIs after deploys, merges, or upgrades.
Provides React and Next.js patterns for component composition, compound components, state management, data fetching, performance optimization, forms, routing, and accessible UIs.
Run the PTC analysis script:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/prompt-enhancer/scripts/enhance.py analyze "<prompt_text_or_file_path>"
Returns JSON with scores and suggestions:
{
"has_role": false,
"has_examples": false,
"has_output_format": true,
"specificity_score": 3,
"word_count": 42,
"suggestions": ["Add role definition", "Include few-shot examples"]
}
Apply surgical improvements based on analysis:
Do NOT over-engineer. If a dimension is already good, leave it.
Run formatting script:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/prompt-enhancer/scripts/enhance.py format \
--original "<original>" --enhanced "<enhanced>"
Show to user:
Input: "Summarize this text" Output: Enhanced with role ("You are a concise technical writer"), output format ("Provide a 3-bullet summary"), and constraints ("Focus on actionable insights, not background").
Input: "You are a code reviewer. Review the following Python code for bugs and suggest fixes. Format output as a table with columns: Line, Issue, Fix." Output: Added 1 few-shot example showing expected table format. Other dimensions left unchanged.