在 Vercel 新增專案,選擇 twhsi/skills 這個 GitHub repository。
Framework Preset: Other
GitHub source,Vercel 上線,Cloudflare 接網域
這個網站是靜態輸出:不需要資料庫、不需要付費後端。Agent metadata 由 repo 內的
skills/*/SKILL.md 生成,人看的頁面由 Vercel 發布。
npm run build |
從 repo 產生 dist/、agent.json、skills.json、llms.txt。 |
|
npm run preview |
用 Python 在本機預覽 dist/,預設 http://localhost:4177。 |
Back home |
在 Vercel 新增專案,選擇 twhsi/skills 這個 GitHub repository。
Framework Preset: Other
專案已有 vercel.json,Vercel 會使用 build command 與 output directory。
buildCommand: npm run build outputDirectory: dist
部署後先打開 /agent.json、/skills.json、/llms.txt,確認 Agent 入口可讀。
/agent.json /skills.json /llms.txt
到 Cloudflare DNS 新增 Vercel 要求的 record。子網域常用 CNAME;根網域依 Vercel 顯示的 A/CNAME 設定。
skills.example.com -> Vercel DNS target
回到 Vercel Domains 等待驗證通過。HTTPS 憑證會由 Vercel 對部署網域處理。
open /agent.json after DNS resolves
自訂網域完成後,把 /llms.txt 當作對外 LLM context,把 /agent.json 當作機器入口。
80% agent-readable 20% human-readable