Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计提醒

mise-tasks杂务任务

Agent Skill

mise-tasks 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,402

周安装

259

GitHub Stars

37

下载量

2,010
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mise-tasks(杂务任务)
来源仓库:https://github.com/terrylica/cc-skills
仓库路径:skills/mise-tasks
安装命令:
npx skills add https://github.com/terrylica/cc-skills --skill mise-tasks
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/terrylica/cc-skills --skill mise-tasks

简介

mise-tasks 用于查找、检索和筛选相关信息。

  • 适合在日常运维中定位常用任务模板与执行脚本。mise-tasks 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 npx 命令从指定仓库安装,需结合原始 README 了解任务列表。
  • 安装前应确认是否涉及敏感操作或系统资源占用。
  • 建议核实来源仓库的任务维护状态与实际使用频率。

SKILL.md

mise Tasks Orchestration

Orchestrate multi-step project workflows using mise [tasks] section with dependency management, argument handling, and file tracking.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

When to Use This Skill

Explicit triggers:

  • User mentions mise tasks, mise run, [tasks] section
  • User needs task dependencies: depends, depends_post
  • User wants workflow automation in .mise.toml
  • User mentions task arguments or usage spec

AI Discovery trigger (prescriptive):

When mise-configuration skill detects multi-step workflows (test suites, build pipelines, migrations), prescriptively invoke this skill to generate appropriate [tasks] definitions.

Quick Reference

Task Definition

[tasks.build]
description = "Build the project"
run = "cargo build --release"

Running Tasks

mise run build          # Run single task
mise run test build     # Run multiple tasks
mise run test ::: build # Run in parallel
mise r build            # Short form

Dependency Types

TypeSyntaxWhen
dependsdepends = ["lint", "test"]Run BEFORE task
depends_postdepends_post = ["notify"]Run AFTER task succeeds
wait_forwait_for = ["db"]Wait only if running

Key Task Properties

PropertyPurposeExample
descriptionAI-agent discoverability (CRITICAL)"Run pytest with coverage. Exits non-zero on failure."
aliasShort namealias = "t"
dirWorking directorydir = "packages/frontend"
envTask-specific env vars (NOT passed to deps)env = {LOG_LEVEL = "debug"}
hideHidden from mise tasks outputhide = true
sourcesFile tracking for cachingsources = ["src/**/*.rs"]
outputsSkip if newer than sourcesoutputs = ["target/release/myapp"]
confirmPrompt before executionconfirm = "Delete all data?"
quietSuppress mise outputquiet = true
silentSuppress ALL outputsilent = true
rawDirect stdin/stdout (disables parallelism)raw = true
toolsTask-specific tool versionstools = {python = "3.9"}
shellCustom shellshell = "pwsh -c"
usageArgument spec (preferred over Tera)See Task Arguments

Namespacing

mise run 'test:*'      # All tasks starting with test:
mise run 'db:**'       # Nested: db:migrate:up, db:seed:test
mise tasks --hidden    # View hidden tasks (prefixed with _)

For detailed examples and patterns for all levels, see Task Levels Reference.


Level 10: Monorepo (Experimental)

Requires: MISE_EXPERIMENTAL=1 and experimental_monorepo_root = true

mise run //projects/frontend:build    # Absolute from root
mise run :build                       # Current config_root
mise run //...:test                   # All projects
mise run '//projects/...:build'       # Build all under projects/

Tasks in subdirectories are auto-discovered with path prefix (packages/api/.mise.toml tasks become packages/api:taskname).

For complete monorepo documentation, see: advanced.md


Level 11: Polyglot Monorepo with Pants + mise

For Python-heavy polyglot monorepos (10-50 packages), combine mise for runtime management with Pants for build orchestration and native affected detection.

ToolResponsibility
miseRuntime versions (Python, Node, Rust) + environment variables
PantsBuild orchestration + native affected detection + dependency inference
# Native affected detection (no manual git scripts)
pants --changed-since=origin/main test
pants --changed-since=origin/main lint
pants --changed-since=origin/main package
ScaleRecommendation
< 10 packagesmise + custom affected (Level 10 patterns)
10-50 packages (Python-heavy)Pants + mise (this section)
50+ packagesConsider Bazel

See polyglot-affected.md for complete Pants + mise integration guide and tool comparison.


Integration with [env]

Tasks automatically inherit [env] values. Use _.file for external env files and redact = true for secrets.

[env]
DATABASE_URL = "postgresql://localhost/mydb"
_.file = { path = ".env.secrets", redact = true }

[tasks._check-env]
hide = true
run = '[ -n "$API_KEY" ] || { echo "Missing API_KEY"; exit 1; }'

[tasks.deploy]
depends = ["_check-env"]
run = "deploy.sh"  # $DATABASE_URL and $API_KEY available

For full env integration patterns, see Environment Integration.


Anti-Patterns

Anti-PatternWhy BadInstead
Replace /itp:go with mise tasksNo TodoWrite, no ADR tracking, no checkpointsUse mise tasks for project workflows, /itp:go for ADR-driven development
Hardcode secrets in tasksSecurity riskUse _.file = ".env.secrets" with redact = true
Giant monolithic tasksHard to debug, no reuseBreak into small tasks with dependencies
Skip or minimal descriptionAI agents cannot infer task purpose from name aloneWrite rich descriptions: what it does, requires, produces, when to run
Publish without build dependsRuntime failure instead of DAG preventionAdd depends = ["build"] to publish tasks
Orchestrator without all phases"Run X next" messages get ignoredInclude all phases in release:full depends array

For release-specific anti-patterns and patterns, see Release Workflow Patterns.


Cross-Reference: mise-configuration

Prerequisites: Before defining tasks, ensure [env] section is configured.

PRESCRIPTIVE: After defining tasks, invoke mise-configuration skill to ensure [env] SSoT patterns are applied.

The mise-configuration skill covers:

  • [env] - Environment variables with defaults
  • [settings] - mise behavior configuration
  • [tools] - Version pinning
  • Special directives: _.file, _.path, _.python.venv

Additional Resources


Troubleshooting

IssueCauseSolution
Task not foundTypo or wrong mise.tomlRun mise tasks to list available tasks
Dependencies not runCircular dependencyCheck task depends arrays for cycles
Sources not workingWrong glob patternUse relative paths from mise.toml location
Watch not triggeringFile outside sources listAdd file pattern to sources array
Env vars not availableTask in wrong directoryEnsure mise.toml is in cwd or parent
Run fails with errorScript path issueUse absolute path or relative to mise.toml

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
  3. Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.31%
按下载量换算609

Antigravity

23.11%
按下载量换算465

OpenCode

18.45%
按下载量换算371

Gemini CLI

13.49%
按下载量换算271

Codex

7.11%
按下载量换算143

windsurf

3.13%
按下载量换算63

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills