diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 6441573..28fa485 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,28 +1,28 @@ { "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", - "name": "smartgift", - "description": "Smartgift internal Claude Code skills. Pick per role: smartgift-dev for the dev team, smartgift-common for all staff, or install both.", + "name": "sg", + "description": "Smartgift internal Claude Code skills. Pick per role: sg-dev for the dev team, sg-common for all staff, or install both.", "owner": { "name": "Smartgift", "email": "vinnt@smartgift.vn" }, "plugins": [ { - "name": "smartgift-all", + "name": "sg-all", "source": "./plugins/all", - "description": "Toàn bộ — cả md-writing lẫn prompt-sharpening. Cài cái này nếu muốn tất cả.", + "description": "Toàn bộ — cả sg-md-writing lẫn sg-prompt-sharpening. Cài cái này nếu muốn tất cả.", "category": "workflow" }, { - "name": "smartgift-dev", + "name": "sg-dev", "source": "./plugins/dev", - "description": "Dev team — md-writing skill for authoring and maintaining CLAUDE.md / AGENTS.md rule files.", + "description": "Dev team — sg-md-writing skill for authoring and maintaining CLAUDE.md / AGENTS.md rule files.", "category": "workflow" }, { - "name": "smartgift-common", + "name": "sg-common", "source": "./plugins/common", - "description": "All staff — prompt-sharpening skill for disambiguating requests before acting.", + "description": "All staff — sg-prompt-sharpening skill for disambiguating requests before acting.", "category": "productivity" } ] diff --git a/README.md b/README.md index 09c89aa..82d00b9 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ Marketplace nội bộ chứa các skill Claude Code của Smartgift. Đăng ký | Plugin | Dành cho | Skill | Nội dung | |---|---|---|---| -| `smartgift-all` | **Mặc định — ai muốn tất cả** | `md-writing` + `prompt-sharpening` | Gói cả hai skill. Cài một cái là có tất cả. | -| `smartgift-dev` | Chỉ team dev | `md-writing` | Soạn & bảo trì file `CLAUDE.md` / `AGENTS.md` ràng buộc hành vi AI: routing map, reuse inventory, an toàn với model yếu, tự đề xuất cập nhật khi code đổi (hỏi confirm trước khi ghi). | -| `smartgift-common` | Chỉ prompt-sharpening | `prompt-sharpening` | Trước khi hành động với yêu cầu ngắn/mơ hồ, mở rộng thành các cách hiểu rõ ràng, nêu giả định, định nghĩa tiêu chí "xong". | +| `sg-all` | **Mặc định — ai muốn tất cả** | `sg-md-writing` + `sg-prompt-sharpening` | Gói cả hai skill. Cài một cái là có tất cả. | +| `sg-dev` | Chỉ team dev | `sg-md-writing` | Soạn & bảo trì file `CLAUDE.md` / `AGENTS.md` ràng buộc hành vi AI: routing map, reuse inventory, an toàn với model yếu, tự đề xuất cập nhật khi code đổi (hỏi confirm trước khi ghi). | +| `sg-common` | Chỉ sg-prompt-sharpening | `sg-prompt-sharpening` | Trước khi hành động với yêu cầu ngắn/mơ hồ, mở rộng thành các cách hiểu rõ ràng, nêu giả định, định nghĩa tiêu chí "xong". | -Chỉ cài **một** trong ba (cài `smartgift-all` cùng plugin lẻ sẽ nạp trùng skill). +Chỉ cài **một** trong ba (cài `sg-all` cùng plugin lẻ sẽ nạp trùng skill). ## Cài đặt @@ -19,9 +19,9 @@ Chỉ cài **một** trong ba (cài `smartgift-all` cùng plugin lẻ sẽ nạp claude plugin marketplace add https://git.smartgift.io.vn/Smartgift-AI/smartgift-claude-skills.git # 2. Chọn MỘT plugin -claude plugin install smartgift-all@smartgift # toàn bộ (khuyến nghị) -claude plugin install smartgift-dev@smartgift # chỉ md-writing -claude plugin install smartgift-common@smartgift # chỉ prompt-sharpening +claude plugin install sg-all@sg # toàn bộ (khuyến nghị) +claude plugin install sg-dev@sg # chỉ sg-md-writing +claude plugin install sg-common@sg # chỉ sg-prompt-sharpening ``` -Xem/gỡ: `claude plugin list`, `claude plugin uninstall @smartgift`. +Xem/gỡ: `claude plugin list`, `claude plugin uninstall @sg`. diff --git a/plugins/all/.claude-plugin/plugin.json b/plugins/all/.claude-plugin/plugin.json index 8b7b6ab..051c534 100644 --- a/plugins/all/.claude-plugin/plugin.json +++ b/plugins/all/.claude-plugin/plugin.json @@ -1,8 +1,8 @@ { "$schema": "https://anthropic.com/claude-code/plugin.schema.json", - "name": "smartgift-all", + "name": "sg-all", "version": "0.1.0", - "description": "Smartgift — toàn bộ skill: md-writing (dev) + prompt-sharpening (dùng chung). Cài một cái là có tất cả.", + "description": "Smartgift — toàn bộ skill: sg-md-writing (dev) + sg-prompt-sharpening (dùng chung). Cài một cái là có tất cả.", "author": { "name": "Smartgift", "email": "vinnt@smartgift.vn" diff --git a/plugins/all/skills/md-writing b/plugins/all/skills/md-writing deleted file mode 120000 index f3b7612..0000000 --- a/plugins/all/skills/md-writing +++ /dev/null @@ -1 +0,0 @@ -../../dev/skills/md-writing \ No newline at end of file diff --git a/plugins/all/skills/prompt-sharpening b/plugins/all/skills/prompt-sharpening deleted file mode 120000 index fd8ed1e..0000000 --- a/plugins/all/skills/prompt-sharpening +++ /dev/null @@ -1 +0,0 @@ -../../common/skills/prompt-sharpening \ No newline at end of file diff --git a/plugins/all/skills/sg-md-writing b/plugins/all/skills/sg-md-writing new file mode 120000 index 0000000..561f878 --- /dev/null +++ b/plugins/all/skills/sg-md-writing @@ -0,0 +1 @@ +../../dev/skills/sg-md-writing \ No newline at end of file diff --git a/plugins/all/skills/sg-prompt-sharpening b/plugins/all/skills/sg-prompt-sharpening new file mode 120000 index 0000000..dcb3a22 --- /dev/null +++ b/plugins/all/skills/sg-prompt-sharpening @@ -0,0 +1 @@ +../../common/skills/sg-prompt-sharpening \ No newline at end of file diff --git a/plugins/common/.claude-plugin/plugin.json b/plugins/common/.claude-plugin/plugin.json index c82d605..80d4935 100644 --- a/plugins/common/.claude-plugin/plugin.json +++ b/plugins/common/.claude-plugin/plugin.json @@ -1,8 +1,8 @@ { "$schema": "https://anthropic.com/claude-code/plugin.schema.json", - "name": "smartgift-common", + "name": "sg-common", "version": "0.1.0", - "description": "Smartgift shared skill for all staff. prompt-sharpening: before acting on a short or ambiguous request, expand it into explicit interpretations, surface assumptions, and define success criteria so the first attempt matches intent.", + "description": "Smartgift shared skill for all staff. sg-prompt-sharpening: before acting on a short or ambiguous request, expand it into explicit interpretations, surface assumptions, and define success criteria so the first attempt matches intent.", "author": { "name": "Smartgift", "email": "vinnt@smartgift.vn" diff --git a/plugins/common/skills/prompt-sharpening/SKILL.md b/plugins/common/skills/sg-prompt-sharpening/SKILL.md similarity index 99% rename from plugins/common/skills/prompt-sharpening/SKILL.md rename to plugins/common/skills/sg-prompt-sharpening/SKILL.md index 6905b7d..5ab91a7 100644 --- a/plugins/common/skills/prompt-sharpening/SKILL.md +++ b/plugins/common/skills/sg-prompt-sharpening/SKILL.md @@ -1,5 +1,5 @@ --- -name: prompt-sharpening +name: sg-prompt-sharpening description: Use when a user's request is short, vague, terse, or could reasonably be interpreted more than one way, before investigating or writing any code — expands the raw ask into an explicit interpretation set, surfaces assumptions, and defines success criteria so execution matches intent on the first try. --- diff --git a/plugins/dev/.claude-plugin/plugin.json b/plugins/dev/.claude-plugin/plugin.json index f9a95d1..d352f14 100644 --- a/plugins/dev/.claude-plugin/plugin.json +++ b/plugins/dev/.claude-plugin/plugin.json @@ -1,8 +1,8 @@ { "$schema": "https://anthropic.com/claude-code/plugin.schema.json", - "name": "smartgift-dev", + "name": "sg-dev", "version": "0.1.0", - "description": "Smartgift dev-team skills. md-writing: author and maintain CLAUDE.md / AGENTS.md rule files that constrain AI edits (routing map, reuse inventory, weak-model-safe, update-on-code-change with confirm).", + "description": "Smartgift dev-team skills. sg-md-writing: author and maintain CLAUDE.md / AGENTS.md rule files that constrain AI edits (routing map, reuse inventory, weak-model-safe, update-on-code-change with confirm).", "author": { "name": "Smartgift", "email": "vinnt@smartgift.vn" diff --git a/plugins/dev/skills/md-writing/SKILL.md b/plugins/dev/skills/sg-md-writing/SKILL.md similarity index 99% rename from plugins/dev/skills/md-writing/SKILL.md rename to plugins/dev/skills/sg-md-writing/SKILL.md index e88b6b4..57ab3d7 100644 --- a/plugins/dev/skills/md-writing/SKILL.md +++ b/plugins/dev/skills/sg-md-writing/SKILL.md @@ -1,5 +1,5 @@ --- -name: md-writing +name: sg-md-writing description: Use when creating, overhauling, or cleaning up CLAUDE.md / AGENTS.md files for a codebase or module — including tidying /init output or auto-generated drafts that describe the code instead of constraining behavior, when a rules file made a weak model refactor/edit things it should not have, or right after code changes that invalidate statements in an existing CLAUDE.md set (moved paths, new/changed extension points, retired rules) — run its update mode to re-sync. ---