claude-code-vba-skills: Skill for Claude Code

.claude/skills/vba-naming-and-data/SKILL.md

vba-naming-and-data is a skill for Claude Code from RenRMT/claude-code-vba-skills. It costs 23 tokens per session (469 once invoked), scanned A, original, MIT.

Rules for naming, typing, enums, and data structures in VBA, Microsoft’s programming language for automating Office applications. It recommends clear names and suitable types for values such as dates, money, counters, and flags.

In plain words
What is it for?
Use it when writing or reviewing VBA procedures, variables, constants, enums, and user-defined data structures.
Why use it?
It reduces confusing code, accidental type mistakes, and hidden meanings in VBA projects.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is RenRMT/claude-code-vba-skills's own configuration. It tells Claude Code how to work on claude-code-vba-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-vba-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RenRMT/claude-code-vba-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RenRMT/claude-code-vba-skills/main/.claude/skills/vba-naming-and-data/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RenRMT/claude-code-vba-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vba-naming-and-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/renrmt/claude-code-vba-skills/vba-naming-and-data/github.svg)](https://agentmods.dev/skills/renrmt/claude-code-vba-skills/vba-naming-and-data)
Your own site
<a href="https://agentmods.dev/skills/renrmt/claude-code-vba-skills/vba-naming-and-data"><img src="https://agentmods.dev/badge/skills/renrmt/claude-code-vba-skills/vba-naming-and-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vba-naming-and-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/renrmt/claude-code-vba-skills/vba-naming-and-data"><img src="https://agentmods.dev/badge/skills/renrmt/claude-code-vba-skills/vba-naming-and-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00469
Opus 5 $0.00012 $0.00234
Sonnet 5 $0.00005 $0.00094
Haiku 4.5 $0.00002 $0.00047

Measured 10d ago against content hash 0334dd8138c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

vba-naming-and-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/vba-naming-and-data/SKILL.md · 97 lines

What it actually says

VBA Naming, Types & Data Management — Expanded Edition

Clear, consistent naming and strong typing are the backbone of reliable VBA applications.

Purpose

Improved correctness, maintainability, and readability by applying unified naming patterns and predictable data structures.

Naming Best Practices

Procedures

  • Use verbs for Subs: LoadData, ExportReport, ValidateInputs.
  • Use value-returning names for Functions: GetLastRow, IsCustomerValid.

Variables

Use names that express: what, not how.

Dim reportDate As Date
Dim customerTotal As Currency
Dim pendingInvoices As Collection

Avoid vague terms:

Dim tmp, x, data1 ' BAD

Constants

Private Const CONFIG_SHEET As String = "Config"
Private Const HEADER_ROW As Long = 1

Type Best Practices

Good defaults

  • Long for counters and row indexes.
  • Date for dates.
  • Currency for money.
  • Double for scientific/decimal work.
  • Boolean for flags.

Enums

Replace magic numbers:

Public Enum ReportType
    rptSummary = 1
    rptDetail = 2
End Enum

User-Defined Types

Lightweight structured groups:

Private Type TRangeBounds
    FirstRow As Long
    LastRow As Long
End Type

Collections & Dictionaries

Use dictionaries for keyed access.

Dim dict As Object
Set dict = CreateObject("Scripting.Dictionary")

Do / Don't

Do

  • Use descriptive variable names.
  • Use Enums instead of numbers.
  • Use concrete types to avoid runtime errors.

Don’t

  • Use Variant when you know the type.
  • Mix naming conventions arbitrarily.
  • Store “Y/N” as strings instead of Boolean.

Acceptance Checklist

  • No meaningless variable names.
  • All numeric codes replaced by Enums.
  • Data grouped logically using Type or classes.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 97 lines · 23 tokens per session scan A 0334dd8138c7

Subscribe to this mod's changes

vba-naming-and-data is a skill published in the GitHub repository RenRMT/claude-code-vba-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 469 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

platform-detection

Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…

dotnet/skills · 146 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

omh-rust

This is a Hermes-native rust workflow skill.

rlaope/oh-my-hermes · 69 tokens

axiom-concurrency

Use when writing ANY async code, actors, threads, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.

CharlesWiltgen/Axiom · 43 tokens