rename: smartgift-* -> sg-* (plugins, skills, marketplace name)

This commit is contained in:
2026-07-20 15:58:16 +07:00
parent da9554c588
commit cfa8248635
11 changed files with 26 additions and 26 deletions
+8 -8
View File
@@ -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"
}
]
+8 -8
View File
@@ -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 <tên>@smartgift`.
Xem/gỡ: `claude plugin list`, `claude plugin uninstall <tên>@sg`.
+2 -2
View File
@@ -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"
-1
View File
@@ -1 +0,0 @@
../../dev/skills/md-writing
-1
View File
@@ -1 +0,0 @@
../../common/skills/prompt-sharpening
+1
View File
@@ -0,0 +1 @@
../../dev/skills/sg-md-writing
+1
View File
@@ -0,0 +1 @@
../../common/skills/sg-prompt-sharpening
+2 -2
View File
@@ -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"
@@ -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.
---
+2 -2
View File
@@ -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"
@@ -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.
---