What problem does it solve?
This Skill codifies the Squad project's conventions to prevent accidental regressions, dependency creep, and cross-platform breakage when contributors modify the CLI, templates, or team-owned files.
Core Features & Use Cases
- Zero-dependency enforcement: Documented rules and examples for using Node.js built-ins only and avoiding new npm runtime dependencies.
- Testing & error-handling standards: Prescribes node:test as the test runner and the fatal() error pattern plus ANSI color constants for consistent user-facing errors.
- Platform and init safety: Guidelines for Windows-safe path construction using path.join(), idempotent init behavior, and safe recursive copy patterns.
- Use Case: Validate an init or upgrade change to ensure it doesn't add dependencies, doesn't use hardcoded path separators, and follows the project's error and test conventions.
Quick Start
Use the squad-conventions skill to validate a proposed change for zero-dependency compliance, Windows-safe paths, and the fatal() error pattern before opening a pull request.