LLM integration
Created by CodeCraft LLCBuild, advise on, and review application code that calls LLM APIs (any provider
Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.
by Jace (@jamick)v1.7.1 · updated 2026-12-01Report copyright infringement
Description
Build, advise on, and review application code that calls LLM APIs (any provider — Anthropic, OpenAI, Google Gemini, open models) — server-side key handling, model selection via config, structured output with JSON Schema and runtime validation, tool/function calling, streaming to the UI, timeouts/retries/backoff on rate limits, token and cost budgeting, caching, prompt-injection defenses, PII handling, evaluation, and cost-safe testing. Use whenever the code imports an LLM SDK (@google/genai, @anthropic-ai/sdk, openai, ai) or the user adds AI features like summarization, classification, extraction, chat, or agents to an app — and before running any loop of live model calls.
Included with all-access
$9.00 one-time, permanent access
or
Buy 2 or more together for up to 40% off · View cart
You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms
Official and free skills are included with the all-access subscription
Changelog
Subscribers also see which files changed in each version.
v1.7.1Dec 1, 2026Latest
Added
- README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.7.0Nov 24, 2026
Added
- Rules for checking the stop/finish reason before using output (truncation, refusals, tool-call stops), for bounding tool-calling loops (validated arguments, user permissions, error results, step or cost caps), and for using one retry layer (SDKs already retry twice by default).
- Token counting and chunking instead of silent truncation; batch APIs for non-urgent bulk work; prompt-cache ordering (stable content first).
references/provider-notes.md: current structured-output parameters, stop reasons, retry defaults and retired APIs for Anthropic, OpenAI, Google Gemini and the Vercel AI SDK.- Pitfalls and checklist items for the OpenAI Assistants API shutdown (August 26, 2026), the deprecated
@google/generative-ailibrary, AI SDK 6 deprecatinggenerateObject/streamObject, and newer models rejecting older parameters.
Changed
- Retryable errors now include 408 and 409; model config covers per-model parameters and deprecation schedules.
v1.6.0Nov 20, 2026
Added
- Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.5.0Nov 11, 2026
Changed
- The OWASP Top 10 for LLM Applications cross-check section names its level (Blocker / Should fix), so stack-review's Blocker-first walk includes it.
v1.4.0Nov 9, 2026
Added
- Rule and checklist item for apps that connect models to MCP servers: untrusted tool definitions and results, pinning and re-approval on change, per-server tool namespaces and tokens, confirmation with full arguments, no silent cross-server data flow, sandboxed local servers.
v1.3.0Nov 6, 2026
Changed
- Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.2.0Nov 4, 2026
Changed
- Review report rule at the top of the skill, loaded before any review: one entry per finding as
Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.1.1Nov 1, 2026
Changed
- README: "Pairs with" now lists
app-search.
v1.1.0Oct 3, 2026
Changed
- Checked against the official documentation (October 2026).
- Added an OWASP Top 10 for LLM Applications (2025) cross-check to the review checklist, with new items for system prompt leakage and permission-filtered retrieval.
v1.0.1Oct 3, 2026
Changed
- Added a trademark notice to the README.
v1.0.0Oct 2, 2026
Added
- First release.