Skip to content

docs: add CONTRIBUTING for plugin authors#9

Merged
Maik-0000FF merged 2 commits into
mainfrom
docs/contributing
Jun 6, 2026
Merged

docs: add CONTRIBUTING for plugin authors#9
Maik-0000FF merged 2 commits into
mainfrom
docs/contributing

Conversation

@Maik-0000FF

Copy link
Copy Markdown
Owner

What

Adds CONTRIBUTING.md for the plugins repo, the process counterpart to the CI gates (Layer 1 of Maik-0000FF/SpaceUX#426).

It documents:

  • the repository layout (the function / theme / nav-style / shape folders and what a plugin directory contains);
  • the manifest.json schema enforced by scripts/validate-plugins.mjs (required fields, kind matching the folder, reverse-DNS unique id, semver, kind-specific payload);
  • the CI gates a PR runs (manifest validation, no binaries, code scan, gitleaks, CodeQL), so contributors know the rules before they hit them;
  • security expectations for plugin code (a plugin runs with the user's privileges; no eval/Function, no obfuscation, minimal dependencies; the runtime capability model is in progress);
  • the official vs community distinction;
  • how to submit, including the local commands to run the checks.

Why

A shared, up-front reference makes the automated gates predictable for contributors and gives reviewers a consistent checklist.

Refs Maik-0000FF/SpaceUX#426

Document the repo layout, the manifest schema, the CI gates (manifest
validation, no binaries, code scan, gitleaks, CodeQL), the security
expectations for plugin code, and the official-vs-community distinction,
so contributors know the rules up front and reviewers have a shared
reference.

Refs Maik-0000FF/SpaceUX#426
…w-checked

Close the two gaps from review: document that a theme plugin carries only
the common manifest fields (its styling lives in its own files), and that
the SPDX header is a convention enforced in review rather than by a CI gate.

Refs Maik-0000FF/SpaceUX#426
@Maik-0000FF Maik-0000FF merged commit 6044b05 into main Jun 6, 2026
6 checks passed
@Maik-0000FF Maik-0000FF deleted the docs/contributing branch June 6, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant