How to include posts with a theme

Export the posts via the exporter at wp_admin->Tools->Export and bundle the resulting file. Provide the end user with instructions for importing them– basically, install the WordPress importer and then visit wp_admin->Tools->Import.

Please do not try to force installation of your posts automatically as it will insert data into the user’s database. That just isn’t friendly.