com um clique
smoke-test-gitai
Smoke test end-to-end do gitai CLI em repo temporário
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Smoke test end-to-end do gitai CLI em repo temporário
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Rank the functions/modules changed this session by test-worthiness and output TEST / integration-only / SKIP per symbol. Uses graphify blast-radius when graphify-out/ exists, a static rubric otherwise. Use when you changed several units and are unsure which deserve a unit test, or before writing tests for a batch of new code.
Use when performing code review, writing or refactoring code, or discussing architecture; complements clean-code and does not replace project linter/formatter.
Use when publishing a new version of gitai to npm — cutting a release, bumping the version, shipping to the registry — or when a release was cut but the new version never reached npm, or a user reports the CLI still showing an old version.
Use when asked to generate, build, prepare, optimize or assemble a /goal command for autonomous or overnight execution — triggers: "montar goal", "gerar goal autônomo", "preparar task overnight", "goal para sessão autônoma", "otimizar goal", "goal builder".
Create, update, and manage GitHub issues using MCP tools. Use this skill when users want to create bug reports, feature requests, or task issues, update existing issues, add labels/assignees/milestones, set issue fields (dates, priority, custom fields), set issue types, manage issue workflows, link issues, add dependencies, or track blocked-by/blocking relationships. Triggers on requests like "create an issue", "file a bug", "request a feature", "update issue X", "set the priority", "set the start date", "link issues", "add dependency", "blocked by", "blocking", or any GitHub issue management task.
This skill should be used when the user mentions tickets, issues, backlog, PR, pull request, worktree, sprint, or any development project management activity. Also activate when the user says "create issue", "work on #N", "close ticket", "open PR", "merge PR", "view backlog", "create branch for issue", or when code was modified without a linked issue.
| name | smoke-test-gitai |
| description | Smoke test end-to-end do gitai CLI em repo temporário |
Valida o ciclo completo: detectar diff → chamar IA → gerar mensagem → commitar.
Build — rode npm run build e confirme dist/index.js existe.
Repo temporário:
TMPDIR=$(mktemp -d)
cd "$TMPDIR"
git init
git config user.email "smoke@test.local"
git config user.name "Smoke Test"
echo "smoke test $(date -u +%s)" > smoke.txt
git add smoke.txt
Executar gitai no repo temporário, apontando para o build:
node /path/to/dist/index.js
Use a variável de ambiente GITAI_CONFIG se necessário para apontar para ~/.gitai real ou um config de teste.
Verificar saída:
feat:, fix:, chore: etc.)git log --oneline mostra 1 commit no repo temporárioprocess.exit(1) não tratadoLimpar: rm -rf "$TMPDIR"
git logApós mudar src/services/ai.ts, src/utils/git.ts ou src/index.ts — qualquer alteração no fluxo principal de commit.