본문으로 건너뛰기
cccskills
무료GitHub에 공개

power-init

Use when a repository has no PWDEV Power workspace yet, when resuming one, when the codebase map needs refreshing, or when the setup should be checked

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.6 KB
  • agents/openai.yaml208 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Initialize a Power Workspace

Never read a secret, and never edit configuration outside the repository — print the command and let the human run it. Read artifacts before writing config.json or state.md (Step 4), context before mapping (Step 5), runtime before dispatching the mapper, and safety before touching .gitignore or anything outside .planning/power/.

Routes

RouteMeaning
no argumentinitialize, or report and resume if already initialized
--mapre-map the codebase; do not touch configuration
--checkreport the runtime surface and map staleness only; write nothing

Step 1 — Detect before you ask

Never ask the human something the repository already answers.

  1. Is .planning/power/config.json present? If yes, this is a resume: read it, read state.md, report the active feature and the exact next valid action. Do not re-initialize and do not overwrite an existing config. Offer --map if the map is stale (Step 5).
  2. Is this a Git repository with a named branch? If not, say so and stop — every later phase binds to a branch.
  3. Greenfield or brownfield? Brownfield is anything with source files already committed.
  4. Detect the stack from manifests, not from folder names: package.json, pyproject.toml, go.mod, Cargo.toml, composer.json, pom.xml, Gemfile. Read the actual test and lint commands out of them.

Step 2 — Runtime surface

Report what is available, one line each. Do not install anything, and do not edit any configuration outside the repository.

CheckCommandIf missing
Runtimeyour own tool surface—
cmux binary and socketsource ../../scripts/cmux-common.sh and call power_cmux_requirefleet is unavailable; everything else works
Hermes CLIhermes --versionthe Kanban bridge is unavailable
cmux↔Hermes hookscmux hooks hermes-agentprint cmux hooks hermes-agent install and let the human run it
jq, sqlite3command -vaudit stays off; note it

Missing tools are facts to report, not errors to fix. Only the fleet requires cmux.

Do not probe for cmux with command -v cmux. On macOS the CLI lives inside the app bundle and is usually not on PATH, so that check reports "not installed" for a cmux that is running fine. power_cmux_require resolves the binary the same way the fleet does, and it distinguishes "not running" from "running but refusing this process".

Step 3 — Ask what cannot be detected

At most one round, at most three questions, one at a time:

  1. Language for conversation and artifacts (default: the repository's existing language).
  2. Model profile: economy, balanced, performance (default: balanced).
  3. Audit trail on? (default: off).

Step 4 — Write the workspace

Create .planning/power/ with config.json and state.md exactly as artifacts specifies. If audit was enabled, create the database file — the audit scripts refuse to write into a database that does not exist, so creating it is the act that turns auditing on.

Add these to the repository's .gitignore if one exists — none of them is a contract:

  • .planning/power/audit/ and .planning/power/fleet-logs/ — logs
  • .planning/power/fleet-results/ — raw provider bytes
  • .planning/power/features/*/review-*.diff — review packages
  • .planning/power/fleet/ and .planning/power/fleet-status.json — live fleet state, which records absolute worktree paths, a cmux workspace id and host ports, and is therefore true for exactly one machine

Everything else under .planning/power/ is a contract and belongs in version control.

Check whether .planning is already ignored wholesale, which is a common default. If it is, carve .planning/power/ back out:

.planning/*
!.planning/power/
.planning/power/audit/
.planning/power/fleet/
.planning/power/fleet-status.json
.planning/power/fleet-logs/
.planning/power/fleet-results/
.planning/power/features/*/review-*.diff

An ignored contract directory is not a cosmetic problem: the fleet decides whether a stage did any work by asking git whether the feature directory is dirty, and git never says that of an ignored path. Left alone, the plan stage — whose only output is plan.md — is refused as work nobody did, and fleet-up now declines to launch rather than let that happen mid-run.

Step 5 — Map the codebase

Greenfield repositories skip this. There is nothing to observe yet, and a map of an empty directory is noise that later phases will read as fact. Say you skipped it and why.

For brownfield, dispatch the packaged mapper subagent — see runtime for how, in your runtime. Give it the repository root, the language, and the output contract. It writes four files and returns at most ten lines; do not paste its files into your context.

Where no subagent mechanism exists, map inline, and keep it to exactly what the four documents need rather than exploring for its own sake.

Produces: .planning/power/context/{project,stack,domain,pitfalls}.md

Staleness

project.md records the commit it was mapped at. On resume, compare it to HEAD: same commit, or only .planning/ changed, means current; a changed stack, manifest, or top-level directory means stale — say so and offer --map. Never remap silently, and when the map and the code disagree, the code is right (context §Staleness).

Step 6 — Governance file, only if asked

Offer to generate the governance file your runtime reads — the instructions file named in your runtime's tool mapping — from templates/CLAUDE.template.md, filled with what the map found. If one already exists, show what you would change and ask before touching it. Never silently overwrite a governance file.

The file is named indirectly here on purpose: Hermes drops any skill whose body contains those two filenames literally, silently and without an error, so naming them would make this whole skill invisible on that runtime. See the note in runtime.

Report

State the workspace path, the detected stack with its real test and lint commands, the runtime surface with anything missing, whether the map was written, skipped or refreshed, and the next action: product for a new product, plan for a feature, quick for a small change.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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년 10월 15일 업데이트

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년 10월 15일 업데이트

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년 10월 15일 업데이트

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년 10월 15일 업데이트

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년 10월 15일 업데이트

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년 10월 15일 업데이트

pwdev-solucoes의 스킬 모두 보기

이 스킬의 문제 신고