doc: add yaml design doc (#5)