Generate bytecode classes from DSL scripts (MAL, OAL, LAL, Hierarchy). Runs the compiler and dumps .class files for inspection.
84
77%
Does it follow best practices?
Impact
100%
2.32xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./.claude/skills/generate-classes/SKILL.mdRun the v2 compiler (ANTLR4 + Javassist) to generate bytecode classes from DSL scripts and dump .class files to disk for inspection.
mal — MAL expression classes./mvnw test -pl oap-server/analyzer/dsl-scripts-test \
-Dtest=MALExpressionExecutionTest -DfailIfNoTests=false -Dcheckstyle.skipOutput location: oap-server/analyzer/dsl-scripts-test/src/test/resources/scripts/mal/**/*.generated-classes/
oal — OAL metrics/dispatcher/builder classes./mvnw test -pl oap-server/oal-rt \
-Dtest=RuntimeOALGenerationTest -DfailIfNoTests=false -Dcheckstyle.skipOutput location: oap-server/oal-rt/target/test-classes/metrics/, metrics/builder/, dispatcher/
lal — LAL filter/extractor classes./mvnw test -pl oap-server/analyzer/dsl-scripts-test \
-Dtest=LALExpressionExecutionTest -DfailIfNoTests=false -Dcheckstyle.skipOutput location: oap-server/analyzer/dsl-scripts-test/src/test/resources/scripts/lal/**/*.generated-classes/
hierarchy — Hierarchy rule classes./mvnw test -pl oap-server/analyzer/dsl-scripts-test \
-Dtest=HierarchyRuleExecutionTest -DfailIfNoTests=false -Dcheckstyle.skipOutput location: oap-server/analyzer/dsl-scripts-test/src/test/resources/scripts/hierarchy-rule/*.generated-classes/
all or no argument — generate all DSLsRun all four commands above sequentially.
Print the output location for the requested DSL so the user knows where to find the generated .class files. Use javap to decompile:
javap -c -p <path-to-class-file>./mvnw clean -pl oap-server/analyzer/dsl-scripts-testbf0fe4b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.