# Add plugin check when trying to install as theme component

**URL:** https://meta.discourse.org/t/add-plugin-check-when-trying-to-install-as-theme-component/307879
**Category:** Feature
**Created:** [May 14, 2024, 8:37am UTC](https://meta.discourse.org/t/add-plugin-check-when-trying-to-install-as-theme-component/307879 "2024-05-14T08:37:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 14, 2024, 8:37am UTC](https://meta.discourse.org/t/add-plugin-check-when-trying-to-install-as-theme-component/307879/1 "2024-05-14T08:37:03Z")

</div>

> [@Adding an RSS feed as topics in my site](https://meta.discourse.org/t/adding-an-rss-feed-as-topics-in-my-site/307858/4):
>
> It’s a plugin rather than a theme, and needs to be installed in your `app.yml`. There are instructions linked in the plugin topic itself if you need them. 👍

This happens frequently and the “are you sure this is a theme” clearly isn’t a good enough prompt since people post here as if there is a problem with the code. Maybe that code should also look for a `plugin.rb` (or other indicator) and say that it’s a plugin with a link to plugin install instructions.

I think `package.json` seems like the best test, right? It’s possible to have a plugin that doesn’t have a `plugin.rb` file (in which case, the plugin should be re-written as a theme component, but that’s another problem).
