pstack: support fx as a harness

未關閉
#1,013 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
22/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
markdown
領域
documentation

研究方向

This is a design question first: the maintainer has to pick between an fx adapter doc at pstack/docs/harness/fx.md, a generated harness/pstack/fx tree, or a harness-neutral adapter line. Start by reading the existing Claude Code adapter and harness/pstack/claude-code skills tree alongside the Codex findings in #734 and the generator proposal in #953 to see which shape already has groundwork. Do not start writing until a shape is chosen; done means one adapter path accepted and documented.

由索引模型根據 Issue 內容生成。

描述

I'd like to use pstack in fx (https://fx.sh), a terminal coding agent from Vercel. fx reads standard SKILL.md folders, so most of pstack loads already. A few gaps stop poteto-mode from working as written.

What I tested

pstack 0.15.34 (519d36a), fx 0.0.15, macOS. I ran fx ask from inside harness/pstack/claude-code, so fx found the tree's skills/ folder as workspace skills. Nothing was installed globally.

  • Works: all 58 skills show up in fx's skill catalog and load in full, including poteto-mode, how, and setup-pstack.
  • fx ignores disable-model-invocation. 57 of 58 skills set it, so fx can pick any of them on its own.
  • 23 skills start with "In Claude Code, read the Claude Code adapter". An fx agent can take that as not applying to it. fx's skill tool also refuses ../../docs/harness/claude-code.md as a skill resource (InvalidSkillResourcePath) because the path points outside the skill folder.
  • The Cursor names have no fx mapping: Task, subagent_type (poteto-agent, comment-sicko, generalPurpose), readonly, AskQuestion, todo lists, and pstack-models.mdc.

How the Cursor names map to fx

  • Task: fx's subagent tool, either a one-off run or a named persistent agent. It takes a model and effort per child. There is no subagent_type, and fx subagents cannot spawn their own subagents.
  • poteto-agent and comment-sicko: fx has no agent files. The equivalent is a subagent whose brief says to read the agent's markdown first.
  • readonly: true: fx has no documented read-only flag, so the brief says "do not edit files".
  • AskQuestion: ask_user_question.
  • Todo lists: fx has no todo tool, so the list lives in the reply.
  • Rules: AGENTS.md. Skills: ~/.fx/skills or .fx/skills.
  • Cursor-only features (Bugbot, Automations, cloud agents, /loop, custom modes): skip with a one-line note, as the Claude Code adapter does.

Question

Which shape would you accept?

  1. An fx adapter (pstack/docs/harness/fx.md) plus README steps that point fx at the existing claude-code tree, like the Codex findings in #734.
  2. A generated harness/pstack/fx tree, built on the multi-harness generator in #953.
  3. A harness-neutral adapter line in place of "In Claude Code, read...", so one tree can serve several harnesses.

I can open the PR for whichever you prefer.

Related: #601, #734, #953, #237

主要語言
TypeScript
星號
18.2k
分支
2k
平均合併
4 小時 20 分鐘
30 天內合併 PR
80

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

cursor/plugins 的其他 Issue

查看 cursor/plugins 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。