Skip to content
Back to skills

Ai Architecture

ASecurity

Arquitetura de plataformas AI, integracao de modelos, MLOps, edge AI. Usar quando o projeto envolve IA, modelos de linguagem, Gemma, fine-tuning, ou inferencia.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentstypescriptpythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill ai-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ai-architecture/badge)](https://www.skillsdirectory.com/skills/majiayu000-ai-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ai-architecture
description: Arquitetura de plataformas AI, integracao de modelos, MLOps, edge AI. Usar quando o projeto envolve IA, modelos de linguagem, Gemma, fine-tuning, ou inferencia.
---

# Arquitetura AI -- Padrao DME

## Stack AI da DME

- Modelo local: Gemma 4 (no computador do Henrique)
- API: Claude API (Anthropic SDK)
- Embeddings: OpenAI ou local
- Vector DB: pgvector (Supabase) ou Pinecone
- Framework: LangChain ou direto com SDK

## Padroes de integracao

### Claude API (principal)
```typescript
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic();
const message = await client.messages.create({
  model: "claude-sonnet-4-6",
  max_tokens: 1024,
  messages: [{ role: "user", content: prompt }]
});
```

### Gemma 4 (local, gratuito)
Usar para pre-processamento, resumo, classificacao -- tarefas que nao precisam do Claude.
Rodar via Ollama ou direto no Python.

## Decisoes de arquitetura AI

| Tarefa | Modelo | Por que |
|--------|--------|---------|
| Resumo de documentos | Gemma 4 (local) | Gratuito, rapido |
| Geracao de codigo | Claude Sonnet | Qualidade + velocidade |
| Decisoes complexas | Claude Opus | Raciocinio profundo |
| Embeddings | text-embedding-3-small | Barato, bom o suficiente |
| Classificacao simples | Gemma 4 (local) | Zero custo |

## Seguranca AI

- Nunca enviar PII para APIs externas sem anonimizar
- Rate limiting em endpoints AI
- Timeout em chamadas de inferencia (30s max)
- Fallback quando modelo esta indisponivel
- Logging de prompts sem dados sensiveis

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.