AgentSkillsCN

test-classifier

测试分类器

SKILL.md

Test Classifier Skill

Purpose

Organizes and classifies tests by domain (backend/frontend/database/devops), ensuring proper test organization and enabling targeted test execution.

Tier

Tier 1-2 - MVP Launch to Growth

Classification Rules

yaml
backend_tests:
  - API endpoints
  - Business logic
  - Service layer
  - Background jobs
  - Authentication

frontend_tests:
  - React components
  - User interactions
  - Visual rendering
  - State management
  - Accessibility

database_tests:
  - Data integrity
  - Migrations
  - Constraints
  - Performance queries
  - Transactions

devops_tests:
  - Deployment scripts
  - Infrastructure as code
  - Monitoring alerts
  - Scaling rules
  - Backup/restore

Output Structure

Tests are organized into domain-specific folders within ai-state/regressions/ for easy discovery and execution.

Integration

  • Works with regression-runner for test execution
  • Triggered by task-completion-hook
  • Updates test inventory in operations.log