Skip to content

PhilipLudington/Klar-Toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Klar-Toolkit

Claude Code integration for Klar development. Rules, commands, and workflows for AI-assisted Klar programming.

Installation

git clone --recurse-submodules https://github.com/PhilipLudington/Klar-Toolkit.git
mkdir -p .claude
cp -r Klar-Toolkit/rules Klar-Toolkit/commands .claude/

Then add this to your project's CLAUDE.md:

## Klar Development

See `Klar-Toolkit/deps/Klar-Reference/REFERENCE.md` for the complete language reference.

Updating

cd Klar-Toolkit && git pull && git submodule update --remote && cd ..
cp -r Klar-Toolkit/rules Klar-Toolkit/commands .claude/

Commands

After installation, these commands are available in Claude Code:

Command Description
/klar-run Execute a Klar program
/klar-build Compile to native executable
/klar-test Run test files
/klar-check Run build, tests, and validation
/klar-init Create a new Klar project
/klar-review Review code against standards
/klar-safety Security-focused code review

Documentation

  • Language Reference: Klar-Toolkit/deps/Klar-Reference/REFERENCE.md
  • Quick Reference: Klar-Toolkit/KLARTOOLKIT.md

Related Projects

Project Purpose
Klar-Reference Model-agnostic language reference
MCP-Klar Model Context Protocol server for Klar

Rules

Rules are automatically loaded when working with .kl files:

Rule Focus
klar-naming Case conventions, prefixes
klar-ownership Borrowing, smart pointers
klar-errors Result/Option patterns
klar-security Input validation, unsafe
klar-api-design Functions, traits, generics
klar-testing Test organization, coverage
klar-concurrency Async, threads, channels
klar-traits Trait implementation
klar-comptime Compile-time programming
klar-logging Log levels, structured logs
klar-portability Cross-platform concerns

License

MIT

About

Hardened Klar development standards and patterns for safe, consistent, and maintainable code. Designed to work with Claude Code/AI and agentic development.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors