zepp-os-best-practices
Installation
SKILL.md
Zepp OS Best Practices
Context: all runtimes (cross-cutting). Prereq: the contexts and modules these touch — see
zepp-os-fundamentals.
Debugging — there are no breakpoints
Zepp OS tooling has no breakpoint debugger; logging is the primary tool. Use the right logger per context:
| Context | Logger |
|---|---|
| Device App | @zos/utils → log.getLogger(name) (.log/.warn/.debug/.error/.info — filter by level) |
| Side Service / Settings App | console.log |
import { log } from '@zos/utils'
const logger = log.getLogger('page')
logger.log('page created'); logger.error('boom')