1. resources
  2. contribute
  3. get started

Get Started

Read this before you submit your first contribution.

How to Contribute

Take care to read all contributions guidelines before you begin!

  1. Learn how to contribute to open source.
  2. Follow a step-by-step guide to practice your first contribution.
  3. Locate an open issue on GitHub. Let us know you would like to volunteer.
  4. Optionally, you may coordinate efforts on the #contributors channel within Discord.
  5. If the Skeleton team approves your request, you’ll be assigned to the issue.
  6. Complete the work and submit a pull request and we’ll review the changes.

NOTE: non-trivial PRs submitted without our prior consent will be denied. Repeat offenders will be banned.

Using PNPM

Skeleton makes use of PNPM and PNPM workspaces to maintain all projects within the Skeleton monorepo.

  1. Install PNPM on your local computer.
  2. Fork the Skeleton monorepo via the option on GitHub.
  3. Use Git to clone the forked project to your local machine.
  4. Point your terminal at one of the sites or package projects listed below.
  5. Run pnpm i to install the required depedencies.
  6. Run pnpm dev to start a local dev server for each project.

Monorepo Structure

Sites

Public facing websites that are deployed to Vercel.

PathDescription
/sites/skeleton.devThe production skeleton.dev documentation website.
/sites/next.skeleton.devThe temporary Next/v3 documentation website.
/sites/themes.skeleton.devThe Skeleton themes generator website

Packages

Modular Skeleton packages distributed via NPM.

PathDescription
/packages/skeletonThe Skeleton core package, containing the Tailwind plugin.
/packages/skeleton-reactThe Skeleton React package, containing Skeleton React components.
/packages/skeleton-svelteThe Skeleton Svelte package, containing Skeleton Svelte components.
/packages/create-skeleton-appThe Skeleton onboarding CLI application.

Branch

Skeleton uses two primary branches. All pull requests should be created from and to the dev branch.

BranchDescriptionPull Requests
devRepresents the bleeding edge developement branch. Allowed
masterRepresents the release branch of the all projects. Never

PR Branch Conventions

Please use the following naming convention when creating your pull request.

BranchRole
docs/*When updating the documentation site.
feat/*When implementing a new feature.
chore/*When implementing small changes.
bugfix/*When implementing feature bugfixes.

Keep branch names short and semantic, using dashes to seperate words.

docs/get-started-typo-fix
bugfix/accordion-render-issue

Changesets

Changesets are used to automatically generate the Skeleton changelog for each release. Any contributions made to projects that live within the /packages directory must contain a Changeset. Use the following instructions to generate a changeset.

  1. Make sure you’re within local pull request feature branch.
  2. Navigate to the root of the Skeleton monorepo.
  3. Run pnpm changeset to trigger the Changeset CLI.
  4. Follow the instructions when prompted.
  5. Changeset are added to the /.changeset directory.

Changesets use semantic version. We recommend the following convention.

VersionRole
majorDo not use. Reserved for maintainers.
minorFor notable changes, such as a new features.
patchFor small changes, such as a typo.

Changeset descriptions will appear verbatim on the Changelog. Keep it short, semantic, and prefix this like branch names.

---
'@skeletonlabs/skeleton-svelte': minor
---
feat: Added a new `background` component prop.

Tooling

Skeleton makes use of the following technology for improving the developer experience.

Prettier

We use Prettier for code formatting and linting.

Terminal window
pnpm lint
pnpm format

Test Suite

Unit tests are handled via Vitest.

Terminal window
pnpm test

VS Code Extensions

We recommend the following extensions for VS Code: