# Does Discourse have custom plugin templates, and how do I write custom plugins?

**URL:** https://meta.discourse.org/t/discourse/378523
**Category:** Support
**Created:** [August 14, 2025, 3:30am UTC](https://meta.discourse.org/t/discourse/378523 "2025-08-14T03:30:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [August 14, 2025, 3:41am UTC](https://meta.discourse.org/t/discourse/378523/2 "2025-08-14T03:41:14Z")

</div>

> [@Developing Discourse Plugins - Part 1 - Create a basic plugin](https://meta.discourse.org/t/developing-discourse-plugins-part-1-create-a-basic-plugin/30515):
>
> Building a plugin in Discourse can be really simple, once you learn a couple of quirks. The goal of this post is to create a skeleton plugin and introduce you to the basics. Your development environment Make sure you have a development environment of Discourse running on your computer. I recommend you use [the appropriate setup guide](https://meta.discourse.org/tag/dev-install) and come back when you’re done. plugin.rbtada Use [GitHub - discourse/discourse-plugin-skeleton: Template for Discourse plugins · GitHub](https://github.com/discourse/discourse-plugin-skeleton) to create a complete di…

You need to have a Discourse development install. For example, [Developing Discourse using a Dev Container](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366?silent=true)

After install it, run

```plaintext
rake plugin:create[your-plugin-name]

```

It will pull [discourse/discourse-plugin-skeleton: Template for Discourse plugins](https://github.com/discourse/discourse-plugin-skeleton) to generate a plugin with the most modern and recommend starting template.

---

_[View the full topic](https://meta.discourse.org/t/discourse/378523)._
