Each theme needs a .themerc file that describes the theme. The themes that come with the theme manager contain sample .themerc files.
Also take a look the Template.themerc file, which is installed in $KDEDIR/share/apps/kthememgr/Themes. This file contains additional comments on creating themes.