8 Commits

Author SHA1 Message Date
nntrivi2001 add66c25bd feat: sg-md-writing và sg-prompt-sharpening v0.2.0 — gọn hơn, có eval
sg-md-writing thành skill bảo trì tri thức dự án cho AI:
- Gộp hướng dẫn viết skill/subagent/hook (từ writing-agent-context) vào.
- Bảng "đặt dòng ở đâu" theo chi phí nạp: root nạp mọi phiên; rule có `paths:`,
  CLAUDE.md của module, skill, docs chỉ nạp khi cần.
- Chế độ sync: tự sửa đúng dòng .md bị sai trong cùng thay đổi, bump Last synced,
  chỉ hỏi ý định code không trả lời được (bỏ cổng xác nhận từng file, phỏng vấn
  từng câu, kiểm tra model yếu mỗi lần).
- Bỏ khẳng định sai "subagent không tự nạp CLAUDE.md" và lối viết in hoa.
  21,6 KB → 9,1 KB.

sg-prompt-sharpening: tự lấp chỗ thiếu từ dự án, hiện bản prompt đã làm rõ
(mục tiêu, ở đâu, xong khi, giả định) rồi làm; chỉ hỏi một câu (có đề xuất)
khi các cách hiểu dẫn tới việc khác nhau; không kích hoạt với yêu cầu đã đủ rõ.

Eval (claude plugin eval, 2 lượt/case, có skill vs không):
- sharpening 3/3 (trước 2/3), Δ +0.67
- md-writing 5/5 (trước 1/5), Δ +0.40
2026-10-08 11:45:44 +07:00
nntrivi2001 b1217e1846 fix: AgentHub không còn ship MCP server nữa
Commit c7dbaf2 của AgentHub ('finish the AgentHub rename and drop the MCP
server') đã gỡ nó; bảng plugin và description ở đây vẫn hứa 'nối MCP tools'.
2026-09-11 15:39:10 +07:00
nntrivi2001 8336289d34 feat(agenthub): bring the dashboard back into sg as agenthub
Reverses the ccam removal in ee8748c: the team wants one marketplace to install from, so the dashboard belongs here.

Two things are fixed while restoring it. The entry is named `agenthub`, matching the `name` in the AgentHub repo's own .claude-plugin/plugin.json (the old entry called itself `ccam`, which matched nothing). And its url points at Smartgift-AI/AgentHub.git directly rather than the retired Claude-Code-Monitor.git — that old URL still works, but only through a Gitea rename redirect that stops the day someone turns it off.

README documents the one real hazard: the AgentHub repo also publishes its own marketplace, and installing the dashboard from both runs two hook-ingestion sets in parallel, double-counting every event's tokens and cost. It also states plainly that the 10 focused sub-plugins are not here — only in AgentHub's own marketplace — and gives the ccam@sg -> agenthub@sg migration commands.
2026-09-10 14:08:38 +07:00
nntrivi2001 ee8748c126 chore: drop the ccam entry — AgentHub ships its own marketplace
The entry pointed at Smartgift-AI/Claude-Code-Monitor, a repo name that has since been renamed to AgentHub, and it duplicated an install path AgentHub already publishes from its own marketplace. Two routes to the same plugin means a double install runs two hook-ingestion sets in parallel.

README now points at the AgentHub marketplace instead, and documents the migration: after the next 'marketplace update sg' an existing ccam@sg shows '✘ failed to load' and the dashboard stops receiving events until the user switches over.
2026-09-10 14:01:07 +07:00
nntrivi2001 2b3f79ea57 feat(ccam): add ccam as a standalone plugin entry
Sources from the Claude-Code-Monitor repo (ref: main) via a url plugin
source — the dashboard's hooks/server/CLI/MCP, installable independently
of sg-all/sg-dev/sg-common.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-10 16:13:54 +07:00
nntrivi2001 cfa8248635 rename: smartgift-* -> sg-* (plugins, skills, marketplace name) 2026-07-20 15:58:16 +07:00
nntrivi2001 0f05cf3d15 Add smartgift-all bundle plugin (both skills via symlink, zero drift) 2026-07-20 14:53:40 +07:00
nntrivi2001 b5cdb9f489 Initial Smartgift skills marketplace: smartgift-dev (md-writing), smartgift-common (prompt-sharpening) 2026-07-20 14:49:49 +07:00