platform-separation-validator

Installation
SKILL.md

Platform Separation Validator

Overview

This skill enforces the critical platform separation architecture that prevents Node.js dependencies in React Native code and ensures security-critical operations (cryptography, authentication, data encryption) remain exclusively server-side. The skill validates import paths, detects violations, and guides developers toward compliant patterns.

Core Principle: Client (React Native) and Server (NestJS) have fundamentally different capabilities. Mixing them causes bundle failures, security vulnerabilities, and runtime crashes.

When to Use This Skill

Use this skill when:

  • Reviewing code changes for platform separation violations
  • Implementing new features that span client and server
  • Debugging import errors or "Cannot find module" issues
  • Refactoring shared libraries for platform compatibility
  • Auditing codebase for separation compliance (100% compliance required)
  • Creating new shared libraries that need client/server separation
  • Investigating bundle size issues or Node.js dependency leaks
Installs
3
GitHub Stars
1
First Seen
May 11, 2026