Skip to content

Add the six skins that used to ship with Plinth - #3

Merged
ya-luotao merged 1 commit into
mainfrom
six-from-plinth
Nov 10, 2026
Merged

ya-luotao merged 1 commit into
mainfrom
six-from-plinth

Conversation

@ya-luotao

@ya-luotao ya-luotao commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What

The abacus, CRT terminal, mug, piston, seal and space key move here from the app. Plinth will ship only the fish and what a hall is called by; these six become the gallery's first skins, unchanged, under CC0-1.0.

Changes

  • skins/: the six skins, byte for byte the app's artwork. Each skin.json gains author, license, and names with its Chinese name.
  • scripts/skins.py:
    • knows all twenty-one of Plinth's voices. It knew twelve, and three of these skins use ones it didn't (bead, stamp, ceramic).
    • checks names, and the gallery shows them beside the name.
  • CONTRIBUTING.md and README.md say the same.

Checked

  • python3 scripts/skins.py check passes: 6 skins OK.
  • python3 scripts/skins.py pack writes six .plinthskin files. Plinth's own unpacker installs each one, and the frames, voice, strike, glow and both names come back as in the app.

Order

  • The gallery's download links answer once this is merged and the workflow has published the latest release.
  • The Plinth release that drops these six from the app should come after that.
  • names is read by that same Plinth release. Earlier versions ignore it and show name.

🤖 Generated with Claude Code

https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The abacus, CRT terminal, mug, piston, seal and space key shipped with
Plinth and are moving out of the app, which now carries only the fish
and what a hall is called by. They are the gallery's first skins, as
they were in the app, under CC0.

The check knew twelve voices; Plinth has twenty-one, and three of these
skins use ones it didn't know (bead, stamp, ceramic). It now knows them
all, and `names`, a skin's name in other languages, which the gallery
shows beside the name.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T03:59:28.305675Z 13680e5 PR opened
🔒 Security Review ✅ Completed 2026-11-10T04:00:37.320735Z 13680e5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 13680e54fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/skins.py
Comment on lines +142 to +143
others = meta.get("names", {})
title = " · ".join([f"**{meta['name']}**"] + [others[k] for k in sorted(others)]).replace("|", "\\|")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Normalize null localized names before rendering the gallery

For a skin containing "names": null, check() reports no problems because its validation explicitly skips None, but meta.get("names", {}) returns None and sorted(others) raises TypeError. Since every command renders the gallery before dispatching, this prevents check, gallery, and pack from completing for an otherwise accepted skin. Normalize null to an empty mapping here, or reject it during validation with the existing diagnostic.

Useful? React with 👍 / 👎.

@ya-luotao
ya-luotao merged commit 741cf9f into main Nov 10, 2026
1 check passed
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