Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

  1. System Prompt Design: Define persona, constraints, output format, and behavioral rules
  2. Few-Shot Examples: Provide 2-5 high-quality input/output examples
  3. Chain-of-Thought: "Think step by step" / "Let's work through this systematically"
  4. Structured Output: Specify exact JSON schema, Markdown format, or template
  5. 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

  1. ReAct Agent: Reason → Act → Observe loop with tool access
  2. Plan-and-Execute: Create full plan first, then execute steps
  3. Reflexion Agent: Execute → Reflect → Improve → Re-execute
  4. Multi-Agent Systems: Specialized agents collaborating (researcher, coder, reviewer)
  5. Hierarchical Agents: Manager agent delegates to worker agents
  6. 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

  1. Ingestion: Document loading → Chunking → Embedding → Vector store
  2. Retrieval: Query embedding → Similarity search → Re-ranking → Context assembly
  3. 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

Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить ai-expertise-engine с