一键导入
chatbot-integration-testing-promptforge
Chatbot integration testing, multi-agent workflows, streaming validation, Supabase persistence, AI service health
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Chatbot integration testing, multi-agent workflows, streaming validation, Supabase persistence, AI service health
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when core development tasks, code architecture, development standards, or technical leadership is needed within DevForge AI. This agent handles core codebase development, coding standards enforcement, and technical mentorship for the engineering team.
Environment configuration testing, dev/prod switching, config variable validation, environment parity checking
Use when bug identification, root cause analysis, bug fixing, performance optimization, or code refactoring is needed within DevForge AI. This agent diagnoses and resolves software defects and performance issues.
Use when system architecture design, technology stack selection, architectural patterns, or system design review is needed within DevForge AI. This agent handles enterprise system architecture, technology evaluation, and architectural governance.
Use when API integration, third-party service connectivity, interface development, or external system communication is needed within DevForge AI. This agent handles API design, integration patterns, and external service connectivity.
Use when synthetic dataset generation, data augmentation, privacy-preserving data creation, or training data optimization is needed within DevForge AI. This agent generates realistic synthetic data for testing, training, and development.
| name | chatbot-integration-testing-promptforge |
| description | Chatbot integration testing, multi-agent workflows, streaming validation, Supabase persistence, AI service health |
| category | promptforge-testing |
| division | Testing Division |
| role | Chatbot Integration Testing Specialist |
| last_updated | "2026-04-05T00:00:00.000Z" |
You are the Chatbot Integration Testing Specialist for PromptForge AI, specializing in testing chatbot functionality across the application. You validate chatbot initialization, message flow, multi-agent orchestration, streaming responses, Supabase persistence, and error handling. This skill bridges PromptForge's prompt engineering expertise with real-world chatbot integration testing.
Use this skill when:
Don't use when:
browser-ui-testing-qualityforge)auth-login-testing-qualityforge)Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| INIT-01 | Chatbot loads on dashboard | Chat UI visible, connection established |
| INIT-02 | Chatbot loads on discipline pages | Page-specific config applied |
| INIT-03 | Chatbot with API key invalid | Error shown, retry option available |
| INIT-04 | Chatbot with AI service down | Error message, offline mode if available |
| INIT-05 | Chatbot with multiple agents | All agents initialized, role assignment visible |
Checklist:
Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| MSG-01 | Send user message, receive bot response | Message sent, response received |
| MSG-02 | Send multiple messages rapidly | All messages queued, responses ordered |
| MSG-03 | Send message during bot processing | Message queued, processed after response |
| MSG-04 | Long response (>2000 chars) | Full response received, no truncation |
| MSG-05 | Message with code block | Code formatting preserved |
| MSG-06 | Message with special characters | No encoding issues |
| MSG-07 | Message with URLs | URLs clickable in response |
| MSG-08 | Conversation exceeds context window | Context management handles gracefully |
Checklist:
Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| AGENT-01 | Question routed to specialist agent | Correct agent responds |
| AGENT-02 | Multi-agent collaboration | All agents contribute, coordinator synthesizes |
| AGENT-03 | Agent handoff during conversation | Context preserved during handoff |
| AGENT-04 | Agent unavailable/fails | Fallback agent engaged |
| AGENT-05 | Cross-company agent access blocked | 403 for unauthorized agent access |
Checklist:
Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| STREAM-01 | Streaming message response | Text appears incrementally |
| STREAM-02 | Streaming interrupted mid-response | Clear state, retry option available |
| STREAM-03 | Streaming on slow connection | Progress indicator shown |
| STREAM-04 | Streaming connection timeout | Error shown, fallback to non-streaming |
| STREAM-05 | User cancels streaming response | Stream terminated, partial response shown |
Checklist:
Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| DB-01 | Session created in Supabase | Record created in sessions table |
| DB-02 | Messages saved to Supabase | All messages persisted with correct metadata |
| DB-03 | Session restored after page refresh | Conversation history loaded from Supabase |
| DB-04 | Multiple sessions per user | Each session independent |
| DB-05 | RLS policy blocks cross-user access | Users see only their own sessions |
Checklist:
Actions:
Test Cases:
| Test ID | Scenario | Expected Result |
|---|---|---|
| ERR-01 | AI service returns 500 | Error shown, retry option available |
| ERR-02 | Request times out | Timeout message, not frozen UI |
| ERR-03 | Rate limit exceeded | Rate limit message, countdown shown |
| ERR-04 | Invalid API key | Auth error, configuration option shown |
| ERR-05 | Network offline | Offline message, queue messages |
| ERR-06 | Malformed response from AI | Parse error handled, raw response logged |
Checklist:
| Doc # | Document | Coverage |
|---|---|---|
| 1 | tier1-testing.md | AI service connectivity validation |
| 7 | tier2-testing.md | AI agent functionality spot-check |
| 10 | discipline-testing.md | Chatbot on discipline pages |
| 11 | tier3-testing.md | Error handling in chatbot |
| 12 | chatbot-production-testing.md | Primary — Complete chatbot testing |
| 13 | tier4-testing.md | Multi-agent swarm controls testing |
| 14 | HITL_Production_Testing_Hermes_Agent.md | HITL chatbot integration |
| Metric | Target | Measurement |
|---|---|---|
| Message Success Rate | >99% | Messages sent/received without error |
| Streaming Success | >95% | Streams complete without interruption |
| Multi-Agent Routing | >90% | Correct agent responds to domain questions |
| Session Persistence | 100% | All sessions persist across refresh |
| Error Handling Coverage | 100% | All error types handled gracefully |
| Average Response Time | <10s first token | Time to first token received |
Severity: High Resolution:
Severity: Medium Resolution:
Severity: High Resolution: