Skill站外收录 @skilllib/skill-2117939930272411782
skill-orchestrator
根据任务编号和操作类型,自动解析任务上下文并校验状态,按语言类型分发至对应的研究或实现流程,协调多阶段工作流的执行顺序,确保各环节在正确状态下被处理,适用于复杂任务的智能调度与上下文传递。
效率工具 AI 技能
Skills.MD
# Orchestrator Skill
Central routing intelligence for the task management system.
## Trigger Conditions
This skill activates when:
- A slash command needs language-based routing
- Task context needs to be gathered before delegation
- Multi-step workflows require coordination
## Core Responsibilities
### 1. Task Lookup
Given a task number, retrieve full context:
```
1. Read .claude/specs/state.json
2. Find task by project_number
3. Extract: language, status, project_name, description, priority
4. Read TODO.md for additional context if needed
```
### 2. Language-Based Routing
Route to appropriate skill based on task language:
| Language | Research Skill | Implementation Skill |
|----------|---------------|---------------------|
| lua | skill-neovim-research | skill-neovim-implementation |
| general | skill-researcher | skill-implementer |
| meta | skill-researcher | skill-implementer |
| markdown | skill-researcher | skill-implementer |
### 3. Status Validation
Before routing, validate task status allows the operation:
| Operation | Allowed Statuses |
|-----------|------------------|
| research | not_started, planned, partial, blocked |
| plan | not_started, researched, partial |
| implement | planned, implementing, partial, researched |
| revise | planned, implementing, partial, blocked |
### 4. Context Preparation
Prepare context package for delegated skill:
```json
{
"task_number": 10,
"task_name": "task_slug",
"language": "lua",
"status": "planned",
"description": "Full task description",
"artifacts": {
"research": ["path/to/research.md"],
"plan": "path/to/plan.md"
},
"focus_prompt": "Optional user-provided focus"
}
```
## Execution Flow
```
1. Receive command context (task number, operation type)
2. Lookup task in state.json
3. Validate status for operation
4. Determine target skill by language
5. Prepare context package
6. Invoke target skill via Task tool
7. Receive and validate result
8. Return result to caller
```
## Neovim Configuration Routing
### Lua Tasks
- **Research**: skill-neovim-research
- Neovim API exploration
- Plugin documentation research
- Lua pattern discovery
- **Implementation**: skill-neovim-implementation
- TDD workflow with busted/plenary
- lazy.nvim plugin patterns
- Module structure creation
### General Tasks
- **Research**: skill-researcher
- Web search
- Documentation exploration
- **Implementation**: skill-implementer
- Direct code changes
- Non-Lua modifications
### Language Detection Keywords
| Keywords in Description | Detected Language |
|------------------------|-------------------|
| lua, neovim, nvim, plugin, lazy, telescope, lsp, config | lua |
| agent, command, skill, meta, orchestrator | meta |
| (default) | general |
## Return Format
```json
{
"status": "completed|partial|failed",
"routed_to": "skill-name",
"task_number": 259,
"result": {
"artifacts": [],
"summary": "..."
}
}
```
## Error Handling
- Task not found: Return clear error with suggestions
- Invalid status: Return error with current status and allowed operations
- Skill invocation failure: Return partial result with error details
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「skill-orchestrator」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次