mcpField
S
setup-exercode-course-repository

setup-exercode-course-repository

github.com/willboosterDevelopment0213 installsUpdated 2d ago
Repository

About setup-exercode-course-repository

A setup skill for repository tooling used to author and evaluate Exercode courses. It configures tracked package and runtime files while preserving compatible existing setup, without changing learning content.

Key features

  1. 01Configures package.json and Bun lockfile
  2. 02Pins Bun and Node.js with mise
  3. 03Adds required ignore patterns
  4. 04Preserves compatible tools and scripts
  5. 05Keeps setup changes separate from content

Use cases

  1. 01Preparing a repository for course authoring
  2. 02Adding missing runtimes to an existing setup
  3. 03Updating Exercode tooling dependencies
  4. 04Keeping course content untouched during setup

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/willbooster/exercode-problem-utils --skill setup-exercode-course-repository

After installing, type/setup-exercode-course-repositoryin Claude Code to confirm it loaded.

Details

From the project README

Set up an Exercode course repository

Prepare the repository tooling required to author and evaluate Exercode course content. Do not create or modify learning content.

Tracked tooling setup

The repository tracks its tooling instead of ignoring it.

  • package.json contains private: true, type: "module", and the repository name.
  • @exercode/problem-utils is an exact production dependency at its latest published version.
  • bun.lock is tracked.
  • Bun and Node.js are managed by mise with exact versions. Preserve an existing mise.toml, .mise.toml, or .tool-versions; when none exists, create .tool-versions.
  • .gitignore includes node_modules/, .DS_Store, and .tmp/. It does not ignore package.json or bun.lock.
  • Preserve compatible existing runtime versions, tools, dependencies, and scripts. Do not replace an existing mise or package setup wholesale.

Workflow

  1. Read the repository instructions and inspect only the tracked root tooling files, including mise.toml, .mise.toml, and .tool-versions when present.
  2. Keep the repository's existing mise format. Ensure it pins exact Bun and Node.js versions, preserving compatible exact versions and every unrelated tool. If multiple mise files exist, do not duplicate a tool already declared in any of them; add missing tools to an existing TOML config. If none exists, create .tool-versions with the exact current stable Bun version and current LTS Node.js version.
  3. If a mise TOML config is present, run mise trust --yes. Run mise install, then use the installed bun command normally for the remaining setup.
  4. Create or update package.json, then run bun add --exact @exercode/problem-utils@latest so package.json and bun.lock agree.
  5. Ensure .gitignore contains the required tooling entries without removing compatible existing entries.
  6. Do not create, modify, move, validate, or evaluate any course, lecture, material, problem, contest, asset, or other learning-content file.

Comments

Markdown supported