senior-prompt-engineer
alirezarezvani द्वारा
Coding Agents & IDEsसंक्षिप्त
This skill should be used when the user asks to "optimize prompts", "design prompt templates", "evaluate LLM.
विवरण
यह स्किल क्या करती है
Tools and workflows for analyzing LLM prompts, evaluating RAG pipelines, and validating agentic systems. Includes Python scripts for token counting, clarity scoring, few-shot example management, and agent workflow visualization.
Combines prompt analysis, RAG evaluation, and agent validation into a single workflow rather than requiring separate tools for each concern.
इसे कब इस्तेमाल करें
- Cutting token costs in a production GPT-4 prompt
- Measuring retrieval accuracy in a RAG-based Q&A system
- Validating agent tool configs before a deployment
- Building consistent few-shot examples for entity extraction
- Enforcing structured JSON output from an LLM
उदाहरण वर्कफ़्लो
User asks: Optimize this customer support prompt to reduce token usage
- 1
Runs prompt_optimizer.py --analyze on the prompt file to get token count, clarity score, and identified issues
- 2
Reviews issues: redundant context, missing output format specification, ambiguous instruction verbs
- 3
Applies patterns: removes redundant lines, adds explicit JSON schema, rewrites vague verbs to concrete actions
- 4
Runs --optimize to generate the revised prompt file
- 5
Compares optimized vs baseline with --compare to show token reduction and clarity improvement
Optimized prompt file with a comparison report showing token reduction percentage and resolved issues list
इंस्टॉलेशन
clawhub install alirezarezvani/senior-prompt-engineerCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।