ai-prompt-engineering-expert

Featured

Expert guide for Prompt Engineering, Chain-of-Thought, few-shot prompting, structured output, prompt injection defense, and automated AI evaluations & regression benchmarking (Promptfoo, DeepEval) / Panduan ahli rekayasa prompt dan evaluasi otomatis AI.

AI & Automation 70 stars 14 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AI Prompt Engineering & Automated Evals Expert (2026 Edition) [English](#english) | [Bahasa Indonesia](#bahasa-indonesia) --- <a name="english"></a> ## English ### Description Production-grade guide covering prompt engineering and automated evaluation (Evals). Teaches how to write, version, defend, benchmark, and regression-test LLM prompts and agent workflows using **Promptfoo**, **DeepEval**, and structured JSON schemas. ### Trigger Conditions - Writing or refactoring system prompts for autonomous AI agents. - Enforcing strict structured output (JSON Schema / Zod). - Defending against Prompt Injection or jailbreak attacks. - Setting up automated regression testing and CI/CD quality gates for LLMs. - Benchmarking RAG output quality (Faithfulness, Relevance, Hallucinations). --- ### Part 1: Prompt Construction & Defense #### 1. Structured Output (Schema-First) Never rely on prompt instructions alone to get JSON. Always use native Tool Calling / Structured Outputs with JSON Schema or Zod: ```typescript import { z } from 'zod'; export const UserAnalysisSchema = z.object({ sentiment: z.enum(['positive', 'neutral', 'negative']), confidence: z.number().min(0).max(1), tags: z.array(z.string()), }); ``` #### 2. Advanced Prompting Techniques - **Chain-of-Thought (CoT)**: Direct the model to deliberate before producing final answers. Instruct output inside `<thinking>` tags. - **Few-Shot Prompting**: Provide 2-3 diverse input-output...

Details

Author
roedyrustam
Repository
roedyrustam/vibes-plug
Created
4 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category