Polars Pipeline Explainer #
Source for the Polars Pipeline Explainer workspace plugin.
The plugin helps students unpack complex Polars pipelines into meaningful dataframe transformations, with particular attention to changes in what one row represents (for example, token -> file -> category).
Layout #
plugin.json
.codex-plugin/plugin.json
skills/
explain-polars-pipeline/
SKILL.md
references/
course-context.md
visualization-guidelines.md
plugin.json is the primary plugin manifest. .codex-plugin/plugin.json is a compatibility manifest and repeats some metadata; keep the two synchronized when changing the version or user-facing metadata.
The package's internal identifier remains polars-pipeline-explainer because that is the identity of the existing workspace plugin. Its user-facing display name is Polars Pipeline Explainer.
Version-control workflow #
Initialize the repository in this directory:
git init
git add .
git commit -m "Polars Pipeline Explainer 0.1.2"
git tag v0.1.2
For a change:
- Edit the skill or reference files.
- Update the version in both
plugin.jsonand.codex-plugin/plugin.json. - Review the diff and commit it.
- Package the plugin directory.
- Update the existing workspace plugin rather than creating a new one.
- Tag the commit after the plugin update succeeds.
A simple release history can therefore match Git tags to plugin versions: v0.1.2, v0.1.3, and so on.
Packaging #
The distributable archive should contain this directory as the single plugin directory. From the parent directory, run:
zip -r polars-pipeline-explainer.zip polars-pipeline-explainer \
-x 'polars-pipeline-explainer/.git/*' \
'polars-pipeline-explainer/.DS_Store' \
'polars-pipeline-explainer/dist/*'
The resulting ZIP can be used to update the existing workspace plugin.
Where to edit behavior #
skills/explain-polars-pipeline/SKILL.md: core behavior, audience, decomposition rules, and response style.skills/explain-polars-pipeline/references/course-context.md: course conventions, Brown Corpus schema, and corpus-linguistics context.skills/explain-polars-pipeline/references/visualization-guidelines.md: stepper layout and visual grammar.
Keep stable course context in the references and behavioral rules in SKILL.md so revisions remain easy to review in Git.