Ray's Knowledge Base
Unlock

The Claude Code mod validator requires $ helpers at top level and .tsx for JSX

FactVerified 2 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.

Statement#

The Claude Code mod validator (claude plugin validate) requires helper functions that take $ to be declared at the top level of the mod file, not inside register. A mod with JSX (pane, band) must use the .tsx extension.

Evidence#

claude plugin validate on the rkb/rvow mods; the errors named the helper placement and the extension.

Also found by searching

  • claude plugin validate fails on mod with helpers inside register
  • mod must be .tsx because of JSX pane
  • $ helper function validator top level
  • claude plugin validate mod requirements