Plugin Author — Learning Path
You want to extend COGANT — add support for a new language, write custom translation rules, build a new exporter, or wire in a domain-specific validator. This path walks you from "I want to extend it" to "I have a working plugin and know how to publish it."
Estimated reading time: ~2 hours. Estimated hands-on time: ~half a day for a first non-trivial plugin.
Steps
-
Plugin Authoring Tutorial — Start here, even if you already know how plugins work in general. This is the COGANT-flavored end-to-end walkthrough: scaffold a plugin, register it via entry points, run it against the test suite, see it picked up by the pipeline. After this you'll have a concrete mental model of where your code fits.
-
Plugin API — The reference for the protocols your plugin implements: parser plugins, translation-rule plugins, exporter plugins, validator plugins. Read the protocol that matches what you're building, plus the shared base classes.
-
Rules Overview — Most plugin work touches the rule system, even indirectly. This page explains how rules are organized, how they're applied, and how rule sets compose. If you're writing a translation rule plugin, this is required reading; if you're writing a parser or exporter, it's useful context.
-
Custom Rules — The practical guide to writing your own rules: the rule schema, conditions and actions, how precedence and conflict resolution work, and how to test rules in isolation before plugging them into the full pipeline.
Adjacent reading (pick what applies)
- By plugin type:
- Plugin lifecycle:
- Quality:
- Rule deep-dives:
Where to go next
- Once your plugin is working, share it following the Plugin Publishing guide.
- To understand how the scoring and review stages consume your plugin's output, see the Scoring API and Review API.
- If your plugin is upstream-worthy, follow the Contributor path to land it in the main repository.