Primary project-initialization orchestrator for Skilled. Use when a repository is missing site files or needs a fresh architecture. Create required files directly from the brief, optionally apply `references/reference-design.md`, then run lint/build/validate quality gates via installed skill scripts.
Resources
2Install
npx skillscat add helincao/skilled/start-project Install via the SkillsCat registry.
SKILL.md
Start Project
Use this skill to create the first runnable site from a brief and enforce workflow gates as part of initialization.
When to use
- The project is freshly cloned and missing
site.config.json,_partials/, orsrc/index.html. - The user asks to initialize/bootstrap/create a new site.
- The user wants an agent-generated project layout (not a fixed scaffold template).
- The user wants a reproducible quality workflow (
lint+build+validate).
Inputs
- Site name and project goal (required)
- Optional: preferred information architecture (single-page, multi-page, docs, blog, landing)
- Optional: style direction or design references
- Optional: base URL (default
https://example.com) and locale (defaulten_US) - Optional: whether to bias toward the opinionated reference design
Steps
- Resolve required inputs:
- Site name
- Project goal (what the site should accomplish)
- Decide project shape:
- If the user asks for an opinionated default (or gives minimal design direction), read
references/reference-design.mdand use it as a starting point. - If the user asks for another style/structure, design a custom file layout that still satisfies the build skill contract.
- If the user asks for an opinionated default (or gives minimal design direction), read
- Create files directly from the agent (do not run scaffolding CLI by default):
- Required for build compatibility:
site.config.json,_partials/header.html,_partials/footer.html, and at least one HTML page insrc/. - Add any additional pages/assets/scripts needed for the chosen architecture.
- Required for build compatibility:
- Resolve script locations:
PROJECT_ROOT: target user project rootSKILL_DIR: directory containing thisSKILL.mdBUILD_SKILL_DIR: siblingbuildskill directory (same parent asSKILL_DIR)- If
BUILD_SKILL_DIRis missing, stop and ask the user to install thebuildskill.
- Run the workflow from project root:
node "$SKILL_DIR/scripts/lint-site.mjs" --project-root "$PROJECT_ROOT" node "$BUILD_SKILL_DIR/scripts/build.mjs" --project-root "$PROJECT_ROOT" node "$SKILL_DIR/scripts/validate-site.mjs" --project-root "$PROJECT_ROOT" - Fix any failures and rerun until checks pass.
- Report:
- Files created/updated
- Whether reference design or custom design was used
- Lint/build/validate status
Output
- A complete, runnable project file set tailored to the user brief
- Required build-contract files:
site.config.json_partials/header.html_partials/footer.htmlsrc/**/*.html(at least one page)
- Passing quality gates from installed scripts:
lint-site.mjsbuild.mjsvalidate-site.mjs
dist/output generated frombuild
Conventions
- Do not overwrite existing files unless explicitly requested.
- Keep compatibility with
build/scripts/build.mjs. - Use the opinionated reference design as a default option, not a hard requirement.
- Use
scripts/start-project.mjsonly when the user explicitly asks for the legacy CLI scaffold path.