ai-engineering

Installation
SKILL.md

AI Engineering

Treat model behavior as an external nondeterministic capability with an explicit contract and evaluation loop.

Workflow

  1. Define the product behavior and model contract before choosing a provider/model: inputs, allowed outputs/actions, latency/cost envelope, and failure behavior.
  2. Prefer deterministic schemas/parsers/validators for properties that can be checked deterministically.
  3. For tool use, define tool authority, argument validation, side-effect boundaries, retries, and user/approval boundaries where relevant.
  4. For retrieval, define source authority, chunk/retrieval/rerank behavior, freshness, citation/provenance needs, and fallback when evidence is absent.
  5. Define streaming/cancellation/context-limit behavior and what happens on provider rate limit, timeout, refusal, malformed output, or partial response.
  6. Build evals from representative tasks and known failure modes. Compare baseline vs candidate; repeat stochastic cases enough to detect instability.
  7. Instrument only the traces needed to debug/evaluate behavior and apply privacy/security constraints to stored prompts/tool data.
  8. Use OpenAI/Anthropic/Gemini/local/vLLM/LiteLLM/etc. adapters only when the project already selects them or technology selection is explicitly in scope.

Stop

Installs
7
First Seen
Sep 27, 2026