Source profileQuality 92/100

Benknightdark/neo-skills/skills/neo-dotnet-tag-helper/SKILL.md

neo-dotnet-tag-helper

Use this skill when the user asks to design, implement, refactor, or review custom ASP.NET Core Tag Helpers in C#, including TagBuilder usage, strongly typed attributes, dependency injection, ProcessAsync, and reusable Razor UI behavior.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-08-18
Source checked
2026-08-28

Decision brief

What it does: where it fits

NET Core Tag Helpers in C#, including TagBuilder usage, strongly typed attributes, dependency injection, ProcessAsync, and reusable Razor UI behavior.

Best for

  • Use this skill when the user asks to design, implement, refactor, or review custom ASP.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/Benknightdark/neo-skills --skill "skills/neo-dotnet-tag-helper"
Safe inspection promptEditorial

Inspect the Agent Skill "neo-dotnet-tag-helper" from https://github.com/Benknightdark/neo-skills/blob/40463275dd97f94cb75b759abe7e232ef8a91ee2/skills/neo-dotnet-tag-helper/SKILL.md at commit 40463275dd97f94cb75b759abe7e232ef8a91ee2. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow (Generator Pattern)

    Follow these steps exactly to create robust, high-performance C Tag Helpers.

    Target HTML Tag: What is the name of the custom tag in HTML? (e.g., , )Properties: What parameters/attributes should this tag accept? (e.g., theme, is-active, user-id)Dependencies (DI): Does this tag need to query a database or call a service? (Needs Dependency Injection)
  2. 02

    Step 1: Perceive & Gather Requirements (Inversion)

    Before writing any code, ask the user to clarify the following if not already provided: 1. Target HTML Tag: What is the name of the custom tag in HTML? (e.g., , ) 2. Properties: What parameters/attributes should this tag accept? (e.g., theme, is-active, user-id) 3. Dependencies…

    Target HTML Tag: What is the name of the custom tag in HTML? (e.g., , )Properties: What parameters/attributes should this tag accept? (e.g., theme, is-active, user-id)Dependencies (DI): Does this tag need to query a database or call a service? (Needs Dependency Injection)
  3. 03

    Step 2: Reason & Design (Planning)

    Based on the answers: - Class Naming: Ensure the class name ends with TagHelper (e.g., MyButtonTagHelper). - Target Element: Apply [HtmlTargetElement("my-button")]. - Properties: Map HTML kebab-case attributes to C PascalCase properties. Apply [HtmlAttributeName("is-active")] if…

    Class Naming: Ensure the class name ends with TagHelper (e.g., MyButtonTagHelper).Target Element: Apply [HtmlTargetElement("my-button")].Properties: Map HTML kebab-case attributes to C PascalCase properties. Apply [HtmlAttributeName("is-active")] if necessary.
  4. 04

    Step 3: Act (Code Generation)

    Generate the complete C class. Strictly adhere to the following rules: 1. Inherit from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper. 2. Do NOT generate .cshtml files. All HTML must be constructed using TagBuilder inside the C class. 3. If ViewContext is needed, use [ViewConte…

    Inherit from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.Do NOT generate .cshtml files. All HTML must be constructed using TagBuilder inside the C class.If ViewContext is needed, use [ViewContext] and [HtmlAttributeNotBound].

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
Benknightdark/neo-skills
Skill path
skills/neo-dotnet-tag-helper/SKILL.md
Commit
40463275dd97f94cb75b759abe7e232ef8a91ee2
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

.NET Tag Helper Expert Skill

Trigger On

  • The user requests to create, generate, or design a custom Razor Tag Helper in C#.
  • The user wants to encapsulate complex HTML/UI logic into reusable custom tags without using Partial Views or CSHTML.
  • The target framework is .NET 6.0 (LTS) and above.

Workflow (Generator Pattern)

Follow these steps exactly to create robust, high-performance C# Tag Helpers.

Step 1: Perceive & Gather Requirements (Inversion)

Before writing any code, ask the user to clarify the following if not already provided:

  1. Target HTML Tag: What is the name of the custom tag in HTML? (e.g., <my-button>, <user-card>)
  2. Properties: What parameters/attributes should this tag accept? (e.g., theme, is-active, user-id)
  3. Dependencies (DI): Does this tag need to query a database or call a service? (Needs Dependency Injection)
  4. Context: Does it need to access ViewContext (e.g., to generate URLs or check model state)?

Step 2: Reason & Design (Planning)

Based on the answers:

  • Class Naming: Ensure the class name ends with TagHelper (e.g., MyButtonTagHelper).
  • Target Element: Apply [HtmlTargetElement("my-button")].
  • Properties: Map HTML kebab-case attributes to C# PascalCase properties. Apply [HtmlAttributeName("is-active")] if necessary.
  • Method Selection:
    • If no IO/Async operations, override Process.
    • If using DI for database/API calls, override ProcessAsync.

Step 3: Act (Code Generation)

Generate the complete C# class. Strictly adhere to the following rules:

  1. Inherit from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.
  2. Do NOT generate .cshtml files. All HTML must be constructed using TagBuilder inside the C# class.
  3. If ViewContext is needed, use [ViewContext] and [HtmlAttributeNotBound].
  4. Manage content properly using output.TagName, output.Attributes.SetAttribute, and output.Content.SetHtmlContent.
  5. Ensure Thread-Safety (do not store request-specific state in instance fields unless injected as scoped/transient).

Step 4: Validate (Quality Check)

Review the generated code against these criteria before presenting it:

  • Are all properties strongly typed?
  • Is TagBuilder used instead of string concatenation for HTML elements?
  • Is ProcessAsync used correctly if awaiting tasks?

Deliverable

Present the C# code wrapped in a markdown code block. Briefly explain how to register it in _ViewImports.cshtml (e.g., @addTagHelper *, YourAssemblyName).

Documentation

Official References

Internal References

Frequently asked questions

What to verify before installation and use

What does the neo-dotnet-tag-helper source document cover?

NET Core Tag Helpers in C#, including TagBuilder usage, strongly typed attributes, dependency injection, ProcessAsync, and reusable Razor UI behavior.

How do I install neo-dotnet-tag-helper?

The source record exposes this install command: npx skills add https://github.com/Benknightdark/neo-skills --skill "skills/neo-dotnet-tag-helper". Inspect the command and pinned source before running it.

Alternatives

Compare before choosing

Computed 100147

oaustegard/claude-skills

featuring

Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre

Computed 9916

NintendaDev/unikit-ai

unikit-docs

Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th

Computed 976

mgiovani/cc-arsenal

team-review

Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r

Computed 96156

open-edge-platform/edge-ai-libraries

chatqna-helm-deploy

Deploy Chat Question-and-Answer Core to Kubernetes using Helm (OpenVINO CPU, OpenVINO GPU, or Ollama), including values.yaml configuration, helm install/upgrade, deployment verification, uninstall, and translation from Docker Compose setup_env.sh variables into Helm override values. Use this skill when the user says "deploy chatqna core to kubernetes", "helm install chatqna-core", "configure values.yaml", "convert compose config to helm", or "translate setup_env.sh to chart values".