S
setup-exercode-course-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
- 01Configures package.json and Bun lockfile
- 02Pins Bun and Node.js with mise
- 03Adds required ignore patterns
- 04Preserves compatible tools and scripts
- 05Keeps setup changes separate from content
Use cases
- 01Preparing a repository for course authoring
- 02Adding missing runtimes to an existing setup
- 03Updating Exercode tooling dependencies
- 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-repositoryAfter installing, type/setup-exercode-course-repositoryin Claude Code to confirm it loaded.
Details
From the project READMESet 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.jsoncontainsprivate: true,type: "module", and the repository name.@exercode/problem-utilsis an exact production dependency at its latest published version.bun.lockis 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. .gitignoreincludesnode_modules/,.DS_Store, and.tmp/. It does not ignorepackage.jsonorbun.lock.- Preserve compatible existing runtime versions, tools, dependencies, and scripts. Do not replace an existing mise or package setup wholesale.
Workflow
- Read the repository instructions and inspect only the tracked root tooling files, including
mise.toml,.mise.toml, and.tool-versionswhen present. - 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-versionswith the exact current stable Bun version and current LTS Node.js version. - If a mise TOML config is present, run
mise trust --yes. Runmise install, then use the installedbuncommand normally for the remaining setup. - Create or update
package.json, then runbun add --exact @exercode/problem-utils@latestsopackage.jsonandbun.lockagree. - Ensure
.gitignorecontains the required tooling entries without removing compatible existing entries. - Do not create, modify, move, validate, or evaluate any course, lecture, material, problem, contest, asset, or other learning-content file.
Comments
Markdown supported