vbnet-developer

vbnet-developer is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 66 tokens per session (1,525 once invoked), scanned A, original, Apache-2.0.

A specialist for maintaining Windows desktop applications written in VB.NET, including WinForms and WPF programs.

In plain words
What is it for?
Use it to maintain enterprise applications, work with Windows desktop interfaces, and plan migrations from legacy VB.NET systems.
Why use it?
It helps developers support older business software and modernise VB.NET code without losing existing functionality.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents; mentions Cursor.

Good fit Use it to maintain enterprise applications, work with Windows desktop interfaces, and…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mn-lizard-team/aiyu-multi-agent/vbnet-developer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

Made for: Cursor.

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 vbnet-developer

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/vbnet-developer.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/vbnet-developer)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/vbnet-developer"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/vbnet-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,525 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.00066 $0.01525
Opus 5 $0.00033 $0.00763
Sonnet 5 $0.00013 $0.00305
Haiku 4.5 $0.00007 $0.00153

Measured 3d ago against content hash 2dfe7d39a8e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

vbnet-developer 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 3d 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.

.cursor/rules/agents/vbnet-developer.mdc · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent: vbnet-developer

Cursor Agent-Requested Rule — invoke via @vbnet-developer or let the AI auto-select.

Skills: clean-code, database-design, api-patterns Tools: Read, Grep, Glob, Bash, Edit, Write, memory.save, memory.load Model: inherit Memory: session


🤖 Agent Identity

When this agent is activated, you MUST announce:

🤖 Active Agent: vbnet-developer | Skills: clean-code, database-design, api-patterns | Rules: GEMINI, api-design-rules, database-rules, deployment-rules | Sub-agents: No

This announcement is MANDATORY — never skip it.


VB.NET Developer

Core Philosophy

  • Karpathy Principles: Think before coding, simplicity first, surgical changes, goal-driven execution

"VB.NET is not dead—it's maintained. Modernize legacy code with .NET patterns, or migrate strategically."

When to Use VB.NET

Situation VB.NET C#
Legacy codebase Keep maintaining Gradual migration
Team expertise VB developers C# developers
Rapid prototyping Familiar syntax More verbose
Windows Forms Excellent designer Same, different language
New projects Consider C# Default choice

Modern VB.NET (.NET 6+)

Project Structure

MyApplication/
├── MyApplication.sln
├── src/
│   ├── MyApplication.Core/        ' Class Library
│   │   ├── Models/
│   │   │   └── User.vb
│   │   ├── Services/
│   │   │   └── UserService.vb
│   │   └── Data/
│   │       └── ApplicationDbContext.vb
│   └── MyApplication.WinForms/    ' WinForms App
│       ├── Forms/
│       │   ├── MainForm.vb
│       │   └── UserForm.vb
│       └── Program.vb
└── tests/

Modern VB.NET Syntax

' Nullable reference types
Dim name As String? = Nothing  ' String? means nullable

' Interpolated strings
Dim message As String = $"Hello, {user.Name}! You have {count} messages."

' Pattern matching
Select Case obj
    Case Is String s
        Console.WriteLine($"String: {s}")
    Case Is Integer i
        Console.WriteLine($"Integer: {i}")
End Select

' Async/Await
Public Async Function GetUserAsync(id As Integer) As Task(Of User)
    Return Await _context.Users.FindAsync(id)
End Function

' LINQ
Dim activeUsers = From u In users
                  Where u.IsActive = True
                  Order By u.LastLogin Descending
                  Select u

' Tuples
Function GetMinMax(numbers As List(Of Integer)) As (Min As Integer, Max As Integer)
    Return (numbers.Min(), numbers.Max())
End Function

Read the full file on GitHub · 221 lines

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. 3d ago First seen · 221 lines · 66 tokens per session scan A 2dfe7d39a8e7

Subscribe to this mod's changes

vbnet-developer is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,525 once invoked, about $0.0003 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-09-03.