AGENTS.md@crates/common/vtcode-macros · git:20260717.d3b2d89 · 2026-07-17 · sha256 ecb66c65b9f35f6e

AGENTS.md@crates/common/vtcode-macros git:20260717.d3b2d89A

Immutable. This exact content is served forever at /api/v1/blob/ecb66c65b9f35f6e.

# vtcode-macros

Procedural macros for VT Code. Contains derive macros and attribute macros shared across workspace crates.

## Conventions

- This is a proc-macro crate. It must not depend on any other vtcode workspace crate.
- Use `syn` for parsing, `quote` for code generation, `proc-macro2` for token streams.
- Keep macro implementations minimal -- generate code that delegates to runtime helpers in other crates.
- All macros must have doc comments with usage examples.

## Dependencies

- `syn` (parsing)
- `quote` (code generation)
- `proc-macro2` (token streams)