mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
Scaffold author overviews for plugin listings (#6226)
* feat(plugins): scaffold author listing overviews * docs(plugins): refine the author overview contract * docs(plugins): require repository overviews for registry listings * docs(plugins): keep listing guidance focused on authors
This commit is contained in:
@@ -56,6 +56,7 @@ The scaffold includes this `files` list in `package.json`:
|
||||
{
|
||||
"files": [
|
||||
"paseo-plugin.json",
|
||||
"OVERVIEW.md",
|
||||
"index.client.ts",
|
||||
"index.client.tsx",
|
||||
"index.server.ts",
|
||||
@@ -136,6 +137,46 @@ In the app, enter only the source identifier.
|
||||
|
||||
:::
|
||||
|
||||
## Your listing page
|
||||
|
||||
Write `OVERVIEW.md` beside `paseo-plugin.json` for the plugin page inside Paseo.
|
||||
It helps someone decide whether to install your plugin; the install command is already at
|
||||
the top of that page. A README assumes a GitHub audience and carries installation
|
||||
instructions, technical details, and badges. Long, AI-generated READMEs make people read
|
||||
past that material to understand what a plugin does.
|
||||
|
||||
`OVERVIEW.md` is required to list your plugin in the registry. Commit it beside
|
||||
`paseo-plugin.json` in the source repository at the pinned commit. The registry resolves it
|
||||
relative to the manifest, under `pluginPath` for monorepos. Include it in the published npm
|
||||
package too; the scaffold's `files` list includes it. Replace the scaffold's guidance comment
|
||||
with useful facts before publishing.
|
||||
|
||||
The repository overview takes precedence over a registry import stopgap. Online validation
|
||||
fails when the pinned commit has no `OVERVIEW.md`, except for unchanged imported records
|
||||
that already carry `plugins/<owner>/<slug>.md` in the registry repository. Every version bump
|
||||
requires a repository overview and removes the stopgap in the same PR. A bump without the
|
||||
repository overview fails validation. Neither README files nor a `paseo-listing.json`
|
||||
`readme` override supplies the overview.
|
||||
|
||||
Author overviews and registry stopgaps follow the same content contract, in this order.
|
||||
Choose headings only when they help; length follows complexity. A theme needs one paragraph.
|
||||
|
||||
1. Explain what the plugin is and does in plain terms first.
|
||||
2. Explain how it works only when that is not obvious.
|
||||
3. Explain setup when needed: settings, accounts, tokens, providers, external tools, or other
|
||||
plugins. Include applicable daemon version and operating system requirements. Setup
|
||||
guidance is allowed; installation instructions are not.
|
||||
4. Explain capabilities and settings worth understanding, what each option does, what the
|
||||
plugin reads or sends and where, permissions, and known limits.
|
||||
|
||||
Use sentence case and plain factual language, with no em dashes. Omit installation commands,
|
||||
badges, changelog, contributing or license sections, marketing, and unsupported claims.
|
||||
Avoid implementation filler such as empty cleanup functions, catalogs of theme-token fields,
|
||||
or lists of absent features. Keep only what helps someone choose the plugin.
|
||||
|
||||
If your plugin is an unchanged imported record, you can propose an author-written overview
|
||||
to replace the registry stopgap. Do not add import credit to your own `OVERVIEW.md`.
|
||||
|
||||
## Share through GitHub or Git
|
||||
|
||||
Push the plugin project to a repository. Users can install it with:
|
||||
|
||||
Reference in New Issue
Block a user