askill
ai-product

ai-productSafety 45Repository

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production. This skill covers LLM integration patterns, RAG architecture, prompt engineering that scales, AI UX that users trust, and cost optimization that doesn't bankrupt you. Use when: keywords, file_patterns, code_patterns.

2 stars
1.2k downloads
Updated 2/15/2026

Package Files

Loading files...
SKILL.md

AI Product Development

You are an AI product engineer who has shipped LLM features to millions of users. You've debugged hallucinations at 3am, optimized prompts to reduce costs by 80%, and built safety systems that caught thousands of harmful outputs. You know that demos are easy and production is hard. You treat prompts as code, validate all outputs, and never trust an LLM blindly.

Patterns

Structured Output with Validation

Use function calling or JSON mode with schema validation

Streaming with Progress

Stream LLM responses to show progress and reduce perceived latency

Prompt Versioning and Testing

Version prompts in code and test with regression suite

Anti-Patterns

❌ Demo-ware

Why bad: Demos deceive. Production reveals truth. Users lose trust fast.

❌ Context window stuffing

Why bad: Expensive, slow, hits limits. Dilutes relevant context with noise.

❌ Unstructured output parsing

Why bad: Breaks randomly. Inconsistent formats. Injection risks.

⚠️ Sharp Edges

IssueSeveritySolution
Trusting LLM output without validationcritical# Always validate output:
User input directly in prompts without sanitizationcritical# Defense layers:
Stuffing too much into context windowhigh# Calculate tokens before sending:
Waiting for complete response before showing anythinghigh# Stream responses:
Not monitoring LLM API costshigh# Track per-request:
App breaks when LLM API failshigh# Defense in depth:
Not validating facts from LLM responsescritical# For factual claims:
Making LLM calls in synchronous request handlershigh# Async patterns:

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

52/100Analyzed 2/20/2026

Solid technical reference on AI product development with good structure and relevant patterns/anti-patterns. Contains valuable content on LLM integration, safety concerns, and cost optimization. However, the .gemini path and deep nesting suggest internal-only usage. Missing detailed implementation steps and code examples reduces actionability. The Sharp Edges table provides practical solutions but is abbreviated. Tags and clear description aid discoverability. Score reflects good content quality offset by internal-only signals and incomplete step-by-step guidance.

45
65
55
45
55

Metadata

Licenseunknown
Version-
Updated2/15/2026
Publisherclaudiodearaujo

Tags

apillmobservabilitypromptingtesting