[Compass-ci] [PATCH compass-ci] code-spec: refactor friendly principles