Simplify the generate ai-briefing plugin code (1 of 3)

Đang mở
#14,387 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
48/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, shell
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start by reading the nine listed files under plugins/ai-briefing/skills/generate/ and review them against the four /simplify checks in the issue. Preserve their outputs, exit codes, written files, messages, flags, and exported names; run the relevant existing checks to compare behavior. Keep edits within the stated file and line limits, and add the required changelog fragment.

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

Mô tả

Agent Brief

Type: Task
Summary: Simplify these 9 files without changing their behavior (part of the /simplify epic).

Current behavior:
The files below work as they do on main. Their code changes; what they do does not.

Desired behavior:
Review the files through /simplify's four checks (reuse of existing helpers, simplification, efficiency, right level of abstraction), using subagents if useful, and apply the fixes. The files end up shorter and clearer, and whatever runs them gets the same results.

Files:

  • plugins/ai-briefing/skills/generate/lib/source-bookmarks.sh
  • plugins/ai-briefing/skills/generate/output/build/assemble-html.js
  • plugins/ai-briefing/skills/generate/output/build/brand.js
  • plugins/ai-briefing/skills/generate/output/build/build-client-js.js
  • plugins/ai-briefing/skills/generate/output/build/build-css.js
  • plugins/ai-briefing/skills/generate/output/build/build-html.js
  • plugins/ai-briefing/skills/generate/output/build/build-pdf.js
  • plugins/ai-briefing/skills/generate/output/build/build-pptx.js
  • plugins/ai-briefing/skills/generate/output/build/build-sections.js

Key interfaces:

  • Outputs, exit codes, written files and printed messages of these files: unchanged.
  • Command-line flags, exported names and anything another file calls: unchanged.

Acceptance criteria:

  • Behavior is unchanged: same outputs, exit codes, written files, printed text, command-line flags and exported names; no listed file renamed, moved or deleted.
  • The diff edits only the listed files, the lines of a test that assert on them when the change breaks that assertion, and changelog fragments.
  • The pull request stays within 400 changed lines and 15 hand-edited files (generated shared copies and changelog fragments not counted); anything beyond goes under ## Follow-ups in the pull request body.
  • ci-status is green.
  • Each touched plugin (ai-briefing) has a fragment from scripts/new-changelog-fragment.sh <plugin> patch whose body is ### Changed and the line "Internal simplification, no behavior change."

Out of scope:

  • Moving code between files or deduping across them: the sub-epic's restructuring pass does that after these chunks merge.
  • Tests beyond the asserted lines a change breaks, eval cases, fixtures, and skill and agent text.
  • Files listed in other chunks.
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
53 phút
Pull request đã merge (30 ngày)
961

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 melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.