This page provides a form to download template code for writing a WordPress plugin. However, you don’t need any of this to write a WordPress plugin. Especially a simple one. You can get along OK by following the standard directions on how to create a plugin.
So why bother? If you write a more complex plugin, or several plugins, you have to figure out how to manage things like actions that should only happen on the first install, actions to take when upgrading from version X to version Y, and creating some boiler plate code related to creating an administrative options page, short codes and more. You also want to exercise best practices. See more on the Design Tenets page.
This template code and supporting documentation is my cut at template code that provides a code pattern for managing complexity, boiler plate code, convenience functions, and best practices for being a “good plugin citizen.”
Generate code for your plugin and see the Getting Started page.
NOTE: this template does NOT include support for WordPress Multisite.