The GRIB edition 2 templates and tables are published to the Manual on Codes, Volume I.2 (WMO-No. 306) in Part B.
The CSV files are the working documents. The TXT and XML files are generated automatically.