prompt-engineering

Design system prompts, RAG pipelines, and tool-calling workflows for LLM providers.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/ryasrk/AgentBrokeTheMatrix-CopilotVersion --skill prompt-engineering-ryasrk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineering
Source: https://github.com/ryasrk/AgentBrokeTheMatrix-CopilotVersion/tree/main/.github/skills/prompt-engineering
Command: npx skills add https://github.com/ryasrk/AgentBrokeTheMatrix-CopilotVersion --skill prompt-engineering-ryasrk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexities of designing effective prompts for Large Language Models (LLMs), ensuring reliable, cost-efficient, and secure AI-powered features.

Core Features & Use Cases

  • Prompt Design: Crafting system prompts, few-shot examples, and chain-of-thought instructions.
  • LLM Integration: Connecting with APIs from OpenAI, Anthropic, and local models.
  • RAG Pipelines: Building robust Retrieval-Augmented Generation systems with chunking and reranking.
  • Tool Calling: Implementing function calling for agentic workflows.
  • Cost Optimization: Strategies for efficient token usage and model routing.
  • Security: Defending against prompt injection vulnerabilities.

Quick Start

Use the prompt-engineering skill to design a system prompt for a customer support chatbot that prioritizes helpfulness and politeness.

Frequently Asked Questions about prompt-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design LLM prompts for reliable structured output generation?

Design LLM prompts for reliable structured output generation by applying system prompts, few-shot examples, and chain-of-thought instructions to enforce predictable and secure model responses.

What's the best way to build a RAG pipeline with chunking and reranking?

Build a RAG pipeline with robust chunking and reranking strategies to efficiently manage context windows and improve retrieval accuracy for your AI features.

How does tool calling work for agentic workflows in LLM integration?

Tool calling for agentic workflows implements function calling to connect LLM APIs with external tools, enabling models to autonomously execute predefined functions and complex multi-step tasks.

How can I optimize token usage and model routing for cost-efficient LLM features?

Optimize token usage and model routing for cost-efficient LLM features by applying efficient context window management and model selection strategies across OpenAI, Anthropic, and local models.

How do I defend against prompt injection vulnerabilities in AI applications?

Defend against prompt injection vulnerabilities in AI applications by applying security patterns and best practices that protect system prompts and ensure safe LLM integration.

Can I use this prompt engineering skill with local models and OpenAI APIs?

Yes, you can use prompt engineering patterns with local models and OpenAI APIs, as the skill provides integration best practices for multiple LLM providers to ensure broad compatibility.