.pi/agent/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
tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".