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

82%

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

82%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 body is a tightly structured, highly actionable procedure with executable templates for every step and built-in validation via lit/smoke tests. Minor gains are possible from an explicit test-failure feedback loop and trimming the slight overlap between the lit and smoke-test steps.

Suggestions

Add a short feedback loop after Step 5/6: 'If the smoke test crashes or a CHECK fails, re-check registration (Step 3) and the PreservedAnalyses return, then re-run.'

Consolidate the Step 6 manual smoke test into Step 5 or mark it explicitly as optional to remove redundancy.

Consider extracting the cheat sheet and common-mistakes list into a references file if the skill grows, to keep SKILL.md as a lean overview.

DimensionReasoningScore

Conciseness

Mostly lean and token-efficient with dense code templates and tables, but minor redundancy exists (Step 6 smoke test overlaps with Step 5 lit testing) and a few explanatory comments could be trimmed.

4 / 5

Actionability

Fully executable, copy-paste-ready templates for the header, implementation, registration, CMake, lit tests, and smoke tests, covering both in-tree and out-of-tree cases with concrete commands.

5 / 5

Workflow Clarity

Steps 0–6 are clearly sequenced with validation checkpoints (lit test 'must not crash', manual smoke test), but there is no explicit feedback loop describing how to recover when a test fails.

4 / 5

Progressive Disclosure

Well-organized into clearly labeled steps plus a cheat sheet and common-mistakes section with no nested references; the content is cohesive inline and needs no external files for this scope.

4 / 5

Total

17

/

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 distinctive with strong concrete coverage of the task domain, but it lacks an explicit 'Use when...' trigger clause, which caps completeness at 3. Adding a 'when to use' phrase would raise the score.

Suggestions

Add an explicit trigger clause, e.g. 'Use when the user wants to create a new optimization or analysis pass for LLVM using the New Pass Manager.'

Include common user phrasings like 'optimization pass', 'analysis pass', or 'LLVM pass plugin' to broaden natural trigger coverage.

Mention the legacy-vs-NPM distinction in the description to preempt confusion with older LLVM pass tutorials.

DimensionReasoningScore

Specificity

Lists multiple concrete actions and sub-areas — 'Covers FunctionPass, ModulePass, LoopPass, and CGSCCPass kinds, registration, pipeline wiring, CMake, and lit testing' — giving comprehensive coverage rather than vague abstraction.

5 / 5

Completeness

The 'what' is detailed and clear, but there is no explicit 'Use when...' clause or equivalent trigger guidance in the description, which caps completeness at 3 per the rubric.

3 / 5

Trigger Term Quality

Strong natural terms ('LLVM pass', 'Pass Manager', 'NPM', 'CMake', 'lit testing') that users would say, though a few common synonyms or phrasings (e.g. 'optimization pass', 'analysis pass') are absent.

4 / 5

Distinctiveness Conflict Risk

A clear niche — adding an LLVM 22 New Pass Manager pass — with distinct, specific triggers and minimal overlap 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

tiles/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.