create-mise-tasks

Create and validate mise task files with metadata and dependencies.

2|Updated Aug 20, 2024
One-click install
npx skills add https://github.com/theZMC/dotfiles --skill create-mise-tasks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-mise-tasks
Source: https://github.com/theZMC/dotfiles/tree/main/.agents/skills/create-mise-tasks
Command: npx skills add https://github.com/theZMC/dotfiles --skill create-mise-tasks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates and manages mise file tasks and ensures required tools are declared in mise config. Use when the user asks to create, add, update, or refactor mise tasks, mentions .mise/tasks, asks about mise task structure or conventions, wants to automate project scripts through mise, or needs to declare mise-managed tools for their tasks. Also trigger when the user references "mise run", task dependencies, or task caching with sources/outputs.

Core Features & Use Cases

  • Create and enforce file-based tasks under .mise/tasks following consistent metadata conventions.
  • Validate task metadata, dependencies, and caching hints, generating or updating .mise/config.toml as needed.
  • Trigger when users request task scaffolding, refactoring, or tool declarations for mise-managed workflows.

Quick Start

Describe the new task you want to create and ask me to generate its mise task file.

Frequently Asked Questions about create-mise-tasks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a mise task with dependencies and caching?

Create a file under .mise/tasks with frontmatter metadata and MISE comments, declaring description, dependencies, sources, and outputs to enable task caching and dependency graphs for mise run.

What is the correct structure for a mise task file?

A mise task file requires frontmatter metadata, MISE comments formatting, and conforming properties such as description, dependencies, sources, and outputs to standardize task definitions within the .mise folder.

How do I declare required tools for mise tasks in config.toml?

Validate mise task metadata and dependencies to generate or update .mise/config.toml with required tool declarations, ensuring your project automation workflows have properly managed mise-managed tools.

Can I use file-based tasks to automate project scripts with mise?

Yes, you can scaffold file-based tasks under .mise/tasks to automate project scripts with mise, declaring consistent metadata, dependency graphs, and tool declarations for standardized execution via mise run.

What's the best way to refactor existing mise tasks for consistency?

Refactor mise tasks by validating each file against standard metadata conventions, ensuring required MISE comments, frontmatter, and conforming properties like sources and outputs are correctly declared within the .mise folder.

When do I need to define sources and outputs in a mise task?

Define sources and outputs in a mise task when you want task caching and dependency tracking, allowing mise to skip redundant executions if input sources remain unchanged across your project automation workflows.