Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Instantcms Site Build?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/instantcms-dev-instantcms-site-build)
---
name: instantcms-site-build
description: Build or repair an InstantCMS 2 site, template, addon or content type with this server's tools, using the server's own workflow order.
---
# InstantCMS site build
The tools are only half of the server; the order below is what makes them work
together. `get_workflow` returns the current authoritative sequence — prefer it
when it differs from this text.
## Start here
1. `get_server_capabilities` — server mode, tool count, supported InstantCMS
versions. Everything else depends on the project's version.
2. `load_instantcms_project` — when a project exists. Returns docroot, database
and the active theme; later tools use what it records.
3. `explain_instantcms_project` and `audit_instantcms_project` — read the state
before changing anything.
## Workflows
`get_workflow` is the source of truth; the common sequences are:
- **Template** — `get_template_structure`, `scaffold_complete_template`,
`audit_template_frontend`, `validate_generated_artifacts`.
- **Addon** — `analyze_requirement`, `get_addon_structure`, `scaffold_addon`,
`validate_addon`, `validate_generated_artifacts`, `build_addon_archive`.
- **Content type** — `get_workflow` with `content_type`, then the scaffold and
validation tools it names.
- **Repair** — `plan_project_changes`, `repair_instantcms_project`,
`create_project_patch`, then `validate_generated_artifacts`.
## Where the knowledge lives
- Hooks — `list_hooks`, `get_hook_details`, resource `instantcms://hooks/all`.
- Components and their APIs — `get_component_api`, resource
`instantcms://components/all`.
- Database — `introspect_database`, `describe_table`; `maria_execute_query` runs
SQL and is the only write path, so treat it as an explicit decision.
- Tool discovery — `find_tool` before guessing a name; `get_workflow` before
inventing an order.
## Rules
- Never hand over generated artifacts without `validate_generated_artifacts`;
a scaffold that validates is worth more than a scaffold that looks complete.
- Destructive SQL, file deletion or a template replacement needs the human's
explicit approval in the conversation, not an inferred intent.
- Report what changed and which validation ran; the next session starts from the
project state, not from this conversation.