How to set a UI Style Guide?

I want to create a UI Style Guide and how to set a pattern of the alert messages in the Style Guide.