CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

memory-safety-patterns

Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.

46

Quality

57%

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

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/memory-safety-patterns/SKILL.md

The canonical home for this skill is memory-safety-patterns in rmyndharis/antigravity-skills

SKILL.md
Quality
Evals
Security

Quality

Content

32%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 token-efficient and harmlessly structured, but it contains no actual memory-safety guidance: the instructions are generic boilerplate with no concrete patterns, code, or steps, and the single reference to `resources/implementation-playbook.md` points to a file that does not exist in the bundle. As written, the skill provides nothing actionable for its stated domain.

Suggestions

Fix or create `resources/implementation-playbook.md` (or remove the broken reference) — the only path to detailed content currently dead-ends at a nonexistent file.

Replace the generic instructions ("Apply relevant best practices and validate outcomes") with concrete, domain-specific guidance: e.g., a short RAII code example, ownership rules, or a stepwise workflow for diagnosing leaks and use-after-free.

Add validation checkpoints to the workflow (e.g., run a sanitizer like ASan/Valgrind and only proceed when clean) so the sequence has explicit feedback loops instead of the vague 'validate outcomes'.

Delete the tautological "Do not use this skill when" section and the verbatim repeated description line to reclaim wasted tokens.

DimensionReasoningScore

Conciseness

The body is short and free of over-explanation of concepts Claude already knows — no padding about what RAII or smart pointers are — matching anchor 4's "efficient; minor instances that could be trimmed". Not 5 because a few tokens are wasted: the description is repeated verbatim in the body, and the "Do not use this skill when" bullets ("The task is unrelated to memory safety patterns") are tautological filler that earn no place.

4 / 5

Actionability

The instructions are entirely generic template text with zero domain content: "Clarify goals, constraints, and required inputs", "Apply relevant best practices and validate outcomes", "Provide actionable steps and verification" — every line could apply to any skill in the library and none instructs on memory safety. This matches anchor 1 ("entirely vague or abstract; no concrete code or commands"): no pattern examples, no code, no commands, and the sole pointer to `resources/implementation-playbook.md` leads to a file that does not exist.

1 / 5

Workflow Clarity

The instructions hint at a rough order (clarify goals → apply practices → validate → provide steps) but define no actual sequence for any memory-safety task, matching anchor 2 ("rough sequence present but many gaps; steps poorly defined; validation absent") — "validate outcomes" names validation without any checkpoint or error-recovery loop. Not 1 because a rudimentary process skeleton is present; not 3 because there are no real checkpoints and no steps specific to the domain (e.g., how to debug a leak or implement RAII).

2 / 5

Progressive Disclosure

The body has clean section structure and one clearly signaled one-level-deep reference ("If detailed examples are required, open `resources/implementation-playbook.md`"), but the referenced file does not exist — there is no `resources/` directory in the bundle at all. This reduces to anchor 2 ("minimal structure; references are buried/ineffective"): the promised detailed content lives nowhere, so navigation dead-ends. Not 3 because a working, well-signaled reference is the minimum for that level and here the single reference is broken.

2 / 5

Total

9

/

20

Passed

Description

66%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 clearly conveys what the skill covers with domain-specific terminology (RAII, ownership, smart pointers) that gives it a distinct identity. Its main deficiency is the complete absence of 'when to use' guidance, which caps completeness at 3 and slightly weakens its trigger-phrase coverage.

Suggestions

Add an explicit trigger clause, e.g., "Use when writing systems code in C++/Rust, implementing RAII or ownership patterns, or fixing memory leaks and use-after-free bugs."

Include common failure-mode keywords users would actually say — "memory leak", "use-after-free", "dangling pointer" — to round out trigger coverage.

Name the concrete languages covered (or state 'any language with manual memory management') to sharpen the 'what' and reduce overlap risk with language-specific skills.

DimensionReasoningScore

Specificity

"Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management" lists several concrete content areas (RAII, ownership, smart pointers, resource management), comparable to anchor 4's "lists several specific actions" — though these are topics rather than executable actions, they concretely delimit the domain. Not 5 because there are minor gaps: no specific actions (e.g., detecting leaks, choosing allocation strategies) and no concrete language coverage named.

4 / 5

Completeness

The 'what' is clear ("Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management"), but there is no 'when' guidance — no "Use when..." clause or equivalent trigger phrasing anywhere in the description. Per the judging guideline, a missing 'Use when' clause caps completeness at 3: clear 'what' with 'when' entirely absent.

3 / 5

Trigger Term Quality

Terms like "RAII", "smart pointers", "ownership", and "memory-safe" are phrases developers naturally say when they need this skill, matching anchor 4's "good keyword coverage". Not 5 because common variations are missing: "memory leak", "use-after-free", "dangling pointer", and language names like C++ or Rust that users would likely mention.

4 / 5

Distinctiveness Conflict Risk

"RAII", "smart pointers", and "ownership" are niche, distinctive triggers unlikely to fire for unrelated skills, matching anchor 4's "mostly distinct; minor overlap risk". Not 5 because "resource management" is broad and the skill could overlap with language-specific best-practices skills (e.g., a C++ or Rust skill); not 3 because the core triggers are clearly within the memory-safety niche.

4 / 5

Total

15

/

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

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/skills/memory-safety-patterns/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.