Skip to content

Add context guide, skill files and dev scripts#1132

Draft
anvacaru wants to merge 5 commits intomasterfrom
claude-integration
Draft

Add context guide, skill files and dev scripts#1132
anvacaru wants to merge 5 commits intomasterfrom
claude-integration

Conversation

@anvacaru
Copy link
Copy Markdown
Contributor

@anvacaru anvacaru commented Apr 9, 2026

Adds Claude Code support for the Kontrol repo: a context guide for navigating the codebase, three workflow skills, and two developer scripts.

  • CLAUDE.md/AGENTS.md: guide covering project structure, K semantic definitions, CLI commands, cheatcode inventory (Foundry and Kontrol-proprietary), testing conventions, dev workflow, and gotchas.

  • Skills

  • /build - runs scripts/build-kontrol, captures output, surfaces K compiler errors on failure

  • /add-cheatcode - step-by-step guide for adding a new cheatcode (K rule, selector, Solidity test, CI registration)

  • /update-expected-output — runs golden file regeneration for foundry / CSE+minimize / end-to-end suites; recommends scoping with --foundry/--cse/--end-to-end and -k test_name

  • Scripts

  • scripts/build-kontrol — K version check/install, uv sync, kdist clean+build

  • scripts/selector — computes ABI function selector as decimal integer (wraps cast sig)

  • scripts/update-expected-output — pytest .expected file regeneration with per-suite flags and parallel worker tuning

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