pstack para Claude Code
michael-denyer/pstack-claude
Fluxos de trabalho paralelos para código de qualidade com menos escrita
Ver no GitHubAgent que porta o plugin pstack do Cursor para Claude Code, trazendo fluxos de trabalho rigorosos com 39 skills para escrita de código de alta qualidade. Implementa padrões de paralelização e revisão profunda antes da execução rápida, com slash commands para arquitetura, investigação e refinamento iterativo.
Instalação
npx convez-ai michael-denyer/pstack-claude1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Revisar e refinar código antes de PR
- Debugar CI/CD e resolver merge conflicts automaticamente
- Arquitetar sistemas e validar tipos antes da implementação
- Executar múltiplas tentativas paralelas e selecionar melhores soluções
Veredito

Ferramenta sólida para equipes que valorizam qualidade sobre velocidade bruta. Bem documentada, com auditoria completa de mudanças e licença MIT — mas exige familiaridade com Claude Code e CLI do GitHub para extrair seu máximo potencial.
README
A tradução para o português deste README ainda está na fila.
pstack for Claude Code
Claude Code port of poteto's pstack plugin. Original by Lauren Tan; ships MIT. Imports seven skills from cursor-team-kit (also MIT): deslop, thermo-nuclear-code-quality-review, make-pr-easy-to-review, fix-ci, fix-merge-conflicts, get-pr-comments, what-did-i-get-done.
if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence.
This is not a verbatim copy. Skill bodies have been edited so every Cursor-specific primitive resolves to its Claude Code equivalent — see Differences from upstream for the full list. The exhaustive per-skill audit lives in CHANGES.md; license attribution lives in NOTICE.md; the upstream README is preserved verbatim at README-UPSTREAM.md.
Install
This repo ships as a Claude Code marketplace containing one plugin (pstack).
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
Layout
.
├── .claude-plugin/marketplace.json # marketplace manifest (repo root)
├── plugins/pstack/ # the plugin itself
│ ├── .claude-plugin/plugin.json
│ ├── skills/ # 39 skills
│ ├── commands/ # 20 slash command stubs
│ └── agents/poteto-agent.md
├── LICENSE # pstack upstream MIT
├── LICENSE-cursor-team-kit # cursor-team-kit upstream MIT
├── NOTICE.md # attribution table
├── CHANGES.md # per-skill substitution audit
└── README.md # this file
Plugin-internal path references in the docs below (skills/<name>/, commands/<name>.md) are relative to plugins/pstack/.
Dependencies
Declared in plugin.json and auto-resolved on install:
-
plugin-dev(from theclaude-plugins-officialmarketplace) — required. The rewiring routes skill-authoring tasks (inautomate-me,reflect,poteto-mode) to theplugin-dev:skill-developmentskill. If you haven't added the official marketplace yet,/plugin install pstack@pstack-claudewill pull it in automatically, providedclaude-plugins-officialis already added; otherwise:/plugin marketplace add anthropics/claude-plugins-official
Not declared as deps, but referenced in skill bodies:
run,verify,loop— Claude Code CLI built-ins (ship with the binary, always available).ghCLI — system-level requirement of thebabysitskill. Install viabrew install ghand authenticate withgh auth login.
No third-party plugins. The harsher-critique escape hatch lives in the bundled thermo-nuclear-code-quality-review skill (imported from cursor-team-kit), not in an external plugin.
Slash commands
| command | use it when |
|---|---|
/poteto-mode | default entry point for any non-trivial task |
/how | walk through how a subsystem works |
/why | investigate why something was built this way (parallel multi-MCP evidence) |
/architect | settle types and module shape before writing code that crosses a function boundary |
/arena | run N parallel attempts at the same task and pick the best parts |
/interrogate | have four different models try to break a diff |
/automate-me | draft your own personal -mode skill from recent transcripts |
/reflect | capture a long task's lessons as a skill edit |
/tdd | fix a bug by writing the failing test first, then the fix |
/typescript-best-practices | ground type-system discipline in TypeScript syntax |
/figure-it-out | design a rigorous, auditable playbook for a task no bundled playbook fits |
/show-me-your-work | log decisions to a reviewable tsv decision trail |
/unslop | clean up writing by removing AI tells |
/deslop | deslop a diff before commit |
/babysit | monitor an open PR, fix CI/comments, keep it merge-ready |
/thermo-nuclear-code-quality-review | extremely strict maintainability audit |
/make-pr-easy-to-review | clean noisy history and improve PR description before review |
/fix-ci | find failing PR checks, inspect logs, apply focused fixes |
/fix-merge-conflicts | non-interactively resolve merge conflicts, validate, finalize |
/get-pr-comments | fetch and summarize review comments from the active PR |
/what-did-i-get-done | summarize authored commits over a user-chosen period |
Subagent
poteto-agent ships unchanged. Spawn from a parent with subagent_type: "poteto-agent".
Differences from upstream
The port is editorial, not mechanical. Anywhere upstream pstack assumed Cursor-specific primitives, this port substitutes the Claude Code equivalent so refs actually resolve. Two prior ports (v1truv1us/ai-eng-system, Evan-Kim2028/agent-fleet) stop at namespacing — they vendor pstack under pstack/ and leave the Cursor refs intact. This port does the content surgery.
What's added
skills/babysit/— Claude Code analog of Cursor's closed-source/babysitbuilt-in. Wrapsgh pr view/gh pr checks/gh run view --log-failedplus theloopskill for pacing. Independently authored; workflow informed by Cursor's public/babysitbehavior — not a copy of Cursor's implementation.skills/deslop/— imported verbatim fromcursor-team-kit. Cleans AI tells out of diffs before commit.skills/thermo-nuclear-code-quality-review/— imported verbatim fromcursor-team-kit. Used as the harsher-critique escape hatch inarena,interrogate,architect, andhow(replaces the Cursor-original cross-vendor bridge).skills/make-pr-easy-to-review/— imported verbatim fromcursor-team-kit. Composes withopening-a-prandbabysit.skills/fix-ci/— imported verbatim fromcursor-team-kit. Narrower CI-fix primitive thatbabysitcan route to.skills/fix-merge-conflicts/— imported verbatim fromcursor-team-kit. Pairs withbabysitstep 5.skills/get-pr-comments/— imported verbatim fromcursor-team-kit. Primitive forbabysitstep 4 andreflect.skills/what-did-i-get-done/— imported verbatim fromcursor-team-kit. Commit summary over a chosen period.
What's substituted in skill bodies
| Upstream (Cursor) | This port (Claude Code) |
|---|---|
Task tool, subagent_type: generalPurpose, readonly: false/true | Agent tool, subagent_type: "general-purpose", no readonly flag (subagent_type controls MCP access) |
AskQuestion tool | AskUserQuestion tool |
Cursor's built-in /loop | Claude Code's built-in loop skill |
Cursor's built-in /babysit | babysit skill bundled in this plugin |
Cursor's built-in /create-skill | plugin-dev:skill-development skill |
cursor-team-kit control-cli (CLI/TUI driver) | Claude Code's run skill |
cursor-team-kit control-ui (browser/Electron driver) | Claude Code's verify skill |
Transcripts at ~/.cursor/projects/*/ or agent-transcripts/ | ~/.claude/projects/<encoded-cwd>/*.jsonl (where <encoded-cwd> is the workspace cwd with / → -) |
Skill paths .cursor/skills/, ~/.cursor/plugins/ | .claude/skills/, ~/.claude/plugins/ |
MCP discovery via Cursor's mcps/ directory | Tool list at top of system prompt (mcp__<server>__<name> entries), or .mcp.json, or claude mcp list |
Model composer-2.5-fast (Cursor) | claude-sonnet-4-6 |
Model claude-opus-4-X-thinking-xhigh (Cursor UI variant) | claude-opus-4-8 (extended thinking configured separately) |
Models gpt-5.3-codex-high-fast, gpt-5.5-high-fast (via Cursor) | claude-sonnet-4-6, claude-haiku-4-5 (Claude family) |
What's lost in translation
Cross-vendor model diversity. arena, interrogate, architect, and how all rely on stress-testing a design against four different model families. Claude Code is single-vendor, so the four-way split collapses to four Claude variants by tier and thinking budget. Instead of bridging to an external CLI for that diversity, the rewiring routes the "harsher pass" to the bundled thermo-nuclear-code-quality-review skill — different style of pressure (strict maintainability rubric), not vendor diversity, but it lives in-plugin with no extra installs.
What's deliberately kept
- The
poteto-agentsubagent ID and all references to it. run_in_background: trueon Agent calls (Claude Code supports it)./loop,/deslop,/babysitslash references in skill bodies — they all resolve in Claude Code now.- The principle/playbook structure and every word of the principles themselves.
Forking note
Editing skill bodies forks this from upstream. Re-syncing to a future pstack release means re-applying the substitution table. The full re-port recipe is in CHANGES.md.
License
MIT. Two upstream LICENSE files are preserved:
- LICENSE — pstack (Lauren Tan)
- LICENSE-cursor-team-kit — Cursor (covers the
deslopandthermo-nuclear-code-quality-reviewskills)