Sign inGet started
–

This skill guides the design and implementation of Rust macros for the Topcoat project, covering consistent argument syntax, lossless AST nodes, syn-based parsing, and thin proc-macro entry points.

Lift · GLM-5.3-flash—not yet benchmarked
81
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Always use this skill before writing a macro for Topcoat or changing a macro's syntax, including `macro_rules!` macros

#codegen#macros#parsing#proc-macro#rust#syntax

Quality judgment

completeness
7.5/10
clarity
8.0/10
trigger quality
8.0/10
examples
7.0/10
structure
8.5/10
overall
8.0/10

The document provides comprehensive coverage of macro syntax, parsing strategies, AST design, and entry points. It clearly distinguishes between attribute and function-like macros, explains the `ParseOption` pattern, and gives concrete code examples. The organization flows logically from syntax to parsing to implementation details. The only minor deduction is that some parsing guidance could be more explicit about edge cases, but overall it is thorough and well-structured.

Files (2)

LICENSE · 1.0 KBSKILL.md · 5.2 KB