Skip to content
cccskills
FreePublished on GitHub

feat-exec

Use when the user wants to execute an existing pwdev-feat action plan — 'executar o plano user-crud', 'exec latest', 'rodar o plano', 'retomar a execução'. Dispatches the executor (subagent when the runtime has one, inline otherwise) in IMPLEMENT or REPORT mode, handles NEEDS_ADVICE with the advisor, and supports --resume. Do NOT use to create plans (feat-feature, feat-backend, feat-frontend, feat-test, feat-review) or for tasks without a plan (feat-quick).

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

See how to install

Files included (2)

  • SKILL.md5.2 KB
  • agents/openai.yaml179 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Execute plan

You orchestrate; the executor implements. Dispatch mechanics per runtime and the inline fallback: references/runtime.md. Prompts: references/spawn-contracts.md.

Arguments: <slug> or latest (default), optional --resume.

Procedure

  1. Language — resolve lang (references/language.md).
  2. Load — python3 "<plugin-root>/scripts/feat_state.py" precheck <slug|latest>.
    • PLAN_NOT_FOUND → show how to create one (feat-feature / feat-backend / feat-frontend / feat-test / feat-review) and stop.
    • already_executed with no resume_step → warn and ask whether to re-run.
    • resume_step present → offer to resume from that step (implied by --resume).
  3. Lint — python3 "<plugin-root>/scripts/plan_lint.py" <plan>. Errors → show them and stop (suggest fixing the plan with the skill that created it). Warnings → mention them.
  4. Working tree — dirty_planned_files not empty → list them and ask whether to proceed (the executor may commit them). Note branch; on the default branch, ask before committing there.
  5. Memory (optional, read-only) — if .planning/memory/MEMORY.md exists (curated by pwdev-code; never write there), pick ≤3 entries by keyword overlap with the plan (convention first; 1 hop via [rel: ...] within the cap) into a RELEVANT MEMORY block.
  6. Confirm with the human (gate):
    📋 Executing plan: {plan}
    Type: {type} | Mode: {IMPLEMENT | REPORT (no commit)} | Runtime: {runtime} ({subagent|inline})
    Objective: {objective}
    Files: {N} | Criteria: {N} | Steps: {N}{ | resuming at step n}
    Base commit: {sha}
    Proceed? (y/n)
    
  7. Record (audit on): sh "<plugin-root>/scripts/audit-log.sh" event exec "" started <plan> "<MODE>". Dispatch the executor with the executor prompt (full plan, MODE, SLUG, BASE COMMIT, PLUGIN ROOT, LANGUAGE, context documents for the plan type, RELEVANT MEMORY, and RESUME FROM STEP n when resuming). Model per references/model-profiles.md (key feat-executor). Record: sh "<plugin-root>/scripts/audit-log.sh" spawn exec "" pwdev-feat:executor <model|inherited|inline>. No subagent mechanism → follow references/executor-contract.md inline yourself.
  8. React to the ≤10-line status (never open the reports unless the status requires it):
    • Blocked-write fallback: if the reply carries --- BEGIN FILE <path> --- blocks, write each content verbatim to its path (only paths under .planning/feat/features/{slug}/), and make sure plan.done.md exists, rendered from templates/plan.done.md with its <!-- feat-status: ... --> marker; note in the Deviations that the orchestrator persisted it.
    • COMPLETE / CAVEATS → step 9.
    • STOPPED:<condition> → present it and wait for the human.
    • NEEDS_ADVICE → at most ONE consultation per plan: dispatch the advisor with the advisor prompt (advice request + plan §1/§2/§7; key feat-advisor), log audit-log.sh event exec "" advice_requested and ... advice_given, then re-dispatch the executor with the ADVICE block. NEEDS_ADVICE again → present to the human and stop.
    • FAILED → re-dispatch ONCE with the retry block; fails again → stop and report both notes. Advice and retry counters are independent: at most 1 advice + 1 retry per plan.
  9. Record the outcome: sh "<plugin-root>/scripts/audit-log.sh" event exec "" <completed|failed> <plan> "<STATUS>" (completed for COMPLETE/CAVEATS, failed otherwise). Check the tree: git status --porcelain --untracked-files=all — report any change outside .planning/ left by the run instead of hiding it. Present:
    ✅ Plan {slug} executed — {COMPLETE | CAVEATS | FAILED} ({IMPLEMENT | REPORT})
    Commit: {hash | none — findings at .planning/feat/features/{slug}/{review.md | test-audit.md}}
    Report: .planning/feat/features/{slug}/plan.done.md
    👉 Next: feat-review {base_commit}..HEAD   (IMPLEMENT only)
    

Prohibitions

  • Never implement code yourself while a subagent mechanism is available — dispatch the executor.
  • Never execute without the human's confirmation at step 6.
  • Never commit in REPORT mode.
  • Never paste plan.done.md or the findings file into your context — status lines only (the blocked-write fallback is written straight to disk, not summarized).

Language: resolve lang per references/language.md before any human-facing output. Safety: never read or expose .env* (except .env.example/.template/.sample), keys, certificates or credentials — references/safety.md. Paths references/, scripts/, templates/, schemas/ are relative to the plugin root (references/runtime.md).

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