← ClaudeAtlas

etemaro-strategy-validatorlisted

Validate Etemaro strategy JSON files through the Etemaro CLI and report whether each strategy is valid or invalid, plus which fields are unknown and will therefore be ignored by the runtime. Use this skill whenever the user asks to validate, lint, check, or sanity-check a strategy JSON file (config/shared/strategy-library.json, an agent strategy entry, or a pasted strategy object), asks "is this strategy valid?", "why is my strategy field ignored?", "check the strategy schema", or "does this strategy have unknown fields?". Trigger even without the word "validate": pointing at a strategy JSON and asking what is wrong or what will be used is this skill.
romankurnovskii/etemaro · ★ 43 · Data & Documents · score 67
Install: claude install-skill romankurnovskii/etemaro
# Etemaro Strategy Validator Validates strategy JSON against the canonical `Strategy` schema using the **Etemaro CLI** as the single source of truth. Never re-implement the schema in a script — call the command. User config uses the same CLI and the same report format (`etemaro config validate`). Why this matters: `StrategyLibraryManager.loadMerged()` casts the JSON straight to `Strategy` with no normalisation. Unknown fields or misplaced keys are silently dropped and code reading them sees `undefined`. The command surfaces that. ## Run it Prefer the global binary; fall back to the project scripts. Run from the repository root. ```bash # strategy library / single strategy etemaro strategy validate config/shared/strategy-library.json npm run validate:strategy -- config/shared/strategy-library.json # active-strategy check (requires smartWalletListId when the loaded config needs it) etemaro strategy validate --active config/shared/strategy-library.json # user config (same report format) etemaro config validate etemaro config validate --env-optional npm run validate:config --env-optional # machine-readable / strict etemaro strategy validate config/shared/strategy-library.json --json etemaro strategy validate config/shared/strategy-library.json --strict ``` Flags: | Flag | Command | Effect | |------|---------|--------| | `--active` | strategy | Enforce active-strategy gate: error when `screening.entrySource=smart_wallets` and strategy lacks `smartWalletListId`; warn when