sync-to-codex-plugin: seed interface.defaultPrompt#1180
Merged
Conversation
Codex plugin pages use interface.defaultPrompt to show suggested prompts on the plugin's app card; the generator now emits two domain-neutral seed prompts so the superpowers listing isn't empty. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 tasks
ronnyf
pushed a commit
to ronnyf/superpowers
that referenced
this pull request
Apr 27, 2026
Codex plugin pages use interface.defaultPrompt to show suggested prompts on the plugin's app card; the generator now emits two domain-neutral seed prompts so the superpowers listing isn't empty. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem are you trying to solve?
Codex plugins surface an
interface.defaultPromptarray as suggestedprompts on the plugin's app page (see the figma plugin's
plugin.jsonfor the canonical shape). The superpowers plugin generator in
scripts/sync-to-codex-plugin.shomits that field entirely, so whenthe generated
plugin.jsonlands in the openai-codex-plugins mirrorthe superpowers app card has no onboarding hints — users who open the
listing see an empty prompt-suggestion area.
What does this PR change?
Adds
defaultPromptto theinterfaceblock of the heredoc ingenerate_plugin_json(), seeded with two generic prompts. No otherfields change; the rest of the manifest is byte-identical.
Is this change appropriate for the core library?
Yes.
sync-to-codex-plugin.shis core tooling (added in #1165) andevery sync run through it produces the manifest this edit shapes. The
two seed prompts are deliberately domain-neutral ("I've got an idea
for something I'd like to build." / "Let's add a feature to this
project.") so they apply to any user, any project.
What alternatives did you consider?
Making the prompts configurable via a flag or env var. Rejected: the
rest of the heredoc (displayName, description, category, colors,
icons) is all hard-coded, so threading one field through a config
layer would be inconsistent and buy nothing — editing the script is
the same friction as editing an env var.
Does this PR contain multiple unrelated changes?
No. One field added in one file.
Existing PRs
Environment tested
Verified by extracting
generate_plugin_jsonand running it against/tmp/sp-plugin-test.json, then parsing the result withpython3 -m json.tool— output is valid JSON andinterface.defaultPromptcontains both seed strings. Did not run thefull sync end-to-end (would push to a fork destination).
Evaluation
Not a skills change — no behavior-shaping content touched. The change
is a pure additive manifest field; eval criterion is "generated JSON
still parses and contains the expected array," which it does.
Rigor
(verified JSON validity after edit; confirmed apostrophes in the
string literals survive the unquoted heredoc without shell
interpolation)
Human review