Contributing
How to contribute to the Ontopix Claude Code setup — adding plugins, creating skills, and updating documentation.
This guide explains how to contribute to the Ontopix Claude Code setup — adding plugins, creating skills, and updating documentation.
How This Repository Works
This is a plugin marketplace repository. It contains:
- The ontopix plugin in
plugins/ontopix/— the thin plugin that connects Claude Code to Ontopix patterns via MCP. - A marketplace manifest in
.claude-plugin/marketplace.json— the registry that allowsclaude plugin installto find the ontopix plugin. - Documentation in
docs/— the publishable documentation for theclaude-setupcollection on docs.ontopix.dev.
External plugins (superpowers, sanctum, pensive, etc.) are installed from their own marketplaces and are not part of this repository.
Proposing a New Plugin or Marketplace
If you find a useful Claude Code plugin that should be part of the recommended setup:
- Open an issue describing the plugin, what it does, and why it is useful for Ontopix engineers.
- Add the install command to
README.mdunder the appropriate section (Marketplaces, Plugins, or MCP Servers). - Test the installation end-to-end:
claude plugin marketplace add <marketplace> claude plugin install <plugin>@<marketplace> - Update the documentation in
docs/if the plugin adds significant new capabilities. - Submit a PR with a clear description of why this addition benefits the team.
Adding a Skill to the Ontopix Plugin
The ontopix plugin supports custom skills. To add one:
- Scaffold the skill:
task create:skill PLUGIN=ontopix SKILL=skill-name - Edit the skill file at
plugins/ontopix/skills/<name>/SKILL.md. Write concise instructions that tell Claude what to do when the skill is invoked. - Register the skill in
plugins/ontopix/.claude-plugin/plugin.jsonby adding its path to theskillsarray. - Keep skills thin. Skills should instruct Claude to query MCP for live patterns, not embed content. This follows the thin plugin philosophy described in the .
- Test locally:
task test:plugin PLUGIN=ontopix - Validate:
task validate:plugin PLUGIN=ontopix
Updating Documentation
The docs/ folder contains publishable documentation for the claude-setup collection on docs.ontopix.dev.
To update documentation:
- Edit files in
docs/. All documentation uses Markdown. - Follow the existing structure — see the for how pages are organized.
- Maintain cross-references. Use relative paths for links between docs (e.g.,
[Getting Started](getting-started.md),[superpowers](plugins/superpowers.md)). - Test that links resolve. Ensure every relative link points to a file that exists.
- Submit a PR with a description of what changed and why.
Documentation Structure
docs/
├── index.md # Philosophy and overview
├── getting-started.md # Installation walkthrough
├── available-tools.md # Quick reference tables
├── contributing.md # This file
├── plugins/
│ ├── index.md # Plugin ecosystem overview
│ ├── superpowers.md # Per-plugin guides
│ ├── sanctum.md
│ └── ...
└── use-cases/
├── index.md # Workflow quick reference
├── brainstorming.md # Per-use-case guides
├── specification.md
└── ...
Testing Changes Locally
Use the Taskfile to validate your changes before submitting a PR:
| Task | Command | Description |
|---|---|---|
| Install plugin | task test:plugin PLUGIN=ontopix | Install the plugin locally for testing |
| Remove plugin | task test:remove PLUGIN=ontopix | Remove the plugin after testing |
| Validate plugin | task validate:plugin PLUGIN=ontopix | Check plugin.json structure |
| Lint plugin JSON | task lint:plugins | Lint all plugin.json files |
| Validate marketplace | task lint:marketplace | Validate marketplace.json |
| Validate structure | task validate:structure | Check repository structure |
PR Guidelines
- Keep PRs focused on a single logical change.
- Test locally before submitting.
- Update docs if adding or changing skills, plugins, or MCP servers.
- Follow conventional commits — the PR title becomes the squash commit message on master. Use the format
type(scope): description(e.g.,feat(plugin): add new skill,docs: update getting started guide). See Ontopix git conventions for details. - Get approval before merging — at least one review is required.