ai-expertise-engine
БесплатноБез исполняемых скриптовНе проверенComprehensive AI/ML expertise covering prompt engineering, LLM architecture, AI agent design, RAG systems, fine-tuning, AI safety, and cutting-edge AI…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
AI Expertise Engine
Purpose
Provide world-class AI expertise across the full spectrum — from prompt engineering and LLM usage to AI system architecture, agent design, RAG pipelines, fine-tuning, safety, and cutting-edge research.
Prompt Engineering Mastery
The Prompt Engineering Hierarchy
- System Prompt Design: Define persona, constraints, output format, and behavioral rules
- Few-Shot Examples: Provide 2-5 high-quality input/output examples
- Chain-of-Thought: "Think step by step" / "Let's work through this systematically"
- Structured Output: Specify exact JSON schema, Markdown format, or template
- Meta-Prompting: Prompt the AI to generate better prompts
Advanced Prompt Techniques
- Role Assignment: "You are a senior security researcher with 20 years of experience..."
- Constraint Setting: "You MUST cite sources. You MUST NOT speculate without evidence."
- Output Templating: "Respond in this exact format: [template]"
- Self-Consistency: Generate multiple responses and pick the most common answer
- Tree of Thought: Explore multiple reasoning paths, evaluate each, select the best
- ReAct Pattern: Reason → Act → Observe → Reason → Act (for tool-using agents)
- Reflection Prompting: "Review your answer. What might be wrong? Revise if needed."
- Decomposition: Break complex tasks into subtasks with separate prompts for each
Prompt Anti-Patterns
- Vague instructions without specific output format
- Too many instructions at once (cognitive overload)
- Contradictory constraints
- Assuming the model knows your context
- Not providing examples when the task is ambiguous
- Over-constraining creativity when exploration is needed
LLM Architecture Understanding
Transformer Architecture
- Self-Attention: Allows each token to attend to all other tokens (O(n²) complexity)
- Multi-Head Attention: Multiple attention patterns in parallel
- Feed-Forward Networks: Position-wise transformations
- Layer Normalization: Stabilizes training
- Positional Encoding: Injects sequence order information
- KV Cache: Stores key-value pairs for efficient autoregressive generation
Key Model Parameters
- Temperature: 0.0 (deterministic) → 1.0 (creative) → 2.0 (chaotic)
- Top-p (nucleus sampling): Cumulative probability threshold (0.9 = top 90% probability mass)
- Top-k: Consider only top k tokens
- Max tokens: Output length limit
- Frequency/Presence penalty: Reduce repetition
- Stop sequences: Define where generation should stop
Model Selection Guide
| Use Case | Best Model Type | Why |
|---|---|---|
| Complex reasoning | Large frontier models (GPT-4.1, Claude 3.5, Gemini 2.5) | Maximum capability |
| Fast simple tasks | Small models (GPT-4.1-mini, Haiku, Flash) | Speed + cost efficiency |
| Code generation | Code-specialized models | Domain optimization |
| Embedding/search | Embedding models (text-embedding-3, voyage) | Vector representation |
| Image understanding | Multimodal models | Vision capability |
| Real-time/streaming | Models with streaming support | Low latency |
AI Agent Architecture
Agent Design Patterns
- ReAct Agent: Reason → Act → Observe loop with tool access
- Plan-and-Execute: Create full plan first, then execute steps
- Reflexion Agent: Execute → Reflect → Improve → Re-execute
- Multi-Agent Systems: Specialized agents collaborating (researcher, coder, reviewer)
- Hierarchical Agents: Manager agent delegates to worker agents
- Agentic Workflows: DAG-based task orchestration with conditional branching
Tool Use Best Practices
- Define tools with clear names, descriptions, and parameter schemas
- Provide examples of when to use each tool
- Handle tool errors gracefully with retry logic
- Implement rate limiting and cost controls
- Log all tool calls for debugging and auditing
- Use structured output (JSON) for tool parameters
Agent Memory Systems
- Short-term: Conversation context window
- Working Memory: Scratchpad for current task state
- Long-term: Vector database for retrieval (RAG)
- Episodic: Specific past interactions and outcomes
- Semantic: General knowledge and facts
- Procedural: How to perform specific tasks (skills)
RAG (Retrieval-Augmented Generation)
RAG Pipeline Architecture
- Ingestion: Document loading → Chunking → Embedding → Vector store
- Retrieval: Query embedding → Similarity search → Re-ranking → Context assembly
- Generation: Retrieved context + Query → LLM → Response with citations
Chunking Strategies
- Fixed-size: Simple but may split semantic units
- Semantic: Split on paragraph/section boundaries
- Recursive: Try large chunks first, split smaller if needed
- Agentic: Use LLM to determine optimal chunk boundaries
- Overlap: Include 10-20% overlap between chunks for context continuity
Retrieval Optimiz
Установить ai-expertise-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ai-expertise-engine?
Comprehensive AI/ML expertise covering prompt engineering, LLM architecture, AI agent design, RAG systems, fine-tuning, AI safety, and cutting-edge AI research for building and leveraging AI systems.
Как установить скилл ai-expertise-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-expertise-engine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic