Sync Schemas — Development skill for Claude Code
Find JSONL/settings fields seen on disk that strict Zod schemas don't allow, and add them as optional.
How to install Sync Schemas
Installs to ~/.claude/commands/motlin-claude-code-plans-sync-schemas.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/motlin/claude-code-plans/HEAD/.claude/commands/sync-schemas.md -o ~/.claude/commands/motlin-claude-code-plans-sync-schemas.md Restart Claude Code, or start a new session, for it to be picked up.
What Sync Schemas does
description: Find JSONL/settings fields seen on disk that strict Zod schemas don't allow, and add them as optional.
We have several "Schema against disk" vitest tests that walk `~/.claude/` and validate real files against our strict Zod schemas. When Claude Code (or settings, or hooks) starts emitting a new field, those tests fail with `unrecognized_keys`. The fix is always the same shape: add the field as `.optional()` (or a union branch) to the right schema. See commit `9cb1b41` fo
Alternatives in Development
- Generic Extract Skill — You are an Autonomous 3D Technical Artist Agent 14.1k ★
- StatsPAI — StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API 302 ★
- Mythos Router — The leaked Anthropic reasoning protocol 294 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Wp Cpt
Custom post type builder — registers a CPT and generates its fields, archive, single, optional teaser query-se
Allow Asks
Review the permission-prompt log, propose allow-rule patterns, and append approved ones to ~/.claude/settings.
Claude Perm Sim
Claude Code permission rule simulator: load the merged allow, ask and deny settings, show which rule decides a
Codex Claude Transfer
Local-first CLI (cct) that moves Codex & Claude Code sessions between machines: export to a .codexbundle, copy
TokenLink
Native macOS menu-bar monitor for Codex, Claude, Kimi, MiniMax, and GLM coding plans, with optional M5Stack St
Granola Sync
Optional. Pull new Granola meetings into research/ and hand off to /synthesize (requires the Granola MCP)
Related Agents
Type Hints.Agent
Add or fix Python type hints to satisfy mypy strict mode. Use when: adding type annotations, fixing mypy error
Events Engineer
Use for the Orchestrator event pipeline. Claude Code hooks (install and remove in a project's .claude/settings
Claude Code Integration
Claude Code 本体の仕様に関する専門家。hooks(PreToolUse, SubagentStop 等)のペイロード、.claude/agents/.md のフォーマット、settings.json、セッショ