frontend-razor-accessors

Community

Type-safe routing helpers for Razor Views.

Authorduranserkan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Razor views often rely on strings for routing, feature flags, and ViewData keys, which leads to fragile code and refactor risks. This Skill provides a type-safe static accessor pattern to centralize navigation, permissions, and constants, reducing magic strings and easing maintenance.

Core Features & Use Cases

  • Type-safe Get class that hosts routing helpers (Get.Page, Get.Endpoint), permission checks (Get.Claim), and ViewData keys (Get.ViewDataKeys). This pattern improves refactor safety and discoverability in Razor projects.
  • Helper collections group accessors logically (Page and Endpoint collections) to keep routing and constants organized by feature areas.
  • Practical use cases include building navigation links and endpoint calls in Razor views without string literals, and enforcing permission checks in views.

Quick Start

Integrate the central Get class in your Hosted project and begin using Get.Page, Get.Endpoint, Get.Claim, and Get.ViewDataKeys in Razor views.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: frontend-razor-accessors
Download link: https://github.com/duranserkan/DRN-Project/archive/main.zip#frontend-razor-accessors

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.