That is a very broad question, in short you'll have to look at the CityGML data model and compare it to what you have in your source data.Consider both the feature types (layers or tables if you will) and the attributes.
This videoshould give you an idea, but it is 5 years old and FME has evolved a lot in that time.