[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-c0713dde-bf7d-4f77-a4dc-8524abfdf1ca":3,"$fUCSb7uog2Uu-Pr_i9HTO44B1YCMXQYxML7_6MdQkcrg":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"c0713dde-bf7d-4f77-a4dc-8524abfdf1ca","mise-configurator","生成适用于本地开发、CI\u002FCD 管道和工具链标准化的生产就绪 mise.toml 设置。","cat_coding_devops","mod_coding","sickn33,coding","---\nname: mise-configurator\ndescription: \"Generate production-ready mise.toml setups for local development, CI\u002FCD pipelines, and toolchain standardization.\"\ncategory: devops\nrisk: safe\nsource: self\nsource_type: self\ndate_added: \"2026-04-16\"\nauthor: community\ntags: [mise, devops, ci-cd, toolchain, runtimes, automation]\ntools: [claude, cursor, gemini]\n---\n# Mise Configurator\n\n## Overview\n\nThis skill generates clean, production-ready `mise.toml` configurations for local development environments and CI\u002FCD pipelines.\n\nIt helps standardize runtime versions, simplify onboarding, replace legacy version managers like `asdf`, `nvm`, and `pyenv`, and create reproducible multi-language environments with minimal setup effort.\n\n## When to Use This Skill\n\n- Use when you need to create or update a `mise.toml`\n- Use when working with Node.js, Python, Go, Rust, Java, Bun, Terraform, or mixed stacks\n- Use when the user asks about CI\u002FCD runtime setup using mise\n- Use when migrating from `.tool-versions`, `asdf`, `nvm`, or `pyenv`\n- Use when standardizing tool versions across teams or monorepos\n\n## How It Works\n\n### Step 1: Detect Project Context\n\nInspect available repository files such as:\n\n- `package.json`\n- `pnpm-lock.yaml`\n- `pyproject.toml`\n- `requirements.txt`\n- `go.mod`\n- `Cargo.toml`\n- `.tool-versions`\n- `Dockerfile`\n- GitHub Actions or CI files\n\nInfer languages, package managers, and pinned versions.\n\n### Step 2: Generate `mise.toml`\n\nCreate a minimal, valid, copy-paste-ready configuration using:\n\n- existing pinned versions when found\n- explicit user-provided target versions when absent\n- practical defaults for developer productivity\n- concrete pinned versions in shared production configs\n\n### Step 3: Add Bootstrap Commands\n\nProvide setup commands such as:\n\n```bash\nmise trust\nmise install\n```\n\n### Step 4: Generate CI\u002FCD Integration\n\nIf requested, generate pipeline examples using mise with caching and runtime installation.\n\n## Examples\n\n### Example 1: Node.js + pnpm Project\n\n```toml\n[tools]\nnode = \"22.11.0\"\npnpm = \"9.15.0\"\n```\n\n### Example 2: Python + GitHub Actions\n\n```toml\n[tools]\npython = \"3.12.7\"\npoetry = \"1.8.4\"\n```\n\n```yaml\nsteps:\n  - uses: actions\u002Fcheckout@v4\n  - uses: jdx\u002Fmise-action@v2\n  - run: poetry install\n  - run: pytest\n```\n\n## Best Practices\n\n- ✅ Respect versions already pinned in the repository\n    \n- ✅ Keep configs minimal and readable\n    \n- ✅ Prefer stable runtime releases\n    \n- ✅ Generate CI examples with caching\n\n- ✅ Ask for target versions before pinning when the repository does not already declare them\n\n- ❌ Do not use floating `latest` or `lts` aliases in shared production configs unless explicitly requested\n    \n- ❌ Do not over-engineer unnecessary tool entries\n    \n- ❌ Do not ignore existing lockfiles or version files\n    \n\n## Limitations\n\n- This skill does not replace environment-specific validation, testing, or expert review.\n    \n- Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.\n    \n- Runtime availability may vary by OS, shell, or CI platform.\n    \n- Some plugins or niche tools may require manual adjustment.\n    \n\n## Security & Safety Notes\n\n- Review generated shell commands before execution.\n    \n- Confirm CI\u002FCD permissions before modifying pipelines.\n    \n- Validate runtime versions against production requirements.\n    \n- Use only in authorized repositories and environments.\n    \n\n## Common Pitfalls\n\n- **Problem:** Wrong runtime version selected  \n    **Solution:** Check repository lockfiles and pinned versions first.\n    \n- **Problem:** CI installs are slow  \n    **Solution:** Enable cache layers and reuse mise cache directories.\n    \n- **Problem:** Tool missing from registry  \n    **Solution:** Verify plugin support or install manually.\n    \n\n## Related Skills\n\n- `@docker-expert` - Use when building containerized development environments\n    \n- `@github-actions-templates` - Use for advanced workflow automation\n    \n- `@monorepo-architect` - Use for large multi-package repositories\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,169,1612,"2026-05-16 13:28:53",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"DevOps","devops","mdi-cog-outline","CI\u002FCD、容器化、部署运维",3,162,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"66f8103d-672a-4793-b12a-975877149a61","1.0.0","mise-configurator.zip",1925,"uploads\u002Fskills\u002Fc0713dde-bf7d-4f77-a4dc-8524abfdf1ca\u002Fmise-configurator.zip","b6baac17dde3c0d512d1618ffce4bbacd8dd7bb61e901b59fd69ac286af0ccdd","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4041}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]