build
4
总安装量
4
周安装量
#49800
全站排名
安装命令
npx skills add https://github.com/helincao/skilled --skill build
Agent 安装分布
opencode
4
claude-code
4
github-copilot
4
codex
4
kimi-cli
4
gemini-cli
4
Skill 文档
Build
Inputs
- Project root containing
src/,_partials/, andsite.config.json - Optional precompiled CSS at
src/css/site.css SKILL_DIR: directory containing thisSKILL.md
Steps
- Resolve:
PROJECT_ROOT: target user project rootSKILL_DIR: directory containing thisSKILL.md
- Run:
node "$SKILL_DIR/scripts/build.mjs" --project-root "$PROJECT_ROOT" - Confirm
dist/exists and contains built HTML files. - If this skill is called by another skill workflow, fail fast on build errors and return the exact error text.
Output
dist/refreshed fromsrc/- Header/footer partials injected in built HTML files
- SEO/canonical/Open Graph metadata injected from
<!-- meta -->blocks dist/sitemap.xmlanddist/robots.txtregenerated
Conventions
- Treat this as deterministic infrastructure: do not invent content here.
- Do not assume the user project has
package.jsonscripts.