CtrlK
BlogDocsLog inGet started
Tessl Logo

add-lto

Enable Link-Time Optimization (LTO and ThinLTO) for an LLVM 22-based compiler. Covers full LTO vs ThinLTO trade-offs, bitcode emission from a frontend, LLD integration, out-of-tree whole-program optimization via ModulePassManager, and common debugging tips.

69

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

85%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a strong, well-organized skill that provides concrete, executable guidance for both Clang-driver and in-process LTO workflows. The two-model structure is effective for different use cases, and the debugging/inspection sections add practical value. Minor verbosity in the comparison table and common mistakes section prevents a perfect conciseness score.

DimensionReasoningScore

Conciseness

The comparison table in Step 0 is useful but slightly verbose for Claude (e.g., 'When to use' row restates obvious conclusions). The 'Common mistakes' section has some redundancy with the debugging table. Overall mostly efficient but could be tightened in places.

2 / 3

Actionability

Provides fully executable C++ code for bitcode emission, module linking, and pass pipeline setup, plus copy-paste-ready bash commands for both Full LTO and ThinLTO workflows. The CMake snippet is also concrete and directly usable.

3 / 3

Workflow Clarity

Two clear models (A and B) are presented with numbered steps in logical sequence. Validation is addressed via 'verifyModule' in common mistakes, the debugging table provides error recovery guidance, and explicit rules about flag consistency serve as checkpoints.

3 / 3

Progressive Disclosure

Content is well-structured with a clear overview table, two distinct workflow models, and supporting sections (debugging, inspection, common mistakes). References to out-of-tree.md and new-pass-manager.md are one level deep and clearly signaled.

3 / 3

Total

11

/

12

Passed

Description

82%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a technically strong description with excellent specificity and domain-appropriate trigger terms that would help Claude correctly identify when to use this skill. Its main weakness is the absence of an explicit 'Use when...' clause, which would help Claude distinguish between informational queries about LTO and actionable tasks. The description is well-scoped to a clear niche with minimal conflict risk.

Suggestions

Add an explicit 'Use when...' clause, e.g., 'Use when the user asks about enabling LTO or ThinLTO in an LLVM-based project, configuring bitcode pipelines, or debugging link-time optimization issues.'

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: enabling LTO/ThinLTO, bitcode emission from a frontend, LLD integration, out-of-tree whole-program optimization via ModulePassManager, and debugging tips. These are concrete, well-defined capabilities.

3 / 3

Completeness

Clearly answers 'what does this do' with specific capabilities, but lacks an explicit 'Use when...' clause or equivalent trigger guidance. The when is only implied by the domain context.

2 / 3

Trigger Term Quality

Includes strong natural keywords users would search for: 'LTO', 'ThinLTO', 'Link-Time Optimization', 'LLVM 22', 'bitcode', 'LLD', 'ModulePassManager', 'whole-program optimization'. These are the exact terms a developer working in this domain would use.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive niche targeting LLVM 22 LTO specifically. The combination of LTO, ThinLTO, bitcode, LLD, and ModulePassManager creates a very clear, narrow domain unlikely to conflict with other skills.

3 / 3

Total

11

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
hbarve1/tessl-llvm
Reviewed

Table of Contents

Is this your skill?

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.