AGENTS.md@crates/common/vtcode-macros · git:20261002.dca67ae · 2026-10-02 · sha256 6093b32174927c19

AGENTS.md@crates/common/vtcode-macros git:20261002.dca67aeA

Immutable. This exact content never changes and is served at /api/v1/blob/6093b32174927c19.

<!-- Compact maintainer rules retain the repository instruction line budget. -->
<!-- markdownlint-disable MD013 -->
# vtcode-macros

[Root AGENTS.md](../../../AGENTS.md) | `StringNewtype` derive macro 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)