AI 與 Agent

Agent skill

用 npx skills 安裝 admin-registry skill;與官方 shadcn-vue skill 並用,補 @admin 規則。

admin-registry 是給消費端專案的 agent skill,用 npx skills 安裝。結構對齊 shadcn-vue skill 的 Setup/Install/Compose,只補 @admin 規則;官方 shadcn-vue skill 仍需保留。

安裝

需要 GitLab repo tpi-dtd/component-registry 讀取權限。

npx skills add https://gitlab.com/tpi-dtd/component-registry

只裝這一個:

npx skills add https://gitlab.com/tpi-dtd/component-registry --skill admin-registry

與 MCP、llms.txt

方式何時用
MCPAI 執行 shadcn-vue add、掃 registry
llms.txtAI 只讀文件(web fetch)
本 skill接 @admin、裝元件、組畫面時套用 tokens、naming、Headed UI 規則

可並用:MCP 裝東西,llms 補 API,skill 管工作流。