MCP tools that save a prompt, behind Let AI tools add prompts
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Read src/Prompuff.Cli/McpServerHost.cs for tool registration, calls and authorization, then trace QuickSaveAsync in src/Prompuff.Cli/CliApp.cs and FirstVersion in src/Prompuff.Application/Services/VersionNotes.cs. Check the settings view and tests/Prompuff.Cli.Tests/McpContractTests.cs for existing patterns. Done means the opt-in tool saves validated prompts with client attribution, tests cover access, inputs and logging, and the README and user guide explain the setting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Let an AI tool save a prompt it helped write, but only once you allow it. Today MCP is read-only, and turning it on in Settings › Integrations only lets AI tools read.
What to do
- Add Let AI tools add prompts in Settings › Integrations. It's off by default, separate from "Let AI tools read my library (MCP)", and only works while that one is on.
- Add an MCP tool that saves a new prompt: a title and a body, plus an optional description, tags and collection. It only adds. It never edits, deletes or touches favorites, ratings or remembered values. While the setting is off, the tool isn't listed.
- Inputs come from another program, so check them as the app would: a title and body are required, tags go through
TagName, and lengths have limits. - Each saved prompt's first version names the tool that saved it, from the client's name in the MCP handshake, such as "Saved by Claude Code".
- Mark the tool with honest hints: not read-only, not destructive.
- Never log titles, bodies or notes. Log the new prompt's ID.
- The CLI's
quick-savealready adds a prompt, so share its path rather than writing a second one.
Where to look
src/Prompuff.Cli/McpServerHost.cs:Tools(),CallToolHandler,IsAllowed(),ServerInstructionssrc/Prompuff.Application/Settings/AppSettings.cs:AllowMcp;src/Prompuff.App/ViewModels/SettingsViewModel.cs: the Integrations sectionsrc/Prompuff.Cli/CliApp.cs:QuickSaveAsyncsrc/Prompuff.Application/Services/VersionNotes.cs:FirstVersiontests/Prompuff.Cli.Tests/McpContractTests.cs
Done when
- With the setting off, the tool isn't listed and a direct call is refused. With it on, Claude Code saves a prompt, and its first version names Claude Code.
- The 1.0 MCP contract tests pass unchanged.
- Tests cover the setting, bad inputs, and that nothing is logged beyond IDs.
-
docs/user-guide.mdand the README describe the setting.
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 1
- Merge trung bình
- 1 giờ 51 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hazeliscoding/prompuff
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hazeliscoding/prompuff#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hazeliscoding/prompuff#22 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
hazeliscoding/prompuff#14 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
hazeliscoding/prompuff#13 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hazeliscoding/prompuff#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hazeliscoding/prompuff
Issue tương tự
-
Bug Platform: Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-dotnet#5764 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/SimpleL7Proxy#287 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IridiumIO/CompactGUI#699 ·
Maintainer thường phản hồi trong vòng 3 ngày