xiaohongshu
xiaohongshu
admin-dashboard-qa
Use this skill when implementing, modifying, or fixing the admin dashboard (admin-dashboard-v2). Triggers for tasks involving dashboard UI, components, pages, features, hooks, or API integration. Orchestrates a rigorous QA workflow with PM review, use case writing, testing, and bug fixing cycles.
Full skill instructions
This skill implements a rigorous multi-agent testing workflow for admin dashboard frontends. It automatically adapts to whichever dashboard version you're working on.
When this skill activates, first determine which dashboard you're working on:
admin-dashboard-v2Dashboard Packages:
packages/admin-dashboard-v2 - Current production versionpackages/admin-dashboard-* directoriesBefore starting, detect the dashboard's test setup:
# Find the correct package
DASHBOARD_DIR="packages/admin-dashboard-v2" # or detected version
# Check for test config
ls $DASHBOARD_DIR/vitest.config.ts # Vitest
ls $DASHBOARD_DIR/jest.config.js # Jest
ls $DASHBOARD_DIR/package.json # Check test scripts
Then adapt commands accordingly:
pnpm test, pnpm test:coveragepnpm test, pnpm test -- --coveragepackage.json scripts┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ PROJECT MANAGER │────▶│ USE CASE WRITER │────▶│ TESTER │
│ (Reviews scope) │ │ (Defines tests) │ │ (Executes tests)│
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
┌──────────────────┐ │
│ DEVELOPER │◀─────────────┘
│ (Fixes bugs) │
└──────────────────┘
│
▼
┌──────────────────┐
│ FULL REGRESSION │
│ TEST │
└──────────────────┘
Before any implementation begins:
Output a PM Summary like:
## PM Summary: [Feature Name]
**Risk Level:** [low/medium/high]
**Affected Components:** [list]
**Acceptance Criteria:**
- [ ] Criterion 1
- [ ] Criterion 2
**Implementation Checklist:**
- [ ] Step 1
- [ ] Step 2
Before testing, define comprehensive use cases by consulting TESTING-MANUAL.md:
Format each use case as:
### UC-[ID]: [Use Case Name]
**Preconditions:** [Setup required]
**Steps:**
1. Step 1
2. Step 2
**Expected Result:** [What should happen]
**Test Type:** [unit/integration/e2e/manual]
Implement the feature following:
pnpm test to verify unit tests passExecute all defined use cases:
cd packages/admin-dashboard-v2 && pnpm testpnpm test:coverageTest Report Format:
## Test Report: [Feature Name]
**Date:** [YYYY-MM-DD]
**Tester:** Claude AI
### Automated Tests
- Total: X
- Passed: X
- Failed: X
- Coverage: X%
### Use Case Results
| UC ID | Description | Status | Notes |
|-------|-------------|--------|-------|
| UC-01 | ... | PASS/FAIL | ... |
### Bugs Found
1. BUG-001: [Description]
- Severity: [critical/high/medium/low]
- Steps to reproduce: ...
For each bug found:
After all bugs are fixed:
pnpm testIMPORTANT: Only mark feature as complete when:
Replace $DASHBOARD with the detected dashboard directory (e.g., admin-dashboard-v2):
# Run all tests
cd planted-availability-db/packages/$DASHBOARD && pnpm test
# Run tests with coverage
cd planted-availability-db/packages/$DASHBOARD && pnpm test:coverage
# Run specific test file
cd planted-availability-db/packages/$DASHBOARD && pnpm test [path/to/test.tsx]
# Run tests in watch mode
cd planted-availability-db/packages/$DASHBOARD && pnpm test:watch
# Build check
cd planted-availability-db/packages/$DASHBOARD && pnpm build
# Lint check
cd planted-availability-db/packages/$DASHBOARD && pnpm lint
When working on a NEW feature not in the Testing Manual:
Explore the feature area:
# Find related components
ls planted-availability-db/packages/$DASHBOARD/src/features/
ls planted-availability-db/packages/$DASHBOARD/src/pages/
Find existing tests as patterns:
# List test files for similar features
find planted-availability-db/packages/$DASHBOARD -name "*.test.tsx" -o -name "*.test.ts"
Define NEW use cases following the format in TESTING-MANUAL.md
Add new use cases to TESTING-MANUAL.md for future regression testing
TESTING-MANUAL.md - Test case library (expand as needed)TEST-REPORT-TEMPLATE.md - Template for test reportsvitest.config.ts or jest.config.js - Test configurationpackage.json - Available scriptsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience