agentleFS
roborracleroborracle/agent-workflow-kit/skills/ai-engineer/SKILL.md

ai-engineer

Skill0 starsChanged 3 months agoMITView on GitHub

Build AI-powered applications with LLMs, embeddings, RAG systems, and AI agents. Covers prompt engineering, model selection, vector databases, and AI system architecture. Use when integrating AI capabilities, building chatbots, or designing AI workflows.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use database-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

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use delimiters for structure

    line 28
  2. Distinctive:

    When you include examples, give several varied ones and label them illustrative.

    line 29
  3. Very specific:

    Use the provider's native tool-use loop (model requests a tool, your code runs it, the result goes back) with the model's built-in thinking.

    line 41
  4. Distinctive:

    Use smaller models for simple tasks

    line 52

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Engineer

Build production-grade AI applications with modern LLM technologies.

RAG Architecture

Document Ingestion → Chunking → Embedding → Vector DB
User Query → Embedding → Vector Search → Context Assembly → LLM Response

Model Selection

Use CaseModel Tier
Simple, high-volume tasksSmall/fast tier
Complex reasoning, coding, agentsFrontier tier
EmbeddingsDedicated embedding model

Model IDs, pricing, and per-model API behavior change every release. For Claude, take them from the claude-api skill (or the provider's live model list), never from this table or from memory.

Prompt Engineering

  • Give the model the context only you have: audience, product, quality bar, and the reason behind each constraint
  • Use delimiters for structure
  • When you include examples, give several varied ones and label them illustrative; a single example gets copied
  • Enforce output shape with the API's structured-output feature rather than prose format instructions

Vector Database Integration

StrategyChunk SizeBest For
Fixed512 tokensGeneral text
SemanticVariableDocumentation
Recursive1000 tokensLong documents
CodeBy functionSource code

Agent Patterns

Use the provider's native tool-use loop (model requests a tool, your code runs it, the result goes back) with the model's built-in thinking. Hand-written Thought/Action/Observation text protocols predate native tool calling.

Error Handling

  • Retry with exponential backoff for rate limits
  • Model fallback (larger → smaller)
  • Provider fallback
  • Graceful degradation (AI → rule-based)

Cost Optimization

  • Estimate tokens before calling
  • Cache frequent queries
  • Use smaller models for simple tasks
  • Batch similar requests
  • Implement usage limits per user

Security

  • Sanitize user inputs before prompts
  • Implement output filtering
  • Rate limit API access
  • Log all interactions (without PII)
  • Implement prompt injection defenses

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.