skills/mise/SKILL.md
mise.toml authoring, tool management, task patterns, and GCP publish workflows. Load when writing or editing mise.toml, adding tools, defining tasks, or working with mise-tasks/ directories. Triggers on: mise.toml, .mise.toml, mise tasks, mise run, mise install, tool versions, task depends.
npx skillsauth add cloudvoyant/codevoyant miseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Patterns for writing and maintaining mise.toml files based on the mise-lib-template and nv-gcp-template conventions used across projects.
| You are working on... | Load recipe |
|---|---|
| Task naming conventions and standard task set | references/recipes/task-naming.md |
| TypeScript + pnpm project (single or monorepo) | references/recipes/ts-pnpm.md |
| SvelteKit project | references/recipes/sveltekit.md |
| Zig project | references/recipes/zig.md |
| C++ project with Conan package manager | references/recipes/cpp-conan.md |
| Docker tasks, dev containers, WSL/Linux/Mac compat | references/recipes/docker.md |
| Terraform tasks for GCP (tf-init, tf-plan, tf-apply) | references/recipes/terraform-gcp.md |
| Terraform tasks for AWS (tf-init, tf-plan, tf-apply) | references/recipes/terraform-aws.md |
Standard section order:
# [env] — environment variables (PROJECT, VERSION, GCP_*, PATH extensions)
# [tools] — tool versions (node, pnpm, gcloud, etc.)
# [tasks.*] — inline tasks grouped by: CORE, DOCKER, CI/CD, UTILITIES
# [task_config] includes = ["mise-tasks"] ← for external task dirs
# [settings] experimental = true ← required for some features
[env]
PROJECT = "my-project"
VERSION = "{{ exec(command='cat version.txt 2>/dev/null | tr -d [:space:] || echo 0.1.0') }}"
GCP_REGISTRY_PROJECT_ID = "devops-466002"
GCP_REGISTRY_REGION = "us-east1"
GCP_REGISTRY_NAME = "cloudvoyant-generic-registry"
_.path = ['{{ config_root }}/node_modules/.bin'] # extend PATH
Key patterns:
VERSION always read from version.txt with a fallback_.path extends $PATH — use config_root not hardcoded pathsGCP_REGISTRY_* (artifact registry) and GCP_PROJECT_* / GCP_DEVOPS_* (project split)[tools]
node = "lts" # or "20", "24"
pnpm = "latest" # or "10"
gcloud = "latest"
terraform = "1" # major-pinned
shellcheck = "latest"
shfmt = "latest"
bats = "latest"
claude = "latest"
terraform = "1")"lts" for node unless a specific version is needednpm:package-name to install npm packages as tools: "npm:skills-ref" = "0.1.5"[tasks.build]
description = "Build the project"
depends = ["install"]
run = "pnpm build"
[tasks.test]
description = "Run tests"
depends = ["build"]
run = "pnpm test"
[tasks."format-check"]
description = "Check formatting"
run = "shfmt -d .mise-tasks/"
[task_config]
includes = ["mise-tasks"]
[settings]
experimental = true # required for task_config.includes
Scripts in mise-tasks/ are auto-discovered. Hide internal helpers:
#!/usr/bin/env bash
#MISE hide=true
| Task | Description |
|------|-------------|
| install | Install dependencies |
| build | Build the project |
| test | Run tests (depends: build) |
| lint | Run linter |
| lint-fix | Auto-fix linting issues |
| format | Format source files |
| format-check | Check formatting (CI-safe) |
| clean | Remove build artifacts |
| version | Print current version |
| upversion | Bump version (semantic-release) |
[tasks.docker-build]
description = "Build Docker image"
run = "COMPOSE_BAKE=true docker compose build"
[tasks.docker-run]
description = "Run in Docker"
depends = ["docker-build"]
run = "docker compose up"
[tasks.docker-test]
description = "Run tests in Docker"
depends = ["docker-build"]
run = "docker compose run --rm app mise run test"
[tasks.publish]
description = "Publish to GCP Artifact Registry"
depends = ["test", "build-prod"]
run = """
IMAGE="${GCP_REGISTRY_REGION}-docker.pkg.dev/${GCP_REGISTRY_PROJECT_ID}/${GCP_REGISTRY_NAME}/${PROJECT}:${VERSION}"
docker build -t "$IMAGE" .
docker push "$IMAGE"
echo "Published: $IMAGE"
"""
[tasks.publish-rc]
description = "Publish release candidate"
depends = ["test", "build-prod"]
run = """
IMAGE="${GCP_REGISTRY_REGION}-docker.pkg.dev/${GCP_REGISTRY_PROJECT_ID}/${GCP_REGISTRY_NAME}/${PROJECT}:${VERSION}-rc"
docker build -t "$IMAGE" .
docker push "$IMAGE"
"""
[tasks."build:web"]
run = "pnpm --filter @myproject/web run build"
[tasks."test:api"]
run = "pnpm --filter @myproject/api run test"
config_root vs $PWD: use {{ config_root }} in TOML templates, $MISE_CONFIG_ROOT in bash tasksexperimental = true: required for [task_config] includes and some env features — add it[tasks."build-prod"]depends = ["install"] runs before the task; don't duplicate in run_.path = [...] not PATH = "..." — the latter overwritesversion.txt holds the current semver. The upversion task runs semantic-release:
[tasks.upversion]
description = "Bump version based on conventional commits"
run = ".mise-tasks/upversion"
Publish tasks should depend on the version being set, not bump it themselves.
development
React patterns: Zustand state management, shadcn/ui + Tailwind CSS, React Three Fiber + Drei for 3D, folder structure, data fetching, and TypeScript conventions. Load when working on React projects (*.tsx) without SvelteKit.
development
QA workflows: investigate and document bugs, post issues to GitHub/GitLab/Linear, and run browser-agent smoke tests. Triggers on: 'qa debug', 'qa report', 'qa smoke', 'run smoke test', 'report bug', 'investigate issue'.
tools
Python project patterns: uv package/workspace management, MLflow experiment tracking, Ray distributed computing, Nvidia Warp GPU kernels, Pydantic validation, Click CLIs, and service architecture. Load when writing Python with pyproject.toml or uv.lock.
development
Code review workflows: create a draft PR/MR, generate AI-powered inline review comments, address change requests, or complete a draft review. Triggers on: "pr open", "pr new", "pr review", "pr address", "pr complete", "open a PR", "create a draft PR", "code review", "pr mr", "pr this PR", "address pr comments", "fix review comments", "complete draft review", "publish review".