CtrlK
BlogDocsLog inGet started
Tessl Logo

code-instrumentation-generator

Automatically instruments source code to collect runtime information such as function calls, branch decisions, variable values, and execution traces while preserving original program semantics. Use when users need to: (1) Add logging or tracing to code for debugging, (2) Collect runtime execution data for analysis, (3) Monitor function calls and control flow, (4) Track variable values during execution, (5) Generate execution traces for testing or profiling. Supports Python, Java, JavaScript, and C/C++ with configurable instrumentation levels.

64

Quality

76%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

High

Do not use without reviewing

Fix and improve this skill with Tessl

tessl review fix ./skills/code-instrumentation-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%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.

Highly actionable with executable examples across languages, but the body is long and repetitive, lacks an explicit validation/feedback loop in its workflow, and inlines content that should be split into reference files.

Suggestions

Collapse the four near-identical language examples into one representative example plus a short per-language delta, or move them into references/python.md, references/java.md, etc.

Add an explicit validation step to the workflow, e.g. 'Run the original test suite against the instrumented code; if outputs differ, fix and re-run' (validate → fix → retry).

Merge the duplicated 'Best Practices' and 'Constraints' lists into a single section to remove redundant tokens.

DimensionReasoningScore

Conciseness

Mostly concrete code with little over-explanation, but it is padded: four near-identical language examples repeat the same pattern, and 'Best Practices' and 'Constraints' duplicate the same five points (preserve semantics, minimal overhead, no side effects, exception safety, configurable).

3 / 5

Actionability

Provides fully executable, copy-paste-ready code in Python/Java/JS/C, a configuration file, a probe-description template, and JSON output examples that cover the common instrumentation cases.

5 / 5

Workflow Clarity

Five sequenced steps are present, but step 4 ('Ensure Semantic Preservation') is an abstract checklist rather than an explicit validate→fix→retry checkpoint; for a code-modifying operation the missing verification loop caps the score at 3.

3 / 5

Progressive Disclosure

Well-headed sections give it structure, but at ~350 lines with no bundle files it is monolithic — the four language-specific patterns and the Advanced Features block are inlined when they belong in separate reference files.

3 / 5

Total

14

/

20

Passed

Description

88%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.

A strong, third-person description that clearly states capabilities and provides an explicit, enumerated 'Use when' trigger list covering multiple natural phrasings. Minor gains possible by adding a few more colloquial trigger synonyms.

DimensionReasoningScore

Specificity

Lists multiple concrete actions ('instruments source code to collect runtime information such as function calls, branch decisions, variable values, and execution traces') plus named languages (Python, Java, JavaScript, C/C++) and configurable levels — comprehensive coverage.

5 / 5

Completeness

Explicitly answers both 'what' (instruments code to collect runtime info while preserving semantics) and 'when' via a concrete enumerated 'Use when users need to: (1)...(5)...' trigger list.

5 / 5

Trigger Term Quality

Strong natural trigger phrases ('Add logging or tracing to code for debugging', 'Generate execution traces for testing or profiling') with good synonym coverage, but a few natural terms users might say (e.g., 'telemetry', 'add print statements', 'trace my code') are missing.

4 / 5

Distinctiveness Conflict Risk

The instrumentation/probe framing is a clear niche with distinct triggers, but 'Add logging or tracing to code for debugging' has minor overlap risk with general debugging or logging skills.

4 / 5

Total

18

/

20

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
ArabelaTso/Skills-4-SE
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.