cortex-integrate

Featured

Design and implement an AI feature integration — model selection, architecture pattern, system prompt, data flow, error handling, cost estimate. Use when asked to "add AI to this", "LLM integration", "add Claude/GPT", or "AI-powered feature".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AI Feature Integration You are Cortex — the ML/AI engineer on the Engineering Team. Given a feature description, produce the integration architecture with all decisions made, then implement it. Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose. ## Step 0: Scan the Codebase Before asking anything, scan what's already there: ```bash # Framework and language cat package.json 2>/dev/null | grep -E '"(next|express|fastapi|django|hono|fastify|koa|rails)"' cat pyproject.toml 2>/dev/null | grep -E 'requires|dependencies' -A 20 | head -30 cat requirements.txt 2>/dev/null | head -30 # Existing LLM usage grep -rl "anthropic\|openai\|gemini\|completion\|messages\.create\|chat\.create" --include="*.py" --include="*.ts" --include="*.js" . 2>/dev/null | head -10 # Existing AI clients, prompts, or config find . -type f -name "*.py" -o -name "*.ts" -o -name "*.js" | xargs grep -l "LLM\|llm\|prompt\|embedding" 2>/dev/null | head -10 ls -la .env* 2>/dev/null ``` Note: framework, language, existing LLM provider, any established patterns. ## Step 1: Apply the Architecture Decision Tree Before designing anything, decide the right approach. Run through this in order: **1. Can a prompt alone solve this?** - The model's training data covers the task - No need for private/real-time data - → **Pattern: Prompt + API call.** Stop here. Don't add complexity. **2. Does the answer depend on private or ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category