harness/claude/skills/mise/SKILL.md
This skill should be used when the user mentions "mise", "mise run", "mise task", "copy-logs", "dump-db", "repos", "open repo", "add repo to workspace", or wants to search/open repositories.
npx skillsauth add popoffvg/dotfiles 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.
Run mise tasks defined in mise-tasks/ directory of the current project workspace.
Parse the user's input to determine the action:
/mise or /mise list)mise tasks ls
/mise <task> [args])mise run <task> [-- args]
Flags go after --:
mise run dump-db -- -n my-namespace -o /tmp/mydb
/mise info <task>)Read the task file to show #MISE and #USAGE header lines:
head -10 mise-tasks/<task>
/mise repos [query])Search git repositories in the workspace:
mise run repos -- <query>
Without a query, lists all repos. With a query, filters by substring match on directory name.
After showing results, ask the user which repo to open and how:
surf --add <repo_path>surf -n <repo_path>Example flow:
> /mise repos auth
auth-service /path/to/workspace/auth-service
auth-gateway /path/to/workspace/auth-gateway
Which repo to open? → auth-service
How? → Add to current workspace
$ surf --add /path/to/workspace/auth-service
Use AskUserQuestion to let the user pick the repo and the open mode.
repos task script lives at ~/.pi/agent/skills/mise/repos-task, with a wrapper in each project's mise-tasks/repos$CLAUDE_PROJECT_DIR (from .mise.toml) or pwd as workspace rootsurf is the Windsurf CLI (install location varies — check which surf or use code / cursor as fallback).mise.toml at workspace root: [task_config] dir = "mise-tasks"Pi skills should be stored in a dotfiles repository and symlinked via GNU Stow. This keeps skills version-controlled and portable across machines.
Layout inside dotfiles repo:
dotfiles/
pi-skills/
.pi/
agent/
skills/
<skill-name>/
SKILL.md
Install/update a skill:
cd ~/dotfiles
stow pi-skills # symlinks .pi/agent/skills/<skill-name> into ~/.pi/agent/skills/
Restow after adding new skill files:
stow --restow pi-skills
~/.pi/agent/skills/<name>/SKILL.md (symlinks or real files)~/.pi/agent/skills/ if they are managed by stow; edit the source in ~/dotfiles/ insteadEval checklist:
mise tasks ls used before attempting to run an unknown task?-- separator?Test inputs:
Can change: input parsing logic, task discovery steps, error messages, argument formatting
Cannot change: mise CLI as the tool, mise tasks ls for discovery, mise run for execution
Min sessions before eval: 5
Runs per experiment: 3
testing
Use when the user asks to create test sets, enumerate scenarios, generate edge cases, or draft a coverage matrix before implementation.
testing
Use when the user asks to review, audit, score, or validate test sets for missed cases before execution or merge.
tools
Test harness plugins in isolation using tmux panes. Runs MCP servers, unit tests, typecheck, and Claude plugin loading. Use when user says "test plugin", "check plugin", "run plugin tests", "validate plugin", or names a specific plugin to test.
development
Guide for designing integration and e2e tests using BDD (Behavior-Driven Development) methodology with Cucumber-style Given/When/Then scenarios. Use when writing or reviewing tests for any service, API, or component. Language-agnostic — covers scenario structure, step notation, assertion principles, async patterns, and common anti-patterns.