Loading...
Loading...
Compare original and translation side by side
mise runmise installmise run lintmise run testlint:changedtest:changedmise tasks --allmise installmise tasksmise runmise installmise run lintmise run testlint:changedtest:changedmise tasks --allmise installmise tasksundefinedundefinedundefinedundefinedproject-root/
├── mise.toml # Root task definitions
├── apps/
│ ├── api/ # Backend application
│ │ └── mise.toml # App-specific tasks
│ ├── web/ # Frontend application
│ │ └── mise.toml
│ └── mobile/ # Mobile application
│ └── mise.toml
├── packages/
│ ├── shared/ # Shared libraries
│ └── config/ # Shared configuration
└── scripts/ # Utility scriptsproject-root/
├── mise.toml # Root task definitions
├── apps/
│ ├── api/ # Backend application
│ │ └── mise.toml # App-specific tasks
│ ├── web/ # Frontend application
│ │ └── mise.toml
│ └── mobile/ # Mobile application
│ └── mise.toml
├── packages/
│ ├── shared/ # Shared libraries
│ └── config/ # Shared configuration
└── scripts/ # Utility scriptsmise run lint # Lint all apps (parallel)
mise run test # Test all apps (parallel)
mise run dev # Start all dev servers
mise run build # Production buildsundefinedmise run lint # Lint all apps (parallel)
mise run test # Test all apps (parallel)
mise run dev # Start all dev servers
mise run build # Production buildsundefinedundefinedundefined| Task Type | Purpose | Example |
|---|---|---|
| Start development server | |
| Production build | |
| Run test suite | |
| Run linter | |
| Format code | |
| Type checking | |
| Database migrations | |
| 任务类型 | 用途 | 示例 |
|---|---|---|
| 启动开发服务器 | |
| 生产构建 | |
| 运行测试套件 | |
| 运行代码检查 | |
| 代码格式化 | |
| 类型检查 | |
| 数据库迁移 | |
| Topic | Resource File | When to Load |
|---|---|---|
| Validation Pipeline | | Git hooks, CI/CD, change-based testing |
| Database & Infrastructure | | Migrations, local Docker infra |
| API Generation | | Generating API clients |
| i18n Patterns | | Internationalization |
| Release Coordination | | Versioning, changelog, releases |
| Troubleshooting | | Debugging issues |
| 主题 | 资源文件 | 加载时机 |
|---|---|---|
| 验证流水线 | | Git钩子、CI/CD、基于变更的测试 |
| 数据库与基础设施 | | 迁移、本地Docker基础设施 |
| API生成 | | 生成API客户端 |
| 国际化模式 | | 国际化处理 |
| 发布协调 | | 版本管理、变更日志、发布 |
| 问题排查 | | 调试问题 |
mise.toml[tasks.build]
depends = ["lint", "test"]
run = "echo 'Building after lint and test pass'"
[tasks.dev]
depends = ["//apps/api:dev", "//apps/web:dev"]mise.toml[tasks.build]
depends = ["lint", "test"]
run = "echo 'Building after lint and test pass'"
[tasks.dev]
depends = ["//apps/api:dev", "//apps/web:dev"]undefinedundefined
**Sequential (dependent tasks):**
```bash
**串行(依赖任务):**
```bash
**Mixed approach:**
```bash
**混合方式:**
```bashundefinedundefinedundefinedundefinedundefinedundefinedmise listmise configmise doctormise listmise configmise doctor| Issue | Solution |
|---|---|
| Task not found | Run |
| Runtime not found | Run |
| Task hangs | Check for interactive prompts, use |
| Port already in use | Find process: |
| Permission denied | Check file permissions, try with proper user |
| Missing dependencies | Run |
| 问题 | 解决方案 |
|---|---|
| 任务未找到 | 执行 |
| 运行时未找到 | 执行 |
| 任务挂起 | 检查是否有交互式提示,若可用则使用 |
| 端口已被占用 | 查找进程: |
| 权限不足 | 检查文件权限,使用合适用户重试 |
| 依赖缺失 | 执行 |
oh-my-ag agent:spawn../_shared/runtime/execution-protocols/{vendor}.mdoh-my-ag agent:spawn../_shared/runtime/execution-protocols/{vendor}.md../_shared/core/clarification-protocol.md../_shared/core/difficulty-guide.md../_shared/core/clarification-protocol.md../_shared/core/difficulty-guide.md