Skip to content
cccskills
FreePublished on GitHub

power-finish

Use when implementation is complete, tests pass, and the work needs integrating - merging, opening a pull request, or being left in place

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md2.2 KB
  • agents/openai.yaml180 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Finish a Branch

Never push, merge, or open a pull request unless the human asked in this session; read safety before Step 5 and Step 6.

Step 1 — Green first

Run the full suite. If it fails, report it and stop. The menu below does not appear until the suite is green — offering integration options over a red suite invites choosing one.

Step 2 — Capture the environment

Record WORKTREE_PATH and the current branch now, before any step changes directories. Step 5 moves you, and a path captured after the move points at the wrong place.

Step 3 — Confirm the base

Ask which branch this integrates into. Do not assume main; do not read it from a config and proceed silently.

Step 4 — The menu

Present exactly these, and wait:

  1. Merge locally into the base branch.
  2. Push and open a pull request.
  3. Leave it as is — keep the branch and the worktree.

In detached HEAD, only options 2 and 3 apply; say why.

Discarding is not on the menu. If the human asks to discard, require them to type the word discard, and confirm what will be lost first.

Step 5 — Execute

Merge locally: merge before removing anything, then run the suite again on the merged result. Two branches that each pass can fail together, and that failure belongs to whoever merged them.

Pull request: push, open it, and keep the worktree. Review feedback gets fixed there, and a removed worktree means recreating it in an hour.

Leave it: record where it is and what state it is in, so the next session does not rediscover it.

Step 6 — Cleanup

Only remove worktrees under .worktrees/ or worktrees/, and only ones this work created.

git worktree remove <path>
git worktree prune

If removal is refused because of uncommitted files, do not add --force on your own initiative. Show git status --porcelain -uall and offer: commit them, stash them, or leave the worktree in place. The refusal is git protecting work that someone may want.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Accessibility auditing and remediation skill for Vue 3 + Reka UI. Use when reviewing components, verifying WCAG 2.1 AA, fixing ARIA issues, or validating keyboard navigation in Reka UI components.

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

Infraestrutura para IA — GPU, servidores MCP, gateway de LLM, pipeline de inferência, custo de token, cache semântico e observabilidade de modelo. Use quando o usuário disser "GPU", "MCP server", "LLM", "inferência", "modelo", "gateway de IA", "custo de token", "rate limit da API de IA", "self-host de modelo".

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

Escreve texto alternativo e descrição de imagem para peças de rede social. Use quando o usuário disser "alt text", "texto alternativo", "descrição da imagem", "acessibilidade da peça", "descrever para leitor de tela", ou automaticamente antes de qualquer publicação. Obrigatório em todas as peças — em carrossel, um por slide.

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

Organiza, compara e seleciona entre as variações geradas, e publica a grade de comparação como Artifact para aprovação do time. Use quando o usuário disser "qual dessas", "comparar as variações", "escolher a melhor", "mostrar as opções", "montar grade de aprovação", ou após qualquer lote de geração. Selecionar é trabalho, não detalhe.

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

Aumenta resolução e qualidade de imagem via Freepik/Magnific, ou orienta o processo manual quando não há chave. Use quando o usuário disser "upscale", "melhorar a resolução", "a imagem está pixelada", "Magnific", "Freepik", "aumentar a imagem", "imagem pequena demais". Gasta crédito — exige confirmação.

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

CI/CD e automação — GitHub Actions, Terraform, OpenTofu, Ansible, n8n. Use quando o usuário disser "pipeline", "CI/CD", "GitHub Actions", "workflow", "terraform", "ansible", "n8n", "automatizar", "deploy automático", "IaC".

The English summary is being prepared. Showing the original description.

pwdev-solucoes/pwdev-claude-marketplace3Updated Oct 15, 2026

See all skills by pwdev-solucoes

Report a problem with this skill