19 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 edefb18aca docs: nêu rõ tmux là yêu cầu của run console AgentHub
README chỉ nói Node >= 22.5, nên máy cài xong chỉ phát hiện thiếu tmux lúc
bấm Start Run và không có gì giải thích vì sao. Thêm bảng yêu cầu
(Node/git/tmux), lệnh cài theo OS, ghi chú Windows phải dùng WSL2, và cách
tự kiểm tra bằng /agenthub-doctor (dòng `tmux` báo WARN khi thiếu).
2026-09-11 10:46:38 +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 58c4c9e8ac feat(sg-md-writing): require per-file confirm before creating each .md 2026-07-23 09:19:18 +07:00
nntrivi2001 a1884362d4 README: uninstall dùng tên plugin thật thay vì placeholder 2026-07-20 16:11:04 +07:00
nntrivi2001 6fc0d865a4 README: sửa câu dẫn lệnh cài plugin lẻ 2026-07-20 16:06:50 +07:00
nntrivi2001 1961c312c7 README: viết hoa Team dev/Chung, sửa comment lệnh cài all 2026-07-20 16:05:26 +07:00
nntrivi2001 accad078a6 README: sửa cột Dành cho — sg-dev = team dev, sg-common = chung 2026-07-20 16:03:35 +07:00
nntrivi2001 d47f9c8f5b README: tách rõ lệnh cài sg-all, ghi rõ không cần cài thêm nếu đã cài all 2026-07-20 16:01:17 +07:00
nntrivi2001 cfa8248635 rename: smartgift-* -> sg-* (plugins, skills, marketplace name) 2026-07-20 15:58:16 +07:00
nntrivi2001 da9554c588 README: gọn lại + link cài đặt gitea org Smartgift-AI 2026-07-20 15:33:26 +07:00
nntrivi2001 905b48ff6a Fix: restore overfitting cleanup (generic Widget examples, non-git baseline support) 2026-07-20 15:23:06 +07:00
nntrivi2001 f52a15c91f README: document smartgift-all as default, note single-plugin install 2026-07-20 14:54:15 +07:00
nntrivi2001 0f05cf3d15 Add smartgift-all bundle plugin (both skills via symlink, zero drift) 2026-07-20 14:53:40 +07:00
nntrivi2001 c1c50418b3 Remove stray _tmp scaffold leftover 2026-07-20 14:50:15 +07:00
nntrivi2001 b5cdb9f489 Initial Smartgift skills marketplace: smartgift-dev (md-writing), smartgift-common (prompt-sharpening) 2026-07-20 14:49:49 +07:00