Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

vbnet-coder-envbnet 编码器 en

Agent Skill

vbnet-coder-en 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

29,205

周安装

1,193

GitHub Stars

公开资料未说明

下载量

9,353
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vbnet-coder-en(vbnet 编码器 en)
来源仓库:https://github.com/alexwoo-awso/vbnet-coder-en
安装命令:
openclaw skills install vbnet-coder-en
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install vbnet-coder-en

简介

vbnet-coder-en 提供符合现代 .NET 规范的 VB.NET 代码编写支持。

  • 适用于需要生成严格类型、异步模式和高性能代码的开发任务。
  • 通过 clawhub 安装并使用 openclaw skills install vbnet-coder-en 命令部署。
  • 安装前应确认目标框架版本与项目环境兼容性。
  • 建议结合原始 README 了解其对错误处理和命名约定的具体规则。

SKILL.md

VB.NET CODING AGENT SKILL REFERENCE

Target: Claude-Code, Codex, AI coding agents Version: 2026 Modern .NET Max Lines: 500


DETAILED REFERENCES

For detailed patterns, examples, and best practices on specific topics, see:

TopicFileWhen to consult
Type Systemdocs/types-and-declarations.mdVariable declarations, nullable types, field declarations
Control Flowdocs/control-flow.mdIf/ElseIf, Select Case, loops, Exit/Continue
Async/Awaitdocs/async-patterns.mdAsync method structure, ConfigureAwait, cancellation, Task.WhenAll
Error Handlingdocs/error-handling.mdExceptions, Try/Catch/Finally, IDisposable, Using statement
LINQdocs/linq-patterns.mdQuery/method syntax, common operations, deferred execution
Strings & Collectionsdocs/strings-and-collections.mdString comparison/building, List, Dictionary, HashSet, arrays
Class Design & Patternsdocs/class-design-and-patterns.mdProperties, constructors, interfaces, Factory, Repository, Null Object

CRITICAL COMPILER DIRECTIVES

Mandatory File Headers

ALWAYS include at top of every file:

Option Explicit On
Option Strict On
Option Infer On

Rationale: Option Explicit On prevents undeclared variable usage (catches typos), Option Strict On enforces type safety (prevents implicit conversions causing runtime errors), Option Infer On enables local type inference while maintaining type safety.

Never use: Option Explicit Off or Option Strict Off - these create runtime errors, performance degradation, and late binding overhead.

Project-level setting preferred: Set in .vbproj file rather than per-file when possible.


NAMING CONVENTIONS

Core Rules

ElementConventionExample
NamespacePascalCase, hierarchicalCompanyName.ProductName.ComponentName
Class/InterfacePascalCase, noun/noun phraseCustomerRepository, IPaymentProcessor
Interface prefixStarts with IIDisposable, IEnumerable(Of T)
MethodPascalCase, verb/verb phraseCalculateTotal(), ProcessPayment()
PropertyPascalCase, noun/adjectiveCustomerName, IsActive
Field (private)_camelCase with underscore_connectionString, _maxRetries
Field (public/shared)PascalCaseMaxValue, DefaultTimeout
Parameter/LocalcamelCaseuserId, itemCount
ConstantPascalCase or UPPER_SNAKEMaxConnections, DEFAULT_TIMEOUT
Enum TypePascalCase, singularOrderStatus, FileMode
Enum MembersPascalCaseOrderStatus.Pending, FileMode.Read
EventPascalCase, verb phraseDataReceived, ConnectionClosed
DelegatePascalCase, ends with Handler/CallbackEventHandler, DataReceivedCallback
Generic Type ParamT + PascalCaseTKey, TValue, TEntity

Specific Guidelines

Boolean names: Use Is, Has, Can, Should prefixes:

Dim isValid As Boolean
Dim hasChildren As Boolean
Dim canProcess As Boolean

Collection/Array naming: Plural nouns:

Dim customers As List(Of Customer)
Dim orderIds() As Integer

Async method suffix: Always use Async:

Public Async Function LoadDataAsync() As Task(Of DataSet)
Public Async Function SaveCustomerAsync(customer As Customer) As Task

Avoid: Hungarian notation (strName, intCount), My prefix (conflicts with VB.NET My namespace), abbreviations unless universally known (OK: Id, Xml, Http; Avoid: Mgr, Proc, Calc).


CODE LAYOUT AND STYLE

Indentation and Spacing

  • 4 spaces per indentation level (never tabs)
  • One statement per line
  • One blank line between methods/properties
  • Line continuation: Use implicit continuation (no underscore) where possible
' ✓ Implicit line continuation (no underscore needed)
Dim result = customers _
    .Where(Function(c) c.IsActive) _
    .OrderBy(Function(c) c.Name) _
    .ToList()

Dim customer = New Customer With {
    .Name = "John",
    .Email = "john@example.com",
    .IsActive = True
}

' Method parameters
Public Function ProcessOrder(
    orderId As Integer,
    customerId As Integer,
    processDate As Date) As OrderResult

Comments

' Single-line comment for brief explanations

''' <summary>
''' Processes customer orders asynchronously.
''' </summary>
''' <param name="customerId">The unique customer identifier.</param>
''' <param name="cancellationToken">Token to cancel the operation.</param>
''' <returns>A task representing the async operation with the order result.</returns>
''' <exception cref="CustomerNotFoundException">Thrown when customer not found.</exception>
Public Async Function ProcessOrdersAsync(
    customerId As Integer,
    cancellationToken As CancellationToken) As Task(Of OrderResult)

    ' Implementation
End Function

Avoid: Commenting obvious code, redundant comments, commented-out code (use version control).


FILE ORGANIZATION

Standard file structure:

Option Explicit On
Option Strict On
Option Infer On

Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Threading.Tasks

Namespace CompanyName.ProjectName.ComponentName

    ''' <summary>
    ''' Brief class description.
    ''' </summary>
    Public Class ClassName
        ' Constants
        Private Const DefaultTimeout As Integer = 30

        ' Shared (static) fields
        Public Shared ReadOnly MaxConnections As Integer = 100

        ' Private fields
        Private _connectionString As String
        Private ReadOnly _logger As ILogger

        ' Constructors
        Public Sub New(logger As ILogger)
            _logger = logger
        End Sub

        ' Properties
        Public Property Name As String

        ' Methods
        Public Function DoSomething() As Integer
            ' Implementation
        End Function

        ' IDisposable implementation if needed
        Public Sub Dispose() Implements IDisposable.Dispose
            ' Cleanup
        End Sub
    End Class
End Namespace

PERFORMANCE CONSIDERATIONS

Avoid boxing/unboxing: Use generics instead of Object collections.

String comparisons: Use StringComparison.Ordinal for best performance when culture doesn't matter.

LINQ materialization: Call .ToList() only when needed; leverage deferred execution.

Async I/O: Always use async for file, database, network operations.

ConfigureAwait(False): Use in library code to avoid sync context overhead.

StringBuilder: Use for concatenating >3-4 strings in loops.

Collection capacity: Set initial capacity for List(Of T) and Dictionary(Of K, V) when size known.

Dim customers As New List(Of Customer)(expectedCount)  ' Avoid reallocations

COMMON ANTI-PATTERNS TO AVOID

Option Strict Off - causes runtime errors, performance issues ❌ Async void methods - unobservable exceptions (except event handlers) ❌ Blocking async code - .Result, .Wait() cause deadlocks ❌ Catching Exception without logging - swallows errors ❌ Not disposing IDisposable - memory/resource leaks ❌ Using == for strings - culture-dependent, use .Equals() with StringComparisonString concatenation in loops - O(n²) performance ❌ Not using Using statement - resources not released on exception ❌ Hungarian notation - outdated, conflicts with modern style ❌ Magic numbers - use named constants ❌ Deep nesting - extract methods, early returns


AGENT-SPECIFIC GUIDANCE

When generating VB.NET code:

  1. Always include Option Explicit On and Option Strict On at file top
  2. Use explicit types for all declarations
  3. Prefer method syntax LINQ over query syntax (easier for agent parsing)
  4. Always use Using for IDisposable objects
  5. Use Async/Await for any I/O operations
  6. Include XML documentation for public APIs
  7. Use meaningful names - prioritize readability over brevity
  8. Handle exceptions explicitly - no empty catches
  9. Follow naming conventions exactly - PascalCase for public, _camelCase for private fields
  10. One responsibility per method - extract when logic grows
  11. Prefer composition over inheritance - use interfaces
  12. Immutability when possible - ReadOnly fields, ReadOnly properties
  13. Validate parameters at method entry
  14. Use CancellationToken for long-running async operations
  15. Log errors with context - include relevant data in log messages

END OF SKILL REFERENCE

*This document is optimized for AI coding agents generating modern, maintainable VB.NET code targeting .NET Framework 4.8+ and .NET 6/7/8+*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.41%
按下载量换算8,643

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills