agentleFS
daemon-blockint-techdaemon-blockint-tech/Agentic-Enteprises-Skill/ai-engineer/SKILL.md

ai-engineer

Skill8 starsChanged 6 months agoMITView on GitHub

Guides production AI engineering—LLM apps, RAG, agents, eval harnesses, observability, cost/latency, and safe deployment. Use when building chatbots, copilots, retrieval, agent workflows, model routing, or LLM API integration—not research synthesis (ai-researcher), AI policy (ai-risk-governance), red-team (ai-redteam), prompt-only work (prompt-engineer), non-AI ADRs (senior-system-architecture), token programs (ai-token-improvement-plan-engineer), solution architecture (applied-ai-architect-commercial-enterprise), skills portfolio (ai-skill-manager), or vertical AI engineering management (engineering-manager-vertical-ai-products). Agent prompt authoring and eval harness design: prompt-engineer-agent-prompts-evals. Safeguard inference gateways and moderation infra: ml-infrastructure-engineer-safeguards. Safeguard classifier research: ml-research-engineer-safeguards.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use database-design and frontend-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • harrissohail6Skill

    database-design

    Database schema design and SQL best practices. Use when designing tables, writing queries, or optimizing database performance.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

Files
SKILL.md

AI Engineer

When to Use

  • Building chatbots, copilots, or retrieval-augmented generation systems
  • Designing multi-step agent workflows with tool use
  • Integrating OpenAI, Anthropic, or local models into products
  • Setting up RAG pipelines (chunk, embed, index, retrieve, rerank, generate)
  • Building evaluation harnesses and regression suites for LLM features
  • Optimizing cost/latency through model routing, caching, or context strategy
  • Planning safe deployment of generative features (canary, kill switch, monitoring)

When NOT to Use

  • Academic literature synthesis or research methodology → ai-researcher
  • Organizational AI policy, regulation, or risk tiering → ai-risk-governance
  • Adversarial safety testing and jailbreak campaigns → ai-redteam
  • Prompt-only tuning without system architecture changes → prompt-engineer
  • Enterprise-wide non-AI system integration ADRs → senior-system-architecture
  • Token/cost improvement program planning and roadmap → ai-token-improvement-plan-engineer
  • Commercial/enterprise AI solution architecture → applied-ai-architect-commercial-enterprise
  • Skills portfolio governance and batch validation → ai-skill-manager
  • Agent prompts, golden evals, judge rubrics → prompt-engineer-agent-prompts-evals

Related skills

NeedSkill
Prompt templates and agent message designprompt-engineer
Offline experiments, statistics, classical MLdata-scientist
Papers, benchmarks, research methodologyai-researcher
Policies, model cards, governanceai-risk-governance
Red-team and jailbreak campaignsai-redteam
Persistent memory designai-memory-developer
Context window and token budgetingai-context-engineer
Token cost improvement plan and roadmapai-token-improvement-plan-engineer
AI production ops and release governanceai-lead-ops
Cross-system boundaries and platform ADRssenior-system-architecture
Commercial/enterprise AI architectureapplied-ai-architect-commercial-enterprise
Agent skills catalog and validationai-skill-manager
Safeguard serving stack and policy runtimeml-infrastructure-engineer-safeguards
Safety model R&D and benchmark designml-research-engineer-safeguards

Core Workflows

1. Solution shaping

  1. Define user job, success metric, and failure modes
  2. Decide: single LLM call vs RAG vs multi-step agent
  3. Choose model tier (quality vs cost vs latency)
  4. Identify data sources, PII boundaries, and retention
  5. Plan human-in-the-loop for high-risk actions

See references/solution_patterns.md for RAG vs fine-tune vs agent decision tree.

2. RAG pipeline

ingest → chunk → embed → index → retrieve → rerank → generate → cite

Checklist:

  • Chunk size tuned on eval set
  • Metadata filters for tenancy/ACL
  • Hybrid search if keyword matters
  • Ground answers with citations; refuse when context insufficient
  • Refresh index on source updates

See references/rag_pipeline.md for chunking, eval metrics, and freshness.

3. Agents and tools

  • Tools: narrow schemas, idempotent where possible, timeouts
  • Loop: plan → act → observe → stop condition
  • Cap iterations and token budget
  • Log tool calls for audit; redact secrets in traces

See references/agents_tools.md for ReAct patterns and failure handling.

4. Evaluation before launch

LayerMeasure
RetrievalRecall@k, MRR on golden questions
GenerationFaithfulness, answer relevance (LLM-judge + human sample)
SafetyRefusal rate on policy violations
Opsp95 latency, cost per session

Ship only when regression suite passes on CI for golden set.

See references/evaluation_ops.md for datasets, CI eval, and monitoring.

5. Production operations

  • Version prompts and models; canary new versions
  • Monitor drift, error rate, tool failures, spend
  • Kill switch for model or feature flag
  • Incident runbook for toxic output or data leak

See references/evaluation_ops.md for production monitoring.

When to load references

  • Architecture choices → references/solution_patterns.md
  • RAG implementation → references/rag_pipeline.md
  • Agents and tools → references/agents_tools.md
  • Eval and production → references/evaluation_ops.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.