Agent skill · writing content · borghei
prompt-engineer-toolkit
Prompt engineering frameworks for building, testing, versioning, and evaluating prompts: chain-of-thought, few-shot, regression testing, and rubrics. Use when designing production prompts, running A/B tests, or building prompt libraries.
Why this skill is useful
Adds 3 executable scripts for evaluating, analyzing, and comparing prompts that enhance the AI's prompt engineering capabilities.
What it needs
Requires python installed locally. About 3k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.
What this skill does
Prompt Engineer Toolkit — Production Prompt Engineering The complete lifecycle for production prompts: design patterns that work, testing frameworks that catch regressions, versioning systems that track changes, and evaluation rubrics that replace subjective "looks good" with measurable quality. This treats prompts as production code with the same rigor — not clever tricks. Tags: prompt engineering, chain-of-thought, few-shot, evaluation, testing, prompt versioning Core Capabilities Prompt patterns — 6-layer system-prompt architecture, chain-of-thought (standard, scratchpad, self-consistency), few-shot design + dynamic selection, JSON/section output structuring, decomposition pipelines, calibration (temperature + confidence levels). Testing framework — test-case structure, suite composition (40/30/15/15), a 5-dimension automated scoring rubric with a weighted formula, and a regression-testing protocol. Versioning — version-control layout, changelog format with rationale/baselines/rollback, and a prompt-diff risk checklist. Failure-mode catalog — instruction override, format drift, sycophancy, verbosity, hallucination, anchoring, lost-in-the-middle, each with fixes. Lifecycle workflows — design a prompt, debug a degraded prompt, migrate a prompt to a new model. When to Use Designing production prompts or building a prompt library. Running A/B tests or regression tests on prompt variants. Versioning prompts and gating changes on test scores. Debugging a degraded prompt or migrating prompts across models. Clarify First Before designing or testing the prompt, confirm these inputs. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills borghei/prompt-engineer-toolkit