`prompuff://` links that open, copy or render a prompt
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- csharp, sqlite
- 领域
- backend-api-design, cli, desktop
调研方向
Read ROADMAP.md and settle the prompuff:// link shape and each action before implementation. Trace launch handling through src/Prompuff.App/Platform/SingleInstance.cs, then review the CLI command patterns in src/Prompuff.Cli/CliApp.cs and the MCP resource format in src/Prompuff.Cli/McpServerHost.cs. Add tests in the named CLI and single instance test files for each action, unknown IDs, and deleted prompts; done when links work on fresh launch and handoff, and the user guide and CLI help describe them.
由索引模型根据 Issue 内容生成。
描述
Put a prompt one click away: a prompuff:// link in a note, a wiki or a browser bookmark that opens, copies or renders that prompt.
Settle first, and record in ROADMAP.md
- The link's shape. MCP resources already use
prompuff://prompts/{id}, so an "open" link that reads the same would be natural. Copy and render need their own form, such as a path or a query. Once a shape ships it's part of the promise, so choose it before building. - What each action does. For example: open shows the prompt, copy copies its body, and render opens it on the Render tab, where its variables can be filled in.
What to do
- Copy link in a prompt's menu copies its
prompuff://link. prompuff link <prompt>prints it. Like the other commands, it takes an ID or a title, exits with code 2 when a title matches several prompts or none, and takes--json.- The app handles a link it's launched with, and hands it to the running copy over the single-instance pipe, as it does
--quick-save. - A link only opens, copies or renders. It never changes, deletes or exports anything, because any web page can open one. A link to a prompt that doesn't exist, or one in Recently deleted, shows a toast and does nothing else.
- Registering the scheme with the system is #31.
Where to look
src/Prompuff.App/Platform/SingleInstance.cs:LaunchArguments.Parse,LaunchRequest,SingleInstance.HandOffsrc/Prompuff.Cli/CliApp.cs:Usage, the command list, theswitchand a handler likeGetAsync;src/Prompuff.Cli/CliJson.csfor the--jsonoutputsrc/Prompuff.Cli/McpServerHost.cs: theprompuff://prompts/{id}resourcestests/Prompuff.Cli.Tests/CliTests.csandtests/Prompuff.App.Tests/SingleInstanceTests.cs
Done when
- Copy link and
prompuff linkproduce the same link, and launching the app with it opens, copies or renders the prompt, in a fresh start and in the running copy. - Tests cover each action, an unknown ID and a deleted prompt.
-
docs/user-guide.mdand the CLI's help describe links.
- 主要语言
- C#
- 星标
- 0
- 派生
- 1
- 平均合并
- 1 小时 21 分钟
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hazeliscoding/prompuff 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
hazeliscoding/prompuff#34 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
hazeliscoding/prompuff#22 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 90/100
hazeliscoding/prompuff#14 ·
维护者通常 1 天内回复
-
good first issue
难度 1/5 1-3 小时 新手友好度 92/100
hazeliscoding/prompuff#13 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
hazeliscoding/prompuff#12 ·
维护者通常 1 天内回复
查看 hazeliscoding/prompuff 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
unoplatform/uno.check#591 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
weaviate/csharp-client#378 ·
-
agentic-workflows automated testing
难度 2/5 1-3 小时 新手友好度 85/100
Azure-Samples/Legacy-Modernization-Agents#194 ·
维护者通常 1 天内回复
-
area-encryption area-security p1-recommended technical-debt
难度 2/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
bug flaky small
难度 2/5 1-3 小时 新手友好度 70/100
hexide-io/HexIDE#1906 · 1 条评论 ·
维护者通常 1 天内回复