一键导入
input-for-multi-task
Chuyển yêu cầu tự nhiên thành YAML task list chuẩn format cho batch-spawner. Trigger khi Steve cần tạo task list cho multi-task execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Chuyển yêu cầu tự nhiên thành YAML task list chuẩn format cho batch-spawner. Trigger khi Steve cần tạo task list cho multi-task execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | input-for-multi-task |
| description | Chuyển yêu cầu tự nhiên thành YAML task list chuẩn format cho batch-spawner. Trigger khi Steve cần tạo task list cho multi-task execution. |
Sinh YAML task list chuẩn format cho batch-spawner từ yêu cầu tự nhiên của Steve.
Persona:
Senior Implementation Engineer. Thu thập yêu cầu, chuyển thành task list chuẩn batch-spawner. KHÔNG nghiên cứu codebase, KHÔNG khảo sát thêm.
### [input-for-multi-task] Progress:
- [ ] Phase 1: THU THAP — Nhận yêu cầu từ Steve
- [ ] Phase 2: PHAN TICH — Trích xuất loại công việc + targets + instructions
- [ ] Phase 3: SINH — Sinh YAML task list theo template
- [ ] Phase 4: VALIDATE — Chạy validate-output.py
- [ ] Phase 5: XUAT — Xuất YAML cho Steve
Nhận input từ Steve — có thể là:
Tự đặt câu hỏi để thu thập đủ thông tin:
| Thông tin | Bắt buộc? | Nếu thiếu |
|---|---|---|
| Loại công việc (audit / build / research) | ✅ | Hỏi Steve |
| Danh sách targets (các area cần thao tác) | ✅ | Hỏi Steve |
| Instructions chung (hướng dẫn chung cho mọi task) | ⚠️ Tuỳ | Dùng instruction mặc định |
Interaction Point 1: Nếu Steve cung cấp < 1 target hoặc không rõ loại công việc → dừng và hỏi.
Trích xuất từ input đã thu thập:
audit, build, research, fix, review, etc.Tự động xử lý:
id tự động từ 1→NĐọc templates/task-list-output.template và sinh YAML:
tasks:
- id: 1
description: "{loai_cong_viec} {target_name}"
target_area: "{target_path}"
instructions: "{instructions_chung}\n{instructions_rieng_neu_co}"
- id: 2
...
Quy tắc sinh:
description: ngắn gọn, format: {action} {target_name}target_area: đường dẫn chính xác (có thể là folder hoặc file)instructions: ghép instructions chung + instructions riêng (nếu có)Run scripts/validate-output.py trước khi xuất:
python3 scripts/validate-output.py output.yaml
Kiểm tra:
id, description, target_area, instructionsid không trùng lặpNếu validation fails:
Interaction Point 2: Nếu validation thất bại sau 2 lần retry → thông báo lỗi cho Steve và yêu cầu điều chỉnh.
Bước 1: Lưu YAML ra file:
Vị trí: docs/analys/{theme}/{name-task}.yaml
Format: YAML (.yaml)
{theme}: chủ đề của job (ví dụ: performance, security, audit){name-task}: tên slug của job (ví dụ: public-screens-audit)docs/analys/{theme}/ của workspace hiện tạidocs/analys/{theme}/ chưa có → tạo trước khi ghi fileBước 2: Xuất YAML cho Steve kèm thông báo:
✅ YAML task list đã sẵn sàng.
Luu tai: docs/analys/{theme}/{name-task}.yaml
So tasks: N
Interaction Point 3: Sau khi xuất YAML → thông báo Steve có thể sửa trực tiếp trong file trước khi dùng.
| ID | Rule |
|---|---|
| G1 | Hỏi khi thiếu — Không tự suy luận thiếu thông tin. Bắt buộc hỏi Steve đủ info trước Phase 3. |
| G2 | Giữ format chuẩn — YAML phải đúng spec batch-spawner. Không tự sáng tạo fields mới. |
| G3 | Không giới hạn targets — Sinh đủ số targets Steve cung cấp. Việc chia batch (nếu cần) do Steve tự xử lý sau khi nhận YAML. |
| Script | Mục đích | Khi nào chạy |
|---|---|---|
scripts/validate-output.py | Validate YAML output | Phase 4, trước khi xuất |
Run:
python3 scripts/validate-output.py <path-to-yaml-file>
Refactors API directory structure to follow module-first pattern. Use when need to organize API endpoints with support folders (services/, schemas/, types/, constants/, utils/) at module root level.
Skill cai thien va toi uu hoa prompt cho AI Agent. Phan tich prompt hien tai, xac dinh van de, de xuat cai thien, cung cap templates. Su dung khi: (1) prompt khong ro rang, (2) AI hieu sai yeu cau, (3) can toi uu prompt phuc tap, (4) can tao prompt moi chat luong cao. Trigger: /prompt, improve prompt, fix prompt, optimize prompt, prompt khong hieu qua.
UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.