pstack
Rigorous agent workflows and engineering principles by Lauren Tan (@poteto): fearless parallelism, poteto-mode with 23 playbooks, 24 engineering principles…
by Andersonlimahw★ 19 GitHub stars
Install pstack in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
pstack — Rigorous Agent Workflows & Engineering Principles
Created by Lauren Tan (@poteto) from Meta, Netflix, and Cursor. Designed to eliminate AI slop, encourage deep engineering before code generation, and enable fearless agent parallelism.
Core Entrypoints
poteto-mode: Primary execution engine. Classifies requests into one of 23 rigorous engineering playbooks and drives execution step-by-step with structured verification.poteto-help: Interactive guide to pick the best skill, playbook, or principle for your current task.setup-pstack: Configures multi-model routing tiers, panel allocations, and reasoning budgets.
23 Engineering Playbooks (poteto-mode)
- investigation: Read-only codebase interrogation ("how does X work", "why was Y built this way").
- bug-fix: Reproduce defect, isolate root cause, and fix with executable runtime evidence.
- perf-issue: Profile, measure, and optimize against an established baseline.
- hillclimb: Scientific metric improvement looping hypotheses with before/after benchmarks.
- runtime-forensics: Live defect diagnostics (memory leaks, CPU spin, UI glitch) via instrumentation.
- trace-forensics: Profiling artifact analysis (cpuprofiles, traces, heap snapshots).
- feature: Contract-first behavioral changes built from clear data shapes.
- refactoring: Behavior-preserving structural cleanup with regression tests.
- prototype: Cheap throwaway spikes to validate design choices before implementation.
- visual-parity: Pixel-exact UI equivalence between implementations.
- authoring-a-skill: Authoring or updating clean, discoverable agent skills.
- eval: Blinded behavioral evaluation of skill or prompt iterations.
- babysit: Drive PRs to merge-ready (CI fixes, merge conflicts, review threads).
- shipping: Stack verification and clean landing via GitHub/origin.
- autonomous-run: Long-running unattended task execution with checkpoints.
- orchestrate: Standing multi-day coordinator decomposing tasks across fleets.
- autopilot-full: Independent PRs driven to merged with parallel verifiers.
- autopilot-stack: Stacking dependent PRs safely without auto-merge.
- session-pickup: Clean resumption of in-flight work from prior agents.
- pause-safely: Safe suspension of work with context preservation.
- multi-phase-plan: Multi-phase architectural migrations across stacked PRs.
- worktree-cleanup: Pruning merged or stale worktrees and simulator state.
- opening-a-pr: Conventional commit titles and briefing-style PR bodies.
24 Engineering Principles
principle-attack-the-premise: Re-examine foundational assumptions when multiple fixes fail.principle-boundary-discipline: Concentrate validation, sanitization, and error handling at boundaries.principle-build-the-lever: Build tools, scripts, and fixtures instead of manual bulk edits.principle-encode-lessons-in-structure: Turn lessons into types, linters, and architectural constraints.principle-exhaust-the-design-space: Enumerate and weigh architectural alternatives before choosing.principle-experience-first: Prioritize user experience over developer or implementation convenience.principle-explain-the-number: Validate metrics and understand variance before optimizing them.principle-fix-root-causes: Trace defects back to source; never patch superficial symptoms.principle-foundational-thinking: Establish core types and invariant models before logic.principle-guard-the-context-window: Protect context from bloat, huge diffs, and log dumps.principle-laziness-protocol: Resist speculative abstractions and premature generality.principle-make-operations-idempotent: Design operations to be safely repeatable across crashes.principle-migrate-callers-then-delete-legacy-apis: Migrate callers cleanly before removing legacy APIs.principle-minimize-reader-load: Keep code direct and readable; reduce layers of indirection.principle-model-the-domain: Represent domain entities with rich, precise data structures.principle-never-block-on-the-human: Proceed autonomously on reversible decisions.principle-outcome-oriented-execution: Focus on tangible verified outcomes, not busywork.principle-prove-it-works: Require objective executable proof before declaring completion.principle-redesign-from-first-principles: Step back and design cleanly when requirements shift.principle-separate-before-serializing-shared-state: Avoid concurrent state contention.principle-sequence-verifiable-units: Break work into minimal independently verifiable slices.principle-subtract-before-you-add: Delete dead code and excess complexity before adding new logic.principle-test-behavior-not-implementation: Assert observable contracts, never internal wiring.principle-type-system-discipline: Use strong static typ
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- .cursor-plugin/plugin.json
- .gitignore
- LICENSE
- README.md
- agents/comment-sicko.md
- agents/poteto-agent.md
- assets/logo.png
- automations/benny/FOR_AGENTS.md
- automations/benny/README.md
- automations/benny/skills/reproduce-and-fix-issues/SKILL.md
- automations/benny/skills/reproduce-and-fix-issues/references/control-adapter.md
- automations/benny/skills/reproduce-and-fix-issues/references/feature-map.example.md
- automations/benny/skills/reproduce-and-fix-issues/references/verify-existing-fix.md
- automations/benny/skills/setup-benny/SKILL.md
- automations/benny/skills/triage-issue-reports/SKILL.md
- automations/benny/skills/triage-issue-reports/references/routing.example.md
- automations/benny/templates/configuration.example.yaml
- automations/benny/templates/reproduce-automation-prompt.md
- automations/benny/templates/triage-automation-prompt.md
- docs/guide/01-setup.md
- docs/guide/02-poteto-mode.md
- docs/guide/03-understand.md
- docs/guide/04-design.md
- docs/guide/05-build-and-clean.md
- docs/guide/06-verify-and-ship.md
- docs/guide/07-overnight.md
- docs/guide/08-principles.md
- docs/guide/09-make-it-yours.md
- docs/guide/10-recipes-and-pitfalls.md
- docs/guide/README.md
- docs/guide/images/design.jpg
- docs/guide/images/overnight.jpg
- docs/guide/images/recipes.jpg
- docs/guide/images/router.jpg
- docs/guide/images/understanding.jpg
- docs/guide/images/verification.jpg
- docs/harness/claude-code.md
- plugin.json
- skills/architect/SKILL.md
- skills/architect/references/design-red-flags.md
FAQ
What does the pstack skill do?
Rigorous agent workflows and engineering principles by Lauren Tan (@poteto): fearless parallelism, poteto-mode with 23 playbooks, 24 engineering principles, multi-model panels, verification, and unslop quality gates.
How do I install the pstack skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pstack skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…