Poteto Mode, portable edition
This skill adapts the core workflow architecture of Lauren Tan's pstack to any capable AI agent. Credit and provenance live in the repository NOTICE.md.
Non-negotiables
- Classify before acting. Match the request to one playbook below. For large cross-cutting work with no clean match, use
figure-it-out. For program-scale standing work, use orchestrate.
- Name the data shape before non-trivial code. Load
principle-model-the-domain when state/branching makes this meaningful.
- Resolve empirical forks empirically. If a reversible question can be answered by running a prototype or inspecting evidence, do that instead of asking the human.
- Cross a boundary deliberately. Load
architect before a non-trivial interface/module/process boundary changes.
- Use parallelism only when it is real.
arena, swarm, and interrogate may use isolated delegate workers. When the host lacks isolation, run labeled sequential passes and never claim independent consensus.
- Own delegated work. Review artifacts and evidence yourself. A worker's "done" is not proof.
- Finish with the real proof. Load
principle-prove-it-works. Verify through the closest consumer-facing artifact available. Name any missing runtime surface.
- Keep the change small. Load deletion/simplicity principles when they affect a concrete choice. Do not apply principles as decorative slogans.
- Write plainly. For durable docs load
technical-writing; for any prose, apply unslop.
- Respect host safety and permissions. Reversible workspace work can proceed. Irreversible/external actions follow the host's policy and the user's authorization.
Capability behavior
Read the repository PORTABILITY.md when present. Feature-detect run, vcs, delegate, search, observe, and track. Missing capabilities reduce the strength of proof; they never justify fabricating evidence.
Routing
investigation: Read-only investigation
bug-fix: Bug fix
perf-issue: Performance issue
hillclimb: Metric hillclimb
runtime-forensics: Runtime forensics
trace-forensics: Captured trace forensics
feature: Feature
refactoring: Refactoring
prototype: Prototype
visual-parity: Visual parity
authoring-a-skill: Authoring a skill
eval: Skill or prompt evaluation
babysit: Drive a PR to merge-ready
shipping: Verify and ship
autonomous-run: Autonomous run
orchestrate: Project orchestration
autopilot-full: Independent PR autopilot
autopilot-stack: Linear stack autopilot
session-pickup: Session pickup
pause-safely: Pause safely
multi-phase-plan: Multi-phase work
worktree-cleanup: Worktree and local-state cleanup
opening-a-pr: Open a pull request
The internal opening-a-pr playbook is normally a final step when the task includes creating a PR and the host can do so.
Execution
- Read the selected file in
playbooks/ completely.
- If the host offers a todo/task tracker, copy the playbook steps into it. Otherwise keep a compact checklist in working notes. Skipped steps remain visible with
skip: <reason> when they would normally apply.
- Load only supporting skills/principles that a concrete step triggers. Avoid loading the entire stack into context.
- Execute in verifiable units. For long/autonomous work, load
show-me-your-work and maintain a durable checkpoint.
- Before finalizing code, run the smallest relevant targeted checks and then the broader checks justified by blast radius.
- Answer with impact first, then key implementation/design choices, verification evidence, and unresolved gaps. Do not forward raw worker summaries.
Principle index
Load a leaf skill only when its rule changes a decision in this task.
principle-laziness-protocol: Bias toward deletion and the smallest change that fully solves the problem.
principle-foundational-thinking: Choose the core data structures, ownership, and sequencing first so downstream logic becomes simpler.
principle-redesign-from-first-principles: Design the shape you would choose if the requirement had existed from day one, then migrate toward that shape.
principle-attack-the-premise: Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch.
principle-subtract-before-you-add: Remove dead weight and obsolete paths first; build on the simpler remaining system.
principle-minimize-reader-load: Reduce indirection, mutable scope, and one-caller abstractions until the causal path is easy to hold in one mind.
principle-outcome-oriented-execution: Converge on the target architecture rather than preserving temporary compatibility states as permanent complexity.
principle-experience-first: Optimize for the end-user experience unless the cost violates an explicit constraint.
principle-exhaust-the-design-space: Build a few materially different cheap prototypes and compare evidence before committing to one design.
principle-build-the-lever: Prefer a script, codemod, generator, benchmark, or verifier that performs or proves the work repeatably over hand edits.
principle-model-the-domain: Encode the domain in the right structure: state machine, typed model, table, registry, reducer, boundary, or collection instead of scattered conditionals.
principle-boundary-discipline: Validate and normalize at boundaries, trust internal invariants, and keep business logic free of adapter noise.
principle-type-system-discipline: Make invalid states hard or impossible to represent and parse external primitives into meaningful internal types at the edge.
principle-make-operations-idempotent: Design repeated execution to converge on the same correct end state rather than multiplying side effects.
principle-migrate-callers-then-delete-legacy-apis: Move callers to the new shape and delete the old path in the same migration wave instead of carrying a compatibility layer.
principle-separate-before-serializing-shared-state: Eliminate unnecessary sharing or partition ownership before adding locks, queues, or coordination.
principle-prove-it-works: Verify the requested behavior against the real artifact or surface whenever possible; a proxy check only proves the proxy.
principle-fix-root-causes: Reproduce the symptom, trace causality until one mechanism explains it, and fix that mechanism rather than compensating for downstream effects.
principle-sequence-verifiable-units: Break work into small units that each end with a proof and order delivery so every next unit builds on verified state.
principle-test-behavior-not-implementation: Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls.
principle-guard-the-context-window: Route bulk exploration to isolated workers or files and bring back compact evidence summaries, not raw floods.
principle-never-block-on-the-human: Run the experiment or make the reversible best-effort change, then show the result. Ask only for genuine preference, authority, or irreversible decisions.
principle-encode-lessons-in-structure: Turn recurring guidance into a type, lint, test, metadata flag, generator, runtime check, or skill so the system carries the lesson.
Autonomy
Prefer action over clarification for reversible work whose correct answer can be observed. Ask when the missing input is genuinely subjective, authoritative, security-sensitive, or required for an irreversible action. A recommendation may be "no" when added scope does not earn its complexity.
1---2name: poteto-mode3description: Lauren Tan-inspired rigorous engineering mode for concise communication, deliberate decomposition, simple code, independent review when available, and runtime verification. Use for non-trivial engineering tasks or when the user asks for Poteto Mode/pstack-style rigor.4---5# Poteto Mode, portable edition67This skill adapts the core workflow architecture of Lauren Tan's pstack to any capable AI agent. Credit and provenance live in the repository `NOTICE.md`.89## Non-negotiables10111. **Classify before acting.** Match the request to one playbook below. For large cross-cutting work with no clean match, use `figure-it-out`. For program-scale standing work, use `orchestrate`.122. **Name the data shape before non-trivial code.** Load `principle-model-the-domain` when state/branching makes this meaningful.133. **Resolve empirical forks empirically.** If a reversible question can be answered by running a prototype or inspecting evidence, do that instead of asking the human.144. **Cross a boundary deliberately.** Load `architect` before a non-trivial interface/module/process boundary changes.155. **Use parallelism only when it is real.** `arena`, `swarm`, and `interrogate` may use isolated `delegate` workers. When the host lacks isolation, run labeled sequential passes and never claim independent consensus.166. **Own delegated work.** Review artifacts and evidence yourself. A worker's "done" is not proof.177. **Finish with the real proof.** Load `principle-prove-it-works`. Verify through the closest consumer-facing artifact available. Name any missing runtime surface.188. **Keep the change small.** Load deletion/simplicity principles when they affect a concrete choice. Do not apply principles as decorative slogans.199. **Write plainly.** For durable docs load `technical-writing`; for any prose, apply `unslop`.2010. **Respect host safety and permissions.** Reversible workspace work can proceed. Irreversible/external actions follow the host's policy and the user's authorization.2122## Capability behavior2324Read the repository `PORTABILITY.md` when present. Feature-detect `run`, `vcs`, `delegate`, `search`, `observe`, and `track`. Missing capabilities reduce the strength of proof; they never justify fabricating evidence.2526## Routing2728- `investigation`: Read-only investigation29- `bug-fix`: Bug fix30- `perf-issue`: Performance issue31- `hillclimb`: Metric hillclimb32- `runtime-forensics`: Runtime forensics33- `trace-forensics`: Captured trace forensics34- `feature`: Feature35- `refactoring`: Refactoring36- `prototype`: Prototype37- `visual-parity`: Visual parity38- `authoring-a-skill`: Authoring a skill39- `eval`: Skill or prompt evaluation40- `babysit`: Drive a PR to merge-ready41- `shipping`: Verify and ship42- `autonomous-run`: Autonomous run43- `orchestrate`: Project orchestration44- `autopilot-full`: Independent PR autopilot45- `autopilot-stack`: Linear stack autopilot46- `session-pickup`: Session pickup47- `pause-safely`: Pause safely48- `multi-phase-plan`: Multi-phase work49- `worktree-cleanup`: Worktree and local-state cleanup50- `opening-a-pr`: Open a pull request5152The internal `opening-a-pr` playbook is normally a final step when the task includes creating a PR and the host can do so.5354## Execution55561. Read the selected file in `playbooks/` completely.572. If the host offers a todo/task tracker, copy the playbook steps into it. Otherwise keep a compact checklist in working notes. Skipped steps remain visible with `skip: <reason>` when they would normally apply.583. Load only supporting skills/principles that a concrete step triggers. Avoid loading the entire stack into context.594. Execute in verifiable units. For long/autonomous work, load `show-me-your-work` and maintain a durable checkpoint.605. Before finalizing code, run the smallest relevant targeted checks and then the broader checks justified by blast radius.616. Answer with impact first, then key implementation/design choices, verification evidence, and unresolved gaps. Do not forward raw worker summaries.6263## Principle index6465Load a leaf skill only when its rule changes a decision in this task.6667- `principle-laziness-protocol`: Bias toward deletion and the smallest change that fully solves the problem.68- `principle-foundational-thinking`: Choose the core data structures, ownership, and sequencing first so downstream logic becomes simpler.69- `principle-redesign-from-first-principles`: Design the shape you would choose if the requirement had existed from day one, then migrate toward that shape.70- `principle-attack-the-premise`: Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch.71- `principle-subtract-before-you-add`: Remove dead weight and obsolete paths first; build on the simpler remaining system.72- `principle-minimize-reader-load`: Reduce indirection, mutable scope, and one-caller abstractions until the causal path is easy to hold in one mind.73- `principle-outcome-oriented-execution`: Converge on the target architecture rather than preserving temporary compatibility states as permanent complexity.74- `principle-experience-first`: Optimize for the end-user experience unless the cost violates an explicit constraint.75- `principle-exhaust-the-design-space`: Build a few materially different cheap prototypes and compare evidence before committing to one design.76- `principle-build-the-lever`: Prefer a script, codemod, generator, benchmark, or verifier that performs or proves the work repeatably over hand edits.77- `principle-model-the-domain`: Encode the domain in the right structure: state machine, typed model, table, registry, reducer, boundary, or collection instead of scattered conditionals.78- `principle-boundary-discipline`: Validate and normalize at boundaries, trust internal invariants, and keep business logic free of adapter noise.79- `principle-type-system-discipline`: Make invalid states hard or impossible to represent and parse external primitives into meaningful internal types at the edge.80- `principle-make-operations-idempotent`: Design repeated execution to converge on the same correct end state rather than multiplying side effects.81- `principle-migrate-callers-then-delete-legacy-apis`: Move callers to the new shape and delete the old path in the same migration wave instead of carrying a compatibility layer.82- `principle-separate-before-serializing-shared-state`: Eliminate unnecessary sharing or partition ownership before adding locks, queues, or coordination.83- `principle-prove-it-works`: Verify the requested behavior against the real artifact or surface whenever possible; a proxy check only proves the proxy.84- `principle-fix-root-causes`: Reproduce the symptom, trace causality until one mechanism explains it, and fix that mechanism rather than compensating for downstream effects.85- `principle-sequence-verifiable-units`: Break work into small units that each end with a proof and order delivery so every next unit builds on verified state.86- `principle-test-behavior-not-implementation`: Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls.87- `principle-guard-the-context-window`: Route bulk exploration to isolated workers or files and bring back compact evidence summaries, not raw floods.88- `principle-never-block-on-the-human`: Run the experiment or make the reversible best-effort change, then show the result. Ask only for genuine preference, authority, or irreversible decisions.89- `principle-encode-lessons-in-structure`: Turn recurring guidance into a type, lint, test, metadata flag, generator, runtime check, or skill so the system carries the lesson.9091## Autonomy9293Prefer action over clarification for reversible work whose correct answer can be observed. Ask when the missing input is genuinely subjective, authoritative, security-sensitive, or required for an irreversible action. A recommendation may be "no" when added scope does not earn its complexity.