Skip to content

Add config skill - #30

Merged
sebastianekstrom merged 14 commits into
mainfrom
skills/polar-config
Nov 27, 2026
Merged

sebastianekstrom merged 14 commits into
mainfrom
skills/polar-config

Conversation

@sebastianekstrom

@sebastianekstrom sebastianekstrom commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Hold off merging this until the Python config is fully supported and the TS config is fully tested

Closes https://linear.app/polarsh/issue/XP-58/skill-skills-confused-claude-for-python-projects

Closes https://linear.app/polarsh/issue/XP-79/skill-create-skill-for-cicd

A Python project uses polar.config.json, which declares meters, benefits and products like the TypeScript file. The skill still described a Python format limited to meters, and agents repeated that. Describe the two formats that exist, show a full JSON example with its money rules, and add polar config generate for typed names in application code.
A catalog is managed in the dashboard unless the organization turns config on, and the skills did not say so. With a config file, publishing gives a changed product a new ID, so an app that stores the product ID breaks on the next price change. Tell agents to use external IDs through the 2027-01 API in that case, and keep setup-polar from creating products through the API for a config organization.
A first-time setup only followed the dashboard way and met a config file by accident. Ask up front which way the user wants to manage the catalog, describe both, and send the config choice to the polar-config skill.
…onfig

# Conflicts:
#	skills/setup-polar/SKILL.md
Drop the claim that webhooks apply right away, explain the settings section init writes, and say that a new meter does not count usage until publish. When the CLI is signed out, ask whether the user has an organization, wants the agent to create one, or will create it themselves. Cover config projects in the checkout test of polar-testing, the production step of setup-polar and the webhook import of polar-integration.
@sebastianekstrom sebastianekstrom changed the title Do not merge: Add config skill Add config skill Nov 27, 2026
@sebastianekstrom
sebastianekstrom added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 208a5fb Nov 27, 2026
10 checks passed
@sebastianekstrom
sebastianekstrom deleted the skills/polar-config branch November 27, 2026 13:21
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