molecule-ci
Shared CI workflows for the Molecule AI ecosystem. Every plugin, workspace template, and org template repo calls these reusable workflows to enforce a standard validation gate.
Usage
Plugin repos (molecule-ai-plugin-*)
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
validate:
uses: Molecule-AI/molecule-ci/.github/workflows/validate-plugin.yml@main
Workspace template repos (molecule-ai-workspace-template-*)
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
validate:
uses: Molecule-AI/molecule-ci/.github/workflows/validate-workspace-template.yml@main
Org template repos (molecule-ai-org-template-*)
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
validate:
uses: Molecule-AI/molecule-ci/.github/workflows/validate-org-template.yml@main
What each workflow validates
validate-plugin
| Check |
Severity |
What it catches |
plugin.yaml exists |
Error |
Missing manifest |
| Required fields (name, version, description) |
Error |
Incomplete plugin |
| Has content (SKILL.md, hooks/, skills/, or rules/) |
Error |
Empty plugin |
| SKILL.md starts with heading |
Warning |
Bad formatting |
| No committed secrets |
Error |
Leaked API keys |
| No build artifacts |
Error |
node_modules, pycache |
validate-workspace-template
| Check |
Severity |
What it catches |
config.yaml exists |
Error |
Missing config |
| Required fields (name, runtime) |
Error |
Incomplete template |
template_schema_version: 1 |
Error |
Missing version contract |
| Known runtime check |
Warning |
Typo in runtime name |
adapter.py imports molecule_runtime |
Warning |
Legacy imports |
| Dockerfile builds |
Error |
Broken image |
| molecule-ai-workspace-runtime dependency |
Warning |
Missing base package |
| No committed secrets |
Error |
Leaked API keys |
validate-org-template
| Check |
Severity |
What it catches |
org.yaml exists |
Error |
Missing org definition |
| Required fields (name) |
Error |
Incomplete template |
| Workspace structure valid |
Error |
Malformed hierarchy |
files_dir references exist |
Warning |
Broken system-prompt paths |
template_schema_version present |
Warning |
Missing version contract |
| No committed secrets |
Error |
Leaked API keys |
License
Business Source License 1.1 — © Molecule AI.