Skip to content

refactor: apply skills best practices#8

Merged
linyiru merged 1 commit intomainfrom
improve/skills-best-practices
Jan 22, 2026
Merged

refactor: apply skills best practices#8
linyiru merged 1 commit intomainfrom
improve/skills-best-practices

Conversation

@linyiru
Copy link
Contributor

@linyiru linyiru commented Jan 22, 2026

Summary

根據官方 Skills Best Practices 文件進行改善:

  • 移除 5 個重複的 reference 檔案(newebpay/ 與 newebpay-checkout/ 重複)
  • 簡化 newebpay/SKILL.md(移除冗餘的加密程式碼)
  • 為所有長 reference 檔案(>100 行)加入 TOC 導覽
  • 在 newebpay-checkout/SKILL.md 加入 workflow checklist

Changes

類型 說明
移除 ~1900 行重複內容
新增 ~100 行 TOC 與 checklist

Test plan

  • 執行 claude plugin validate . 確認結構正確
  • 確認所有 TOC 連結可正常跳轉
  • 確認 newebpay skill 仍可正常使用

- Remove 5 duplicate reference files from newebpay/references/ (already exist in newebpay-checkout)
- Simplify newebpay/SKILL.md by removing redundant encryption code
- Add TOC to all long reference files (>100 lines) for easier navigation
- Add workflow checklist to newebpay-checkout/SKILL.md

Removes ~1900 lines of duplicate content while maintaining all functionality.
@linyiru linyiru merged commit 24d5b0f into main Jan 22, 2026
3 checks passed
@linyiru linyiru deleted the improve/skills-best-practices branch January 22, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant