Platform Abstraction Layers
Create abstraction layers for platform-specific code
Risk Level
MEDIUM
Core Rules
- Properly abstract platforms
- test portability
- validate independence
Response Pattern
When Using This Skill
- Design abstraction
- implement layers
- test compatibility
- Ensure performance meets requirements
Usage Contexts
- Multi-platform development
- code abstraction
What NOT to Do
- Platform-specific leaks
- tight coupling
- poor abstraction
Key Requirements
- Understand the use cases before application
- Follow the documented response pattern
- Validate results in the target environment
- Monitor for performance impact
Further Learning
Review related skills and documentation for deeper understanding of related systems and best practices.