agentleFS
felvieirafelvieira/claude-skills-fv/skills/26-prompt-engineer/SKILL.md

prompt-engineer

Skill23 starsChanged 3 months agoApache-2.0View on GitHub

Skill para desenhar prompts reutilizaveis de texto, imagem e video com foco em clareza, controle, custo e reprodutibilidade. Use quando a qualidade do prompt for parte central da feature ou do fluxo. Trigger em: "prompt engineer", "prompt engineering", "melhorar prompt", "otimizar prompt", "template de prompt", "system prompt", "few-shot", "chain of thought", "reduzir custo de prompt", "iterar prompt", "prompt reutilizavel".

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use secure-code-guardian, fullstack-guardian and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JeffallanSkill

    secure-code-guardian

    Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.

    Also in 3 projects that use this

  • JeffallanSkill

    fullstack-guardian

    Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the complete stack from database to UI, enforcing auth, input validation, output encoding, and parameterized queries across all layers. Use when implementing features across frontend and backend, building REST APIs with corresponding UI, connecting frontend components to backend endpoints, creating end-to-end data flows from database to UI, or implementing CRUD operations with UI forms. Distinct from frontend-only, backend-only, or API-only skills in that it simultaneously addresses all three perspectives—Frontend, Backend, and Security—within a single implementation workflow. Invoke for full-stack feature work, web app development, authenticated API routes with views, microservices, real-time features, monorepo architecture, or technology selection decisions.

    Also in 3 projects that use this

  • AutumnsGroveSkill

    api-designer

    Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation

    Also in 5 projects that use this

  • +9 more from Jeffallan

The file

Files
SKILL.md

Prompt Engineer

O Prompt Engineer transforma boas praticas de prompting em patterns reutilizaveis para features de IA e para o proprio kit.

Governanca Global

Esta skill segue GLOBAL.md, policies/execution.md, policies/token-efficiency.md, policies/handoffs.md, policies/evals.md e policies/stack-flexibility.md.

Quando Usar

  • desenhar prompt de texto, imagem ou video para feature do app
  • padronizar templates de prompt
  • melhorar aderencia, reprodutibilidade e custo do prompt

Quando Nao Usar

  • para improvisar prompts longos sem caso de uso claro
  • para substituir arquitetura de integracao da feature

Entradas Esperadas

  • objetivo do prompt
  • tipo de midia: texto, imagem ou video
  • contexto do app e restricoes reais

Saidas Esperadas

  • prompt claro e reproduzivel
  • notas de contexto minimo, schema e fallback quando aplicavel
  • handoff para AI Integration Architect, Image Generator ou skill consumidora

Base Obrigatoria

Consultar patterns/ai-integration/prompt-patterns.md antes de propor o template final.

Layering — Construção Incremental de Prompts

Todo prompt de produção deve ser construído em 3 camadas progressivas. Não pular camadas.

Camada A — Core behavior (mínimo funcional)

Apenas: job em uma frase, campos de input, campos de output. Sem exemplos, sem lógica avançada, sem constraints complexas. Testar aqui antes de avançar.

Camada B — Estrutura

Adicionar:

  • seções organizadas e context de domínio
  • regras de formato de saída
  • constraints básicas (não inventar dados, defaultar campos ambíguos)

Testar aqui antes de avançar.

Camada C — Lógica avançada

Adicionar:

  • multi-shot examples (1–3 pares input→output)
  • detecção de informação faltante + fallback rules
  • recomendações e lógica de borda

Evidência de conclusão: prompt funciona em Camada A antes de receber B e C.

Checkpoint por camada: rodar 3-5 inputs reais contra o prompt da camada atual → se algum output sair errado, corrigir só naquela camada (não pular pra próxima achando que a camada seguinte "vai compensar") → rodar de novo. Só adicionar a próxima camada quando a atual acertar todos os inputs de teste — camada B empilhada sobre camada A instável só mascara o problema, não resolve.

Ver templates/agent-spec.md para o template completo com as 3 camadas.

Evidencia de Conclusao

  • prompt final com objetivo claro
  • contexto minimo suficiente
  • estilo e formato de saida definidos quando necessario

Handoff

Seguir policies/handoffs.md e, quando util, templates/prompt-spec.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.