Files
reader-app/.github/prompts/multi-agent-workflow.prompt.md
T
virtus 6946083aee
Build Android APK / build-apk (push) Failing after 4m37s
feat: Enhance chapter list and TTS functionality
- Introduced ChapterListQuery and ChapterListPage classes for better chapter management.
- Updated chapterListProvider to handle pagination and canonical ID resolution.
- Improved ReaderScreen with enhanced TTS features, including auto-scroll to active paragraph and better handling of TTS state.
- Added TtsPlayerWidget with compact mode and improved UI for TTS controls.
- Enhanced TtsService to manage speech segments and background mode for TTS.
- Implemented battery optimization checks for TTS background mode on Android.
- Updated main.dart to ensure proper error handling in a zoned environment.
2026-04-07 18:49:29 +07:00

1.3 KiB

name, description, argument-hint, agent
name description argument-hint agent
Multi-Agent Workflow Use when: vận hành chu kỳ Planner -> Coder -> Tester -> Debugger cho tính năng mới hoặc bugfix Nêu tính năng/bug cần xử lý, phạm vi web-mobile-api, và tiêu chí hoàn tất System Architect Agent

Điều phối quy trình Multi-Agent theo chu kỳ sau, bám sát phạm vi người dùng cung cấp.

Quy trình bắt buộc:

  1. Planner: dùng tư duy @workspace + plan-first để thiết kế feature/bugfix scope và các mốc triển khai.
  2. Coder: triển khai đồng bộ phần Backend API và phần Web/Mobile liên quan theo contract hiện hành.
  3. Tester: gọi SDET Agent để tạo/chạy test tự động.
  • API: ưu tiên Postman/Newman.
  • Mobile: ưu tiên Flutter integration_test.
  1. Debugger: nếu crash/lỗi runtime, gọi Sleuth Debugger Agent phân tích log và đề xuất patch nhỏ nhất.

Ràng buộc:

  • API phải REST-only.
  • Contract chuẩn dùng duy nhất reader-api/docs/openapi.yaml.
  • Báo cáo rõ tác động tới web và mobile sau mỗi thay đổi contract.

Kết quả bắt buộc:

  • Kế hoạch triển khai theo bước.
  • Danh sách file thay đổi theo từng pha.
  • Kết quả test pass/fail.
  • Root cause + patch nếu có lỗi.
  • Danh sách việc còn lại trước khi merge.