# Contributing to AOC Toolkit
AOC Toolkit is a Rust implementation of a language-agnostic developer tool. The current implementation is Rust-first and pre-release. Contributions to the toolkit itself may use AI-assisted development; the educational AI restrictions in generated projects do not restrict implementation of the toolkit.
## Development
Use a current stable Rust toolchain, with rustfmt and Clippy installed. Keep the Cargo.lock file committed. Start with a focused issue or discussion for larger changes, then open a scoped pull request targeting main. Do not mix unrelated refactors with feature work.
Run the relevant checks locally:
cargo fmt-check
cargo lint
cargo lint-core
cargo test-core
cargo test-client
cargo test-runner
cargo test-cli
cargo test-all
cargo check-all
cargo package --locked
Cargo aliases live in .cargo/config.toml and are shared with CI. Use cargo test-scaffold to focus on internal scaffold tests and cargo build-release to build the executable.
Add unit and integration tests for new behavior. Test generated projects in temporary directories, using synthetic inputs and mocked HTTP; never require a real Advent of Code session for CI. Do not commit inputs, answers or credentials. Keep the CLI and future TUI separate from application logic.
## Language adapters
Read [architecture](docs/architecture.md), [language support](docs/language-support.md) and [adding a language](docs/contributing/adding-a-language.md). Agree on the integration contract before implementing an additional language.
## Releases
Read [the release guide](docs/releasing.md). Publishing is a maintainer responsibility, not part of a normal contribution.