llm-application-dev

Solid

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.

AI & Automation 1,065 stars 123 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 95/100

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

Skill Content

# LLM Application Development ## Prompt Engineering ### Structured Prompts ```typescript 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 ```typescript 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 ```typescript 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 ```typescript import OpenAI from 'openai'; const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); async function chat(messages: Message[]): Promise<string> { const response = await openai.chat.completions.create({ model: 'gpt-4', messages, temperature: 0.7, max_tokens: 500, }); return response.choices[0].message.content ?? ''; } ``` ### Anthropic Pattern ```typescript import Anthropic from '@anthropic-ai/sdk'; const anthropic = new Anthropic({ apiKey: proce...

Details

Author
MoizIbnYousaf
Repository
MoizIbnYousaf/Ai-Agent-Skills
Created
5 months ago
Last Updated
3 weeks ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

building-with-llms

Help users build effective AI applications. Use when someone is building with LLMs, writing prompts, designing AI features, implementing RAG, creating agents, running evals, or trying to improve AI output quality.

0 Updated today
TindanLawrence
AI & Automation Solid

prompt-engineer

Expert in designing effective prompts for LLM-powered applications. Masters prompt structure, context management, output formatting, and prompt evaluation. Use when: prompt engineering, system prompt, few-shot, chain of thought, prompt design.

27,705 Updated today
davila7
AI & Automation Listed

prompt-engineering

Engineer effective LLM prompts using zero-shot, few-shot, chain-of-thought, and structured output techniques. Use when building LLM applications requiring reliable outputs, implementing RAG systems, creating AI agents, or optimizing prompt quality and cost. Covers OpenAI, Anthropic, and open-source models with multi-language examples (Python/TypeScript).

368 Updated 5 months ago
ancoleman
AI & Automation Solid

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.

396 Updated yesterday
mxyhi
AI & Automation Solid

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.

36,222 Updated today
wshobson