potetos-for-everyone 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/.agents/plugins/marketplace.json +21 -0
  2. package/.claude-plugin/marketplace.json +32 -0
  3. package/.claude-plugin/plugin.json +36 -0
  4. package/.codex-plugin/plugin.json +13 -0
  5. package/.codex-plugin/prompts/architect.md +6 -0
  6. package/.codex-plugin/prompts/arena.md +6 -0
  7. package/.codex-plugin/prompts/automate-me.md +6 -0
  8. package/.codex-plugin/prompts/blast-radius.md +6 -0
  9. package/.codex-plugin/prompts/bro.md +6 -0
  10. package/.codex-plugin/prompts/create-verification-skill.md +6 -0
  11. package/.codex-plugin/prompts/figure-it-out.md +6 -0
  12. package/.codex-plugin/prompts/how.md +6 -0
  13. package/.codex-plugin/prompts/interrogate.md +6 -0
  14. package/.codex-plugin/prompts/maintain-verification-skill.md +6 -0
  15. package/.codex-plugin/prompts/make-bot-ui.md +6 -0
  16. package/.codex-plugin/prompts/no-comments.md +6 -0
  17. package/.codex-plugin/prompts/poteto-mode.md +6 -0
  18. package/.codex-plugin/prompts/recall.md +6 -0
  19. package/.codex-plugin/prompts/reflect.md +6 -0
  20. package/.codex-plugin/prompts/setup-pstack.md +6 -0
  21. package/.codex-plugin/prompts/show-me-your-work.md +6 -0
  22. package/.codex-plugin/prompts/swarm.md +6 -0
  23. package/.codex-plugin/prompts/tdd.md +6 -0
  24. package/.codex-plugin/prompts/teach.md +6 -0
  25. package/.codex-plugin/prompts/technical-writing.md +6 -0
  26. package/.codex-plugin/prompts/typescript-best-practices.md +6 -0
  27. package/.codex-plugin/prompts/unslop.md +6 -0
  28. package/.codex-plugin/prompts/why.md +6 -0
  29. package/AGENTS.md +11 -0
  30. package/LICENSE +22 -0
  31. package/NOTICE.md +17 -0
  32. package/PORTABILITY.md +29 -0
  33. package/README.md +483 -0
  34. package/UPSTREAM.json +9 -0
  35. package/UPSTREAM_INVENTORY.json +13 -0
  36. package/VERSION +1 -0
  37. package/adapters/README.md +9 -0
  38. package/adapters/registry.json +46 -0
  39. package/agents/comment-reviewer.md +3 -0
  40. package/agents/comment-sicko.md +31 -0
  41. package/agents/poteto-agent.md +14 -0
  42. package/assets/logo.png +0 -0
  43. package/automations/benny/FOR_AGENTS.md +5 -0
  44. package/automations/benny/README.md +10 -0
  45. package/automations/benny/skills/reproduce-and-fix-issues/SKILL.md +12 -0
  46. package/automations/benny/skills/triage-issue-reports/SKILL.md +11 -0
  47. package/automations/benny/templates/configuration.example.yaml +11 -0
  48. package/automations/benny/templates/reproduce-automation-prompt.md +1 -0
  49. package/automations/benny/templates/triage-automation-prompt.md +1 -0
  50. package/bin/potetos +547 -0
  51. package/docs/.nojekyll +0 -0
  52. package/docs/guide/01-setup.md +25 -0
  53. package/docs/guide/02-poteto-mode.md +11 -0
  54. package/docs/guide/03-understand.md +5 -0
  55. package/docs/guide/04-design.md +5 -0
  56. package/docs/guide/05-build-and-clean.md +5 -0
  57. package/docs/guide/06-verify-and-ship.md +5 -0
  58. package/docs/guide/07-overnight.md +5 -0
  59. package/docs/guide/08-principles.md +5 -0
  60. package/docs/guide/09-make-it-yours.md +5 -0
  61. package/docs/guide/10-recipes-and-pitfalls.md +8 -0
  62. package/docs/guide/README.md +16 -0
  63. package/docs/index.html +422 -0
  64. package/hooks/hooks.json +17 -0
  65. package/hooks/session-start-context.md +11 -0
  66. package/npm/core.mjs +318 -0
  67. package/npm/postinstall.mjs +22 -0
  68. package/npm/potetos.mjs +145 -0
  69. package/package.json +98 -0
  70. package/runtime/README.md +21 -0
  71. package/runtime/__init__.py +1 -0
  72. package/runtime/capabilities.json +36 -0
  73. package/runtime/config.example.json +17 -0
  74. package/runtime/runner.py +240 -0
  75. package/skills/architect/SKILL.md +14 -0
  76. package/skills/arena/SKILL.md +14 -0
  77. package/skills/automate-me/SKILL.md +11 -0
  78. package/skills/blast-radius/SKILL.md +11 -0
  79. package/skills/bro/SKILL.md +7 -0
  80. package/skills/create-verification-skill/SKILL.md +11 -0
  81. package/skills/figure-it-out/SKILL.md +13 -0
  82. package/skills/how/SKILL.md +14 -0
  83. package/skills/interrogate/SKILL.md +14 -0
  84. package/skills/maintain-verification-skill/SKILL.md +11 -0
  85. package/skills/make-bot-ui/SKILL.md +11 -0
  86. package/skills/no-comments/SKILL.md +11 -0
  87. package/skills/poteto-mode/SKILL.md +93 -0
  88. package/skills/poteto-mode/playbooks/authoring-a-skill.md +7 -0
  89. package/skills/poteto-mode/playbooks/autonomous-run.md +7 -0
  90. package/skills/poteto-mode/playbooks/autopilot-full.md +7 -0
  91. package/skills/poteto-mode/playbooks/autopilot-stack.md +7 -0
  92. package/skills/poteto-mode/playbooks/babysit.md +7 -0
  93. package/skills/poteto-mode/playbooks/bug-fix.md +8 -0
  94. package/skills/poteto-mode/playbooks/eval.md +7 -0
  95. package/skills/poteto-mode/playbooks/feature.md +8 -0
  96. package/skills/poteto-mode/playbooks/hillclimb.md +8 -0
  97. package/skills/poteto-mode/playbooks/investigation.md +7 -0
  98. package/skills/poteto-mode/playbooks/multi-phase-plan.md +7 -0
  99. package/skills/poteto-mode/playbooks/opening-a-pr.md +7 -0
  100. package/skills/poteto-mode/playbooks/orchestrate.md +8 -0
  101. package/skills/poteto-mode/playbooks/pause-safely.md +7 -0
  102. package/skills/poteto-mode/playbooks/perf-issue.md +8 -0
  103. package/skills/poteto-mode/playbooks/prototype.md +7 -0
  104. package/skills/poteto-mode/playbooks/refactoring.md +7 -0
  105. package/skills/poteto-mode/playbooks/runtime-forensics.md +7 -0
  106. package/skills/poteto-mode/playbooks/session-pickup.md +7 -0
  107. package/skills/poteto-mode/playbooks/shipping.md +7 -0
  108. package/skills/poteto-mode/playbooks/trace-forensics.md +7 -0
  109. package/skills/poteto-mode/playbooks/visual-parity.md +7 -0
  110. package/skills/poteto-mode/playbooks/worktree-cleanup.md +7 -0
  111. package/skills/principle-attack-the-premise/SKILL.md +20 -0
  112. package/skills/principle-boundary-discipline/SKILL.md +20 -0
  113. package/skills/principle-build-the-lever/SKILL.md +20 -0
  114. package/skills/principle-encode-lessons-in-structure/SKILL.md +20 -0
  115. package/skills/principle-exhaust-the-design-space/SKILL.md +20 -0
  116. package/skills/principle-experience-first/SKILL.md +20 -0
  117. package/skills/principle-fix-root-causes/SKILL.md +20 -0
  118. package/skills/principle-foundational-thinking/SKILL.md +20 -0
  119. package/skills/principle-guard-the-context-window/SKILL.md +20 -0
  120. package/skills/principle-laziness-protocol/SKILL.md +20 -0
  121. package/skills/principle-make-operations-idempotent/SKILL.md +20 -0
  122. package/skills/principle-migrate-callers-then-delete-legacy-apis/SKILL.md +20 -0
  123. package/skills/principle-minimize-reader-load/SKILL.md +20 -0
  124. package/skills/principle-model-the-domain/SKILL.md +20 -0
  125. package/skills/principle-never-block-on-the-human/SKILL.md +20 -0
  126. package/skills/principle-outcome-oriented-execution/SKILL.md +20 -0
  127. package/skills/principle-prove-it-works/SKILL.md +20 -0
  128. package/skills/principle-redesign-from-first-principles/SKILL.md +20 -0
  129. package/skills/principle-separate-before-serializing-shared-state/SKILL.md +20 -0
  130. package/skills/principle-sequence-verifiable-units/SKILL.md +20 -0
  131. package/skills/principle-subtract-before-you-add/SKILL.md +20 -0
  132. package/skills/principle-test-behavior-not-implementation/SKILL.md +20 -0
  133. package/skills/principle-type-system-discipline/SKILL.md +20 -0
  134. package/skills/recall/SKILL.md +13 -0
  135. package/skills/reflect/SKILL.md +11 -0
  136. package/skills/setup-pstack/SKILL.md +12 -0
  137. package/skills/show-me-your-work/SKILL.md +17 -0
  138. package/skills/swarm/SKILL.md +12 -0
  139. package/skills/tdd/SKILL.md +12 -0
  140. package/skills/teach/SKILL.md +11 -0
  141. package/skills/technical-writing/SKILL.md +12 -0
  142. package/skills/typescript-best-practices/SKILL.md +14 -0
  143. package/skills/unslop/SKILL.md +11 -0
  144. package/skills/why/SKILL.md +14 -0
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "potetos-for-everyone",
3
+ "interface": {
4
+ "displayName": "potetos-for-everyone (pstack universal)"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "pstack",
9
+ "source": {
10
+ "source": "local",
11
+ "path": "./"
12
+ },
13
+ "policy": {
14
+ "installation": "AVAILABLE",
15
+ "authentication": "ON_INSTALL",
16
+ "products": ["CODEX"]
17
+ },
18
+ "category": "Developer Tools"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-marketplace.json",
3
+ "name": "potetos-for-everyone",
4
+ "owner": {
5
+ "name": "TheOnlyFusionCube",
6
+ "url": "https://github.com/TheOnlyFusionCube"
7
+ },
8
+ "description": "Universal distribution of Lauren Tan's pstack & Poteto Mode for Claude Code, Cursor, Codex, Gemini CLI, Prime Agent, and all AI agents. (pstack-claude alternative & superset).",
9
+ "plugins": [
10
+ {
11
+ "name": "pstack",
12
+ "description": "Lauren Tan's pstack & Poteto Mode engineering workflow for Claude Code: evidence-first, minimal blast radius, TDD, and rigorous verification. Full v0.15.0+ upstream sync.",
13
+ "source": "./",
14
+ "category": "developer-tools",
15
+ "version": "0.15.0"
16
+ },
17
+ {
18
+ "name": "poteto-mode",
19
+ "description": "Poteto Mode workflow for Claude Code: disciplined engineering, systematic decomposition, and rigorous verification.",
20
+ "source": "./",
21
+ "category": "developer-tools",
22
+ "version": "0.15.0"
23
+ },
24
+ {
25
+ "name": "pstack-claude",
26
+ "description": "Drop-in replacement and superset for pstack-claude with complete upstream v0.15.0+ parity, SessionStart hooks, and multi-agent support.",
27
+ "source": "./",
28
+ "category": "developer-tools",
29
+ "version": "0.15.0"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "pstack",
3
+ "displayName": "pstack / poteto-mode (Universal Claude Code & Multi-Agent Edition)",
4
+ "version": "0.15.0",
5
+ "description": "If you want to go fast, go deep first. Lauren Tan's pstack and Poteto Mode engineering workflow: evidence-first, minimal blast radius, TDD, behavioral verification, and parallel execution. Upstream v0.15.0+.",
6
+ "author": {
7
+ "name": "TheOnlyFusionCube",
8
+ "url": "https://github.com/TheOnlyFusionCube"
9
+ },
10
+ "homepage": "https://github.com/TheOnlyFusionCube/potetos-for-everyone",
11
+ "repository": "https://github.com/TheOnlyFusionCube/potetos-for-everyone",
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "pstack",
15
+ "pstack-claude",
16
+ "poteto-mode",
17
+ "claude-code",
18
+ "claude-code-plugin",
19
+ "claude-plugin",
20
+ "claude-skills",
21
+ "codex",
22
+ "codex-plugin",
23
+ "cursor",
24
+ "agent-skills",
25
+ "coding-agents",
26
+ "subagents",
27
+ "tdd",
28
+ "unslop",
29
+ "code-review",
30
+ "gemini-cli",
31
+ "prime-agent",
32
+ "opencode",
33
+ "windsurf",
34
+ "copilot"
35
+ ]
36
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "pstack",
3
+ "displayName": "pstack / poteto-mode (Universal Multi-Agent Edition)",
4
+ "version": "0.15.0",
5
+ "description": "Lauren Tan's pstack and Poteto Mode engineering workflow for Codex, Claude Code, and any AI coding agent.",
6
+ "author": {
7
+ "name": "TheOnlyFusionCube",
8
+ "url": "https://github.com/TheOnlyFusionCube"
9
+ },
10
+ "homepage": "https://github.com/TheOnlyFusionCube/potetos-for-everyone",
11
+ "repository": "https://github.com/TheOnlyFusionCube/potetos-for-everyone",
12
+ "license": "MIT"
13
+ }
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: architect
3
+ description: Settle data shapes, ownership, boundaries, and interfaces before code crosses a function/module boundary. Use for non-trivial design work.
4
+ ---
5
+
6
+ Invoke the `architect` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: arena
3
+ description: Spawn parallel candidate implementations for the same task, cross-judge, and graft the best parts into the winning base. Use when exploring competing designs or critical artifacts.
4
+ ---
5
+
6
+ Invoke the `arena` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: automate-me
3
+ description: Create a personal mode skill from recurring workflow patterns in available history. Use when the user wants their own agent style encoded.
4
+ ---
5
+
6
+ Invoke the `automate-me` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: blast-radius
3
+ description: Prove what a small-looking change can affect before or after editing. Use for compatibility, caller, state, schema, or behavior impact analysis.
4
+ ---
5
+
6
+ Invoke the `blast-radius` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bro
3
+ description: Restate the last technical explanation in plain human language with minimal jargon. Use when the user asks for a simpler version.
4
+ ---
5
+
6
+ Invoke the `bro` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: create-verification-skill
3
+ description: Generate a project-local verification skill that drives the real app and captures evidence. Use when setting up automated verification for a repo.
4
+ ---
5
+
6
+ Invoke the `create-verification-skill` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: figure-it-out
3
+ description: Design a rigorous custom playbook when no bundled playbook safely fits a large or unusual task. Use for cross-cutting ambiguous execution.
4
+ ---
5
+
6
+ Invoke the `figure-it-out` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: how
3
+ description: Trace how a subsystem works using code and runtime evidence. Use for architecture walkthroughs, data flow, call paths, and are-we-sure investigations.
4
+ ---
5
+
6
+ Invoke the `how` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: interrogate
3
+ description: Adversarially review a diff or design with independent lenses and evidence. Use before shipping contested or high-impact changes.
4
+ ---
5
+
6
+ Invoke the `interrogate` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: maintain-verification-skill
3
+ description: Repair a project verification skill whose feature map or commands drifted. Use when app behavior and verification docs no longer agree.
4
+ ---
5
+
6
+ Invoke the `maintain-verification-skill` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: make-bot-ui
3
+ description: Build a small operator UI over an agent/webhook backend. Use when buttons or controls should trigger an agent workflow.
4
+ ---
5
+
6
+ Invoke the `make-bot-ui` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: no-comments
3
+ description: Remove redundant comments, dead workaround explanations, and AI tells from code while preserving necessary constraints. Use when cleaning up code or diffs.
4
+ ---
5
+
6
+ Invoke the `no-comments` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: poteto-mode
3
+ description: 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
+
6
+ Invoke the `poteto-mode` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: recall
3
+ description: Reconstruct current task context from available durable history and records. Use when resuming work or rebuilding context on a topic.
4
+ ---
5
+
6
+ Invoke the `recall` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: reflect
3
+ description: Convert lessons from a completed difficult task into structural improvements. Use after a long or unexpectedly painful workflow.
4
+ ---
5
+
6
+ Invoke the `reflect` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: setup-pstack
3
+ description: Configure potetos-for-everyone model roles and capability preferences for the current agent/runtime. Use during initial setup or routing changes.
4
+ ---
5
+
6
+ Invoke the `setup-pstack` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: show-me-your-work
3
+ description: Maintain a compact auditable decision trail during autonomous or high-stakes work. Use when the user will review decisions later.
4
+ ---
5
+
6
+ Invoke the `show-me-your-work` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: swarm
3
+ description: Fan out independent slices or coverage partitions and aggregate them with owner verification. Use for large audits, races, and parallel work.
4
+ ---
5
+
6
+ Invoke the `swarm` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: tdd
3
+ description: Write a minimal failing test before implementation, make it pass with the simplest code, and refactor cleanly. Use when implementing bug fixes or features with clear verification targets.
4
+ ---
5
+
6
+ Invoke the `tdd` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: teach
3
+ description: Teach a subsystem or change so the reader can reason about it, combining how and why evidence. Use for real understanding rather than summary.
4
+ ---
5
+
6
+ Invoke the `teach` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: technical-writing
3
+ description: Write maintainable technical docs, RFCs, READMEs, PR descriptions, and commit messages. Use for durable engineering prose.
4
+ ---
5
+
6
+ Invoke the `technical-writing` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: typescript-best-practices
3
+ description: Apply disciplined TypeScript modeling and boundary parsing. Use when reading or editing TypeScript.
4
+ ---
5
+
6
+ Invoke the `typescript-best-practices` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: unslop
3
+ description: Cut AI tells, filler prose, superficial -ing phrases, and bloated commentary from writing and code. Use for all written deliverables and code cleanup.
4
+ ---
5
+
6
+ Invoke the `unslop` skill and follow it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: why
3
+ description: Recover why a system or decision exists by triangulating source history and connected evidence. Use for rationale archaeology and historical questions.
4
+ ---
5
+
6
+ Invoke the `why` skill and follow it.
package/AGENTS.md ADDED
@@ -0,0 +1,11 @@
1
+ # potetos-for-everyone agent bootstrap
2
+
3
+ This repository contains a portable engineering skill stack adapted from Lauren Tan's pstack.
4
+
5
+ When working in this repository:
6
+
7
+ 1. Treat `skills/` as canonical. Never fork behavioral instructions into an adapter.
8
+ 2. For non-trivial work, read `skills/poteto-mode/SKILL.md`, select its matching playbook, and follow the referenced leaf skills only as needed.
9
+ 3. Interpret capability names via `PORTABILITY.md`. Feature-detect host tools instead of assuming a vendor API.
10
+ 4. Preserve the Lauren Tan attribution in `NOTICE.md` and `LICENSE`.
11
+ 5. Run `./scripts/verify` before declaring repository changes complete.
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lauren Tan (portions derived from pstack)
4
+ Copyright (c) 2026 potetos-for-everyone contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/NOTICE.md ADDED
@@ -0,0 +1,17 @@
1
+ # Attribution and provenance
2
+
3
+ `potetos-for-everyone` is an independent, portability-focused adaptation of **pstack**.
4
+
5
+ ## Original work
6
+
7
+ - **pstack / Poteto Mode:** Lauren Tan (GitHub: `@poteto`)
8
+ - Upstream: https://github.com/cursor/plugins/tree/main/pstack
9
+ - Upstream license: MIT
10
+ - Upstream copyright: **Copyright (c) 2026 Lauren Tan**
11
+ - Initial adaptation baseline: `d7cde2b84eadbcd6fd890302c876f4436ccb6d82`
12
+
13
+ Lauren Tan's original pstack introduced the core architecture this project adapts: Poteto Mode as a routing skill, task-specific engineering playbooks, small principle skills, deliberate multi-agent review/fan-out, and verification as a completion condition.
14
+
15
+ This repository rewrites those ideas around a vendor-neutral capability contract and the open Agent Skills format. It is not affiliated with or endorsed by Lauren Tan or Cursor unless they explicitly say otherwise.
16
+
17
+ The original MIT copyright and permission notice are preserved in `LICENSE` as required for copied or substantially adapted portions.
package/PORTABILITY.md ADDED
@@ -0,0 +1,29 @@
1
+ # Portability contract
2
+
3
+ The canonical `skills/` tree is runtime-neutral. A skill asks for a capability, not a product API.
4
+
5
+ ## Capabilities
6
+
7
+ | Capability | Meaning | Required fallback |
8
+ |---|---|---|
9
+ | `files.read` | Read repository/workspace content | Ask for supplied context only when nothing readable exists |
10
+ | `files.write` | Make workspace edits | Return an exact patch/draft when writes are unavailable |
11
+ | `run` | Execute commands, tests, profilers, or scripts | State that runtime proof is unavailable; do not claim success |
12
+ | `vcs` | Inspect diff/history/branches/PR state | Use available repository files; label missing history explicitly |
13
+ | `delegate` | Spawn isolated workers/subagents | Run sequential passes; label them non-independent |
14
+ | `search` | Query web, docs, issues, chat, observability, analytics | Use only available evidence and report the gap |
15
+ | `observe` | Drive/inspect the real UI, service, device, CLI, or artifact | Use the closest artifact only as a proxy and label it |
16
+ | `track` | Maintain todos/decision logs/checkpoints | Write a small repo-local Markdown/TSV log when writes exist |
17
+
18
+ ## Rules
19
+
20
+ 1. Do not name a vendor-specific tool in canonical workflow instructions unless the vendor itself is the subject of the task.
21
+ 2. Feature-detect. Never assume subagents, a browser, a PR API, MCP, memory, or a particular model exists.
22
+ 3. A fallback must preserve epistemic honesty. Sequential role-play is not independent review. A compile is not runtime proof. A screenshot description is not pixel comparison.
23
+ 4. Prefer the open Agent Skills package shape: `SKILL.md` plus optional `scripts/`, `references/`, and `assets/`.
24
+ 5. Keep model routing in `.potetos/config.json`, outside canonical skill logic.
25
+ 6. Irreversible or externally consequential actions remain safety-gated by the host agent's own policy and permissions.
26
+
27
+ ## Host adapters
28
+
29
+ Adapters do only two things: expose skill discovery and tell a host how to invoke the canonical files. They must not fork skill behavior. If an adapter needs different behavior, change the capability contract or the canonical skill instead.