This is a solid reference for building LLM-powered features into your applications. You get practical patterns for prompt engineering (structured prompts, few-shot examples, chain of thought), complete code samples for integrating OpenAI and Anthropic APIs, and a working RAG implementation with document chunking and vector search using pgvector. The error handling section covers retry logic and rate limiting, which you'll definitely need in production. It's TypeScript-focused and assumes you're familiar with async patterns. Best used when you're past the experimentation phase and need production-ready patterns for chatbots, semantic search, or AI-enhanced features.

skills.sh installs
466
GitHub stars
1.2K
last updated
May 5, 2026

Install

$ npx -y skills add moizibnyousaf/ai-agent-skills --skill llm-application-dev --agent claude-code

Installs into .claude/skills of the current project.

Files

LLM Application Development

Prompt Engineering

Structured Prompts

const systemPrompt = `You are a helpful assistant that answers questions about our product.

RULES:
- Only answer questions about our product
- If you don't know, say "I don't know"
- Keep responses concise (under 100 words)
- Never make up information

CONTEXT:
{context}`;

const userPrompt = `Question: {question}`;

Few-Shot Examples

const prompt = `Classify the sentiment of customer feedback.

Examples:
Input: "Love this product!"
Output: positive

Input: "Worst purchase ever"
Output: negative

Input: "It works fine"
Output: neutral

Input: "${customerFeedback}"
Output:`;

Chain of Thought

const prompt = `Solve this step by step:

Question: ${question}

Let's think through this:
1. First, identify the key information
2. Then, determine the approach
3. Finally, calculate the answer

Step-by-step solution:`;

API Integration

OpenAI Pattern

import OpenAI from 'openai';

const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });

Sponsors

Details

Repository
github.com/moizibnyousaf/ai-agent-skills
Categories
AI & Agent Building, Automation & Workflows
License
MIT
First seen
Jun 11, 2026

More from moizibnyousaf/ai-agent-skills

All 17
1github avatarai-prompt-engineering-safety-reviewgithub/awesome-copilotComprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while p10.4Kskills.sh installs
2github avatarfinalize-agent-promptgithub/awesome-copilotFinalize prompt file using the role of an AI agent to polish the prompt for the end user.9Kskills.sh installs
3emblemcompany avataremblem-ai-prompt-examplesemblemcompany/agent-skillsCurated prompt and usage examples for research, portfolio review, quote requests, approval-gated drafts, NFT discovery, prediction-market analysis, and assistan8.8Kskills.sh installs
4daffy0208 avatarMulti-Agent Architectdaffy0208/ai-dev-standardsDesign and orchestrate multi-agent systems. Use when building complex AI systems requiring specialization, parallel processing, or collaborative problem-solving0skills.sh installs
5davila7 avatarcrewai-multi-agentdavila7/claude-code-templatesMulti-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you n985skills.sh installs
6patricio0312rev avatarai-agent-orchestratorpatricio0312rev/skillsOrchestrates multi-agent AI systems with task delegation, agent communication, shared memory, and workflow coordination. Use when users request "multi-agent sys362skills.sh installs