Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Export as skill, and `prompuff export --format`

Đang mở
#39 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cli, csharp, markdown, yaml

Hướng nghiên cứu

Read MarkdownTransferService.cs and IPromptTransferService for existing export behavior, then PromptTemplateService.ExtractVariables and CliApp.cs for variable handling and command registration. Check each target tool’s current format documentation before implementing the four exports. Done means each format works with no, one, and several variables, the listed tool checks pass, and the user guide and CLI help describe the feature.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Prompts are turning into skills. Codex deprecated custom prompts for skills, Claude Code merged commands into skills, and Cursor, VS Code and Devin each ship a way to move over (market research, 2026-10-10). Export as skill gives a prompt to those tools in the form they read now.

What to do

  • Export as skill for a prompt or a selection, with a choice of format:
    • an Agent Skills folder, <name>/SKILL.md, which Codex, Cursor and Copilot CLI read from ~/.agents/skills
    • a Claude Code skill
    • a Copilot .prompt.md
    • a Gemini CLI .toml command
  • {{variables}} become each tool's own arguments where it has them: $name in Claude Code, ${input:name} in Copilot and {{args}} in Gemini. Where a format has none, the skill gets a short list of its inputs.
  • prompuff export --format <format> <prompt>… does the same from the command line.
  • Check each format against its tool's current docs before building it, and link the docs in the pull request. These formats change quickly.
  • Remembered values stay out of exports.

Where to look

  • src/Prompuff.Infrastructure/ImportExport/MarkdownTransferService.cs and IPromptTransferService
  • src/Prompuff.Application/Services/PromptTemplateService.cs: ExtractVariables
  • src/Prompuff.Cli/CliApp.cs: adding a command (Usage, the command list, the switch, a handler)

Done when

  • A favorite exported each way runs in its tool: as a skill in Claude Code and Codex, a prompt file in Copilot and a command in Gemini CLI, each checked by hand once.
  • Tests cover each format with no variables, with one, and with several.
  • docs/user-guide.md and the CLI's help describe it.
Ngôn ngữ chính
C#
Star
0
Fork
1
Merge trung bình
1 giờ 21 phút
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hazeliscoding/prompuff

Tất cả issue của hazeliscoding/prompuff

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.