blacksugar-testing-system

Orchestrate BlackSugar21 test data workflows through an interactive Node.js CLI.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Black-Sugar-21/Public-BlackSugar21 --skill blacksugar-testing-system-black-sugar-21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blacksugar-testing-system
Source: https://github.com/Black-Sugar-21/Public-BlackSugar21/tree/main/.github/skills/blacksugar-testing
Command: npx skills add https://github.com/Black-Sugar-21/Public-BlackSugar21 --skill blacksugar-testing-system-black-sugar-21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unified test data management system for BlackSugar21 (replaces 19+ legacy scripts). Use WHENEVER: populating test data, creating matches/discovery profiles, verifying match ordering, selective cleanup, multi-user testing (Daniel/Rosita), or debugging match/discovery issues. Single interactive Node.js CLI with match management, discovery profiles, verification, selective cleanup, and comprehensive troubleshooting. Essential for development, testing, and debugging all platforms.

Core Features & Use Cases

  • Match Management: Create, list, message, and verify order of matches in a multi-user testing flow.
  • Discovery Profiles: Generate 5-photo discovery profiles for HomeView/Swipe with test flags and profiles.
  • Verification & Troubleshooting: Comprehensive system checks and diagnostic reporting.
  • Selective Cleanup: Granular cleanup of test data (matches, discovery profiles, or complete cleanup).
  • Multi-User Support: Switch between Daniel and Rosita for cross-user testing.

Quick Start

Run the unified test system CLI by executing node scripts/test-system-unified.js.

Frequently Asked Questions about blacksugar-testing-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage test data in Firestore for multi-user testing workflows?

You can manage Firestore test data for multi-user testing by running a unified Node.js CLI that orchestrates match creation, discovery profiles, and selective cleanup across development platforms. It enforces test-data patterns and staggered timestamps for safe test entity modification.

How do I create discovery profiles with test flags for Swipe and HomeView testing?

Creating discovery profiles with test flags for Swipe and HomeView involves running an interactive Node.js CLI that generates 5-photo discovery profiles. The CLI enforces test-data patterns and batch operations to safely populate Firestore-like data models.

What is the best way to consolidate legacy test scripts into a single CLI for Firestore data?

Consolidating legacy test scripts into a single CLI involves replacing multiple standalone scripts with an interactive Node.js command tool. This unified system handles match management, discovery profiles, verification, and granular cleanup while enforcing robust error handling.

Can I selectively clean up matches and discovery profiles in Firestore without deleting all test data?

Yes, you can selectively clean up matches and discovery profiles in Firestore without deleting all test data. The CLI supports granular cleanup, allowing you to target specific test entities like matches, discovery profiles, or perform a complete cleanup.

How do I verify match ordering and troubleshoot test data issues in a Node.js testing environment?

Verifying match ordering and troubleshooting test data issues in a Node.js environment involves running comprehensive system checks and diagnostic reporting through the CLI. It supports staggered timestamps and robust error handling to safely identify and resolve match discrepancies.

Does the unified test data CLI support switching between different users for cross-user match testing?

Yes, the unified test data CLI supports switching between different users, specifically Daniel and Rosita, for cross-user match testing. This allows you to simulate multi-user interactions, verify match ordering, and test messaging workflows across development platforms.