criar-criterios

criar-criterios is a skill for Claude Code from VictorCostaOliveira/agents-tdd-flow. It costs 59 tokens per session (1,011 once invoked), scanned A, original, MIT.

A requirements-writing workflow that reads a screen design from Figma, a collaborative interface-design tool, and produces goals and acceptance criteria for each feature. Acceptance criteria are specific conditions used to decide whether a feature is complete.

In plain words
What is it for?
Use it to define feature goals and acceptance criteria from Figma screens before writing a detailed specification.
Why use it?
It turns visual design details into checkable product requirements instead of leaving behavior implicit in a mock-up. It can use both the design context and a screenshot when the design metadata is sparse.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to define feature goals and acceptance criteria from Figma screens before writing a detailed specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/victorcostaoliveira/agents-tdd-flow/criar-criterios
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VictorCostaOliveira/agents-tdd-flow --skill criar-criterios
Clone the repo
git clone --depth 1 https://github.com/VictorCostaOliveira/agents-tdd-flow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for criar-criterios

README.md
[![agentmods](https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios/github.svg)](https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios)
Your own site
<a href="https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios"><img src="https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for criar-criterios

Your own site · 80×15
<a href="https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios"><img src="https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/criar-criterios.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01011
Opus 5.5 $0.00024 $0.00404
Sonnet 5.5 $0.00012 $0.00202
Haiku 4.5 $0.00006 $0.00101

Measured 22d ago against content hash 3df5154228cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

criar-criterios scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/.claude/skills/criar-criterios/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Objetivos e Critérios de Aceite a partir do Figma

Gera objetivo (ao menos 1) e critérios de aceite (máximo 10) por funcionalidade, usando o design do Figma como referência.

Fluxo

  1. Extrair do link do Figma

    • URL: https://www.figma.com/design/:fileKey/:fileName?node-id=XXXX-YYYY
    • fileKey: valor de :fileKey (ex.: AbC123xYz456DeF789gHi0)
    • nodeId: node-id com hífen trocado por dois-pontos (ex.: 4415-33144 → 4415:33144)
  2. Buscar o design no Figma (MCP)

    • Chamar get_design_context (server plugin-figma-figma) com fileKey, nodeId, e opcionalmente clientLanguages: "typescript", clientFrameworks: "vue".
    • Chamar get_screenshot com os mesmos parâmetros para obter descrição visual da tela.
    • Se a resposta for "section node" / metadados esparsos, usar o retorno de get_screenshot (e, se existir, get_metadata) como contexto para as funcionalidades.
  3. Produzir requisitos

    • Se o usuário mencionar requison ou pedir análise de requisitos, delegar ao subagent requison com:
      • Contexto do design (resumo do que aparece na tela/estados).
      • Lista das funcionalidades informadas pelo usuário.
      • Regras: pelo menos 1 objetivo por funcionalidade; no máximo 5 critérios por funcionalidade; texto em português; critérios testáveis.
    • Caso contrário, produzir no mesmo formato você mesmo, com base no contexto do Figma e na lista de funcionalidades.
  4. Formato da entrega

    • Para cada funcionalidade: título → Objetivo (uma frase) → Critérios de aceite (até 5, numerados).
    • Preferir critérios no formato Dado/Quando/Então quando fizer sentido.
    • Sem introduções longas; direto ao ponto.
  5. Levantamento dos criterios

    • Para levantar os creterios seja bem criterioso em relação valores presentes na tela, por exemplo em tabelas analisa bem as colunas e deixe bem claro quais as colunas presente;
    • Em caso de enuns como status, deixe claro TODOS os status presentes na tela;
    • Descreva por exemplo corretamente qual é a ordem das coisas, por exemplo em uma linha de uma tabela se existe um botão ao lado de um texto, descreva isso bem "Ao lado do nome do usuario existe um botão de tres pontos para abrir um menu";

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago First seen · 75 lines · 59 tokens per session scan A 3df5154228cf

Subscribe to this mod's changes

criar-criterios is a skill published in the GitHub repository VictorCostaOliveira/agents-tdd-flow (2 stars, last pushed 22d ago), licensed MIT. It adds 59 tokens to every session and 1,011 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

criar-criterios compared with skills from other repositories

criar-criterios next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
criar-criteriosVictorCostaOliveira/agents-tdd-flowSkill222d agoMITA59Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code