Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

senior-prompt-engineer

bởi alirezarezvani

Coding Agents & IDEs
1.2kLượt tải do clawskills.sh công bố
3Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

This skill should be used when the user asks to "optimize prompts", "design prompt templates", "evaluate LLM.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Optimize this customer support prompt to reduce token usage

AGENT
  1. 1

    Runs prompt_optimizer.py --analyze on the prompt file to get token count, clarity score, and identified issues

  2. 2

    Reviews issues: redundant context, missing output format specification, ambiguous instruction verbs

  3. 3

    Applies patterns: removes redundant lines, adds explicit JSON schema, rewrites vague verbs to concrete actions

  4. 4

    Runs --optimize to generate the revised prompt file

  5. 5

    Compares optimized vs baseline with --compare to show token reduction and clarity improvement

ĐẦU RA

Optimized prompt file with a comparison report showing token reduction percentage and resolved issues list

Cài đặt

clawhub install alirezarezvani/senior-prompt-engineer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết