CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

add-npm-pass

Add a New Pass Manager (NPM) pass to an LLVM 22 in-tree or out-of-tree project. Covers FunctionPass, ModulePass, LoopPass, and CGSCCPass kinds, registration, pipeline wiring, CMake, and lit testing.

Quality

85%

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

The canonical home for this skill is add-npm-pass in hbarve1/tessl-llvm

SKILL.md
Quality
Evals
Security

Quality

Content

90%Weight 40%Scale 1-5

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

The skill body is a tight, highly actionable walkthrough with complete code templates and a useful cheat sheet. Its only gaps are a missing explicit error-recovery loop in the workflow and the absence of any reference files for progressive disclosure.

Suggestions

Add an explicit validation feedback loop after the build/test steps (e.g. 'If llvm-lit fails, read the FileCheck diff, fix the pass or test, and re-run until green').

Consider moving the 'Quick reference' cheat sheet and/or 'Common mistakes' into a references/ file linked from the body, to give the overview a one-level-deep pointer and improve progressive disclosure.

DimensionReasoningScore

Conciseness

The body is lean: tables, code templates, and a cheat sheet with almost no prose padding, and it never explains concepts Claude already knows (e.g. what LLVM or a pass is).

5 / 5

Actionability

It provides copy-paste-ready, complete code templates for header, implementation, registration, CMake, lit tests, and smoke tests, plus a concrete API cheat sheet covering the common cases.

5 / 5

Workflow Clarity

Steps 0–6 are clearly sequenced with validation checkpoints (lit test in Step 5, smoke test in Step 6 with an expected outcome), but there is no explicit error-recovery feedback loop (e.g. 'if the build/test fails, fix and re-run').

4 / 5

Progressive Disclosure

Content is well organized into clearly headed sections (Steps 0–6, Quick reference, Common mistakes) with no nesting, but no bundle/reference files are used so nothing is split out one level deep.

4 / 5

Total

18

/

20

Passed

Description

75%Weight 40%Scale 1-5

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

The description is specific and clearly distinct, naming concrete actions and a precise LLVM 22 NPM niche. Its main weakness is the absence of an explicit 'when to use' trigger clause, which caps completeness.

Suggestions

Append an explicit 'Use when...' clause naming natural trigger phrases (e.g. 'Use when adding or registering an LLVM pass, wiring it into the opt pipeline, or writing lit tests for it').

Add common synonyms/variants to the trigger terms (e.g. 'opt --load-pass-plugin', 'PassInfoMixin', 'out-of-tree plugin').

Consider clarifying 'FunctionPass/ModulePass/LoopPass/CGSCCPass kinds' wording, since the skill body uses NPM PassInfoMixin kinds (Function/Module/Loop/CGSCC) rather than the legacy *Pass names.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Add a New Pass Manager (NPM) pass', 'registration', 'pipeline wiring', 'CMake', and 'lit testing' — plus four pass kinds, giving comprehensive coverage of the task surface.

5 / 5

Completeness

The 'what' is clearly stated, but there is no explicit 'Use when...' clause or equivalent trigger guidance, which caps completeness at 3 per the rubric guidelines.

3 / 5

Trigger Term Quality

Natural terms a user would say are present ('pass', 'LLVM 22', 'New Pass Manager', 'CMake', 'lit testing'), but a few common synonyms/variants (e.g. 'opt', 'PassInfoMixin', 'plugin') are missing.

4 / 5

Distinctiveness Conflict Risk

'Add a New Pass Manager (NPM) pass to an LLVM 22 in-tree or out-of-tree project' carves a clear niche with distinct triggers and minimal conflict risk with other skills.

5 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 2 missing

Warning

Total

15

/

16

Passed

Repository

hbarve1/tessl-llvm

Path

.tessl/tiles/hbarve1/tessl-llvm/skills/tessl-llvm/SKILL.md

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.