本文へ移動
cccskills
無料GitHub で公開

power-worktree

Use when starting feature work that needs isolation from the current workspace, or before executing an implementation plan

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.3 KB
  • agents/openai.yaml182 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Work in an Isolated Workspace

Step 0 — You may already be isolated

Check before creating anything:

GIT_DIR=$(cd "$(git rev-parse --git-dir)" && pwd -P)
GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" && pwd -P)
git rev-parse --show-superproject-working-tree

If GIT_DIR differs from GIT_COMMON and the third command prints nothing (you are not in a submodule, where the same difference appears for an unrelated reason), you are already in a worktree. Skip to Step 2.

Step 1a — Native tooling first

If your harness has its own worktree mechanism — an EnterWorktree tool, a /worktree command, a --worktree flag — use it.

Running git worktree add when a native tool exists is the most common mistake here: it creates a worktree the harness does not know about, so its own bookkeeping points at the old one, and everything after that is confusing in a way that is hard to trace back.

Step 1b — Fallback

Only if there is no native tool. Get consent first: this changes where the human's work happens.

Choose the location by priority: what the human specified, then an existing .worktrees/, then an existing worktrees/, then .worktrees/ as the default.

Check it is ignored before creating it:

git check-ignore -q .worktrees/ || echo "not ignored — add it to .gitignore first"
git worktree add .worktrees/<slug> -b <branch>

An un-ignored worktree directory turns the entire checkout into untracked noise inside the parent repository.

If git worktree add fails on permissions, you are probably in a sandbox that cannot write where you asked. Say so; do not retry with sudo or a path outside the repository.

Step 2 — Set it up

Install dependencies with the project's real command, read from its manifest. Copy the local environment files the project needs — except anything holding a secret, which the human provides.

Step 3 — Green baseline

Run the test suite before changing anything.

A baseline you did not take is a baseline you will invent later, and the first failure will look like yours whether it is or not. If the suite is already red, say so now and agree what "green" means for this work.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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.

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

ai-infra

無料

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".

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

alt-text

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

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".

日本語の概要は準備中です。原文の説明を表示しています。

pwdev-solucoes/pwdev-claude-marketplace32026年9月28日 更新

pwdev-solucoes のスキルをすべて見る

このスキルの問題を報告する