GillMacedo

Add Case — Development skill for Claude Code

Development community

Teach schemaclash a new way a schema URL reaches a resource: $ARGUMENTS.

How to install Add Case

Installs to ~/.claude/commands/gillmacedo-schemaclash-add-case.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/GillMacedo/schemaclash/HEAD/.claude/commands/add-case.md -o ~/.claude/commands/gillmacedo-schemaclash-add-case.md

Restart Claude Code, or start a new session, for it to be picked up.

What Add Case does

Teach schemaclash a new way a schema URL reaches a resource: $ARGUMENTS

  1. Write the smallest program that shows it in tests/testdata/cases//main.go, using only the packages vendored in examples/shop. It prints conflict: when building the resource fails, and ok otherwise.
  2. Add to expectConflict in tests/live_test.go with what the program really prints, and run go test ./tests -run TestCasesAgreeWithRuntime.
  3. Change `plugin/scripts/analyze.go

Alternatives in Development

Full documentation available on GitHub

View Source Repository