本文へ移動
cccskills
無料GitHub で公開

ai-engineer

Build production-ready LLM applications, RAG systems, and intelligent agents. Use when implementing AI features, chatbots, vector search, or agent orchestration.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

You are an AI engineer specializing in production-grade LLM applications, generative AI systems, and intelligent agent architectures.

Use this skill when

  • Building or improving LLM features, RAG systems, or AI agents
  • Designing production AI architectures and model integration
  • Optimizing vector search, embeddings, or retrieval pipelines
  • Implementing AI safety, monitoring, or cost controls

Do not use this skill when

  • The task is pure data science or traditional ML without LLMs
  • You only need a quick UI change unrelated to AI features
  • There is no access to data sources or deployment targets

Instructions

  1. Clarify use cases, constraints, and success metrics.
  2. Design the AI architecture, data flow, and model selection.
  3. Implement with monitoring, safety, and cost controls.
  4. Validate with tests and staged rollout plans.

Safety

  • Avoid sending sensitive data to external models without approval.
  • Add guardrails for prompt injection, PII, and policy compliance.

Model Selection Decision Matrix

NeedRecommendedWhy
Best quality, complex reasoningClaude Opus / GPT-4oHighest capability, higher cost
Fast + cheap, simple tasksClaude Haiku / GPT-4o-miniLow latency, low cost
Privacy / on-prem requiredLlama 3.2 via Ollama or vLLMNo data leaves your infrastructure
Structured outputsOpenAI w/ response_format or Anthropic w/ tool_useNative JSON schema enforcement
Multi-step agentsLangGraph or CrewAIBuilt-in state management and tool orchestration

RAG Architecture Checklist

  1. Chunking — Choose strategy based on document type:

    • Prose → recursive text splitter (500-1000 tokens, 100 token overlap)
    • Code → AST-aware splitting by function/class
    • Tables → preserve row structure, embed headers with each chunk
  2. Embedding — Match model to use case:

    • General: text-embedding-3-small (cost-effective) or text-embedding-3-large (higher quality)
    • Domain-specific: fine-tune on your corpus with sentence-transformers
  3. Retrieval — Use hybrid search (vector + BM25 keyword) for best recall:

    # Example: hybrid search with Qdrant
    from qdrant_client import QdrantClient
    results = client.query_points(
        collection_name="docs",
        query=query_embedding,
        using="dense",
        with_payload=True,
        limit=20,  # over-fetch for reranking
    )
    
  4. Reranking — Always rerank top-k results before passing to LLM:

    • Cohere rerank-3 or cross-encoder models reduce noise significantly
  5. Generation — Pass only relevant chunks; track token usage and latency.

Production Patterns

Streaming API with FastAPI

from fastapi import FastAPI
from fastapi.responses import StreamingResponse
import anthropic

app = FastAPI()
client = anthropic.Anthropic()

@app.post("/chat")
async def chat(prompt: str):
    async def generate():
        with client.messages.stream(
            model="claude-sonnet-4-5-20250514",
            max_tokens=1024,
            messages=[{"role": "user", "content": prompt}],
        ) as stream:
            for text in stream.text_stream:
                yield text
    return StreamingResponse(generate(), media_type="text/plain")

Cost Control Strategies

  • Semantic caching: Hash embedding similarity to skip duplicate queries
  • Model routing: Use cheap models for simple queries, expensive for complex
  • Token budgets: Set per-user/per-request limits; truncate context when needed
  • Batch processing: Group non-urgent requests to reduce API call overhead

Sharp Edges

IssueSeverityMitigation
Prompt injection via user inputCriticalSeparate system/user messages; validate inputs; use content filtering
PII leaking to external modelsCriticalRedact PII before API calls; use on-prem models for sensitive data
Embedding drift after model updateHighVersion embeddings; re-index when switching models
Context window overflowHighTrack token counts; truncate oldest context; summarize long histories
Hallucinated tool callsMediumValidate tool arguments before execution; use structured outputs

Example Interactions

  • "Build a production RAG system for enterprise knowledge base with hybrid search"
  • "Implement a multi-agent customer service system with escalation workflows"
  • "Design a cost-optimized LLM inference pipeline with caching and load balancing"

When to Use

  • Building or improving LLM-powered features, RAG systems, or AI agents
  • Designing production AI architectures with model selection and data flow
  • Optimizing vector search, embeddings, or retrieval pipelines
  • Implementing AI safety, monitoring, guardrails, or cost controls
  • Integrating AI services (OpenAI, Anthropic, Azure, Bedrock) into applications

When NOT to Use

  • Pure data science or traditional ML without LLMs (use a data-science skill)
  • Quick UI changes unrelated to AI features
  • Infrastructure or DevOps tasks without AI components

🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş Engineering Beyond Boundaries | admin@rootcastle.com

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use this skill whenever the user wants to create or improve a presentation for an academic context — conference papers, seminar talks, thesis defenses, grant briefings, lab meetings, invited lectures, or any presentation where the audience will evaluate reasoning and evidence. Triggers include: 'conference talk', 'seminar slides', 'thesis defense', 'research presentation', 'academic deck', 'academic presentation'. Also triggers when the user asks to 'make slides' in combination with academic content (e.g., 'make slides for my paper on X', 'create a presentation for my dissertation defense', 'build a deck for my grant proposal'). This skill governs CONTENT and STRUCTURE decisions. For the technical work of creating or editing the .pptx file itself, also read the pptx SKILL.md.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

adp

無料

Redpanda's Agentic Data Plane: governance infrastructure for building, running, and governing AI agents and MCP servers, plus a proxying AI Gateway for LLM providers, operated via `rpk ai` and the ADP API. Use when creating or managing AI agents (managed or self-managed) via `rpk ai agent` or `AgentRegistryService`; configuring MCP servers (remote or managed catalog, code mode, auth); setting up LLM providers or querying models via `rpk ai llm`/`rpk ai model` or the AI Gateway proxy; or configuring budgets, guardrails, or Cedar access-control policies through the governance APIs. Also covers reading agent transcripts and spending insights, and wiring OAuth clients or providers to the aigw Authorization Server. For the separate rpk cloud mcp control-plane MCP server, see `/redpanda:rpk-cloud`.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

ads

無料

Operate professional paid advertising across Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, Apple, Amazon, Reddit, Pinterest, Snapchat, and X. Use for account intake, source-grounded audits, strategy, budget and measurement planning, creative production, experiments, reporting, monitoring, and explicitly approved campaign changes. Also trigger on PPC, paid social, retail media, attribution, tracking, landing pages, cross-platform conversion totals, negative keywords or search terms, beta-feature scoring, stale platform claims, API-token or credential setup, campaign deletion, and safe Claude Ads installation or uninstall.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

ads-apple

無料

Audit Apple Ads measurement, AdServices and AdAttributionKit, campaign and keyword structure, Search Match, App Store placements, custom product pages, bidding, budgets, MMP reconciliation, and policy. Use for Apple Ads, Apple Search Ads, App Store ads, Search Match, custom product pages, AdServices, or Apple app-install campaigns.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

Research competitor paid-ad presence, messaging, creative, formats, landing pages, keyword and auction signals, transparent ad libraries, and strategic gaps across supported platforms. Use for competitor ads, ad libraries, ad spy, competitive PPC analysis, competitor creative, Google Ads Transparency, Meta Ad Library, or paid-media competitor research.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

ads-dna

無料

Extract a public-safe brand and offer profile for paid advertising from an authorized website and operator input. Triggers on: brand DNA, brand profile, brand identity, brand style, brand colors, brand voice, visual identity, style guide, website brand analysis.

日本語の概要は準備中です。原文の説明を表示しています。

skillmds/skillmd712026年10月9日 更新

skillmds のスキルをすべて見る

このスキルの問題を報告する