mp-setup-sveltekit

Create a SvelteKit GitHub repository from template-sveltekit with branch protection.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/MartinoPolo/mpx-claude-code --skill mp-setup-sveltekit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mp-setup-sveltekit
Source: https://github.com/MartinoPolo/mpx-claude-code/tree/main/skills/mp-setup-sveltekit
Command: npx skills add https://github.com/MartinoPolo/mpx-claude-code --skill mp-setup-sveltekit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the repetitive setup work required to start a new SvelteKit project with the right GitHub repository structure, branching strategy, and CI-ready baseline.

Core Features & Use Cases

  • SvelteKit repo creation from a template: Creates a new GitHub repository from the user’s template-sveltekit repo and clones it locally, ready for immediate development.
  • Branching strategy + default branch setup: Creates a dev branch, pushes it, and switches it to be the default branch.
  • Branch protection + verification workflow: Applies branch protection rules to main and dev and runs the template’s checks/tests to verify the setup is sound, while reporting failures without aborting.
  • Optional Svelte MCP integration: Adds Svelte MCP support if the user opts in.
  • .mpx project initialization: Creates .mpx/CONTEXT.md and .mpx/DECISIONS.md to establish continuity and documentation structure.

Quick Start

Run the mp-setup-sveltekit skill with your desired project name to create a new SvelteKit GitHub repo cloned from template-sveltekit, set dev as the default branch, apply branch protection, and verify CI via the template’s install and test commands.

Frequently Asked Questions about mp-setup-sveltekit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a SvelteKit project with branch protection and CI?

To set up a SvelteKit project with branch protection and CI, you can use a project scaffolding skill that creates a GitHub repository from a template, configures a dev default branch, and applies branch protection rules to main and dev.

What's the best way to configure a dev branch as the default in a new SvelteKit GitHub repo?

Configuring a dev branch as the default in a new SvelteKit GitHub repo involves creating the branch locally, pushing it to GitHub, and switching the repository's default branch setting from main to dev via the GitHub API.

Do I need pnpm to initialize a SvelteKit repository from a template?

Yes, you need pnpm to initialize a SvelteKit repository from a template, as the local initialization and template verification process uses pnpm to run install and test commands to validate the CI baseline.

Can I add Svelte MCP integration during SvelteKit project bootstrapping?

Yes, you can add Svelte MCP integration during SvelteKit project bootstrapping by opting into the setup, which configures the MCP support alongside repository creation and branch protection.

What happens if CI verification tests fail during SvelteKit repository setup?

If CI verification tests fail during SvelteKit repository setup, the workflow reports the failures and verification results without aborting the process, allowing you to address template issues without losing the setup progress.

Why set up branch protection on both main and dev branches for SvelteKit projects?

Setting up branch protection on both main and dev branches for SvelteKit projects enforces a CI-validated development workflow, preventing direct pushes and ensuring template checks pass before merging code into critical branches.