blazor

A set of guidelines for building Blazor applications, where Razor components are .NET files that define web pages and interface parts, with Fluent UI Blazor components. It covers page structure, services, forms, localization, validation, and visible loading or error states.

In plain words
What is it for?
Use it when adding or changing Blazor pages, layouts, forms, dashboards, language support, or services used by the interface.
Why use it?
It helps keep interface code focused, workflows reusable, and user-facing text and states consistent across the application.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/aterdev/perigon.cli/blazor
Any agent
npx skills add AterDev/Perigon.CLI --skill blazor
Clone the repo
git clone --depth 1 https://github.com/AterDev/Perigon.CLI

Made for: Claude Code, Codex.

Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.00328
Opus 5 $0.00023 $0.00164
Sonnet 5 $0.00009 $0.00066
Haiku 4.5 $0.00005 $0.00033

Measured yesterday against content hash 4c8b774c9e21, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

blazor 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 yesterday.

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.

.agents/skills/blazor/SKILL.md · 30 lines

What it actually says

Blazor And Fluent UI Development

Workflow

  1. Identify the page, component, layout, or service under src/Apps/Dashboard.
  2. Read nearby Razor components and code-behind for local patterns.
  3. Check Program.cs and ServiceCollectionExtension.cs before changing service registration or middleware.
  4. Read the CoreMod service/manager before putting workflow logic in UI code.

Conventions

  • Keep Razor components focused on UI composition and user interaction.
  • Put reusable workflows in CoreMod services or managers.
  • Use Fluent UI Blazor components and icons consistently with surrounding pages.
  • Preserve app-level providers for message bars, toasts, dialogs, tooltips, menus, and theme.
  • Use scoped managers/services registered through the app startup path; avoid ad hoc service construction.
  • Make loading, empty, success, and error states explicit for data and form flows.
  • Keep UI text product-facing, not implementation-facing.

Localization And Validation

  • Use @Localizer.Get(Localizer.Key) for user-facing labels.
  • Add new strings to both src/Share/Localizer.zh-CN.resx and src/Share/Localizer.en-US.resx.
  • Prefer testing workflow behavior at the CoreMod service/manager layer. Run the Dashboard manually only when the UI change is risky or the user asks.
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. yesterday First seen · 30 lines · 45 tokens per session scan A 4c8b774c9e21

Subscribe to this mod's changes

blazor is a skill published in the GitHub repository AterDev/Perigon.CLI (53 stars, last pushed 3d ago), licensed Apache-2.0. It adds 45 tokens to every session and 328 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

entity-framework-core

Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET applications. USE FOR: DbContext, migrations, model configuration, EF queries, tracking, loading, performance, transactions, and EF6 migration decisions. DO NOT USE FOR…

managedcode/dotnet-skills · 110 tokens

i18n-translate

翻译 Chatbox Pro 当前未提交改动、暂存改动或用户指定 commit/range 中新增或受影响的 i18n key。当用户要求翻译、补全与改动 UI 文案相关的翻译时使用。Agent 需要阅读 diff 和组件上下文,遵守 skill 内置 glossary,并直接写 locale JSON;脚本只用于最后校验。.

chatboxai/chatbox · 88 tokens

aspire

Build, upgrade, and operate Aspire 13.5.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for distributed apps. USE FOR: Aspire.AppHost.Sdk, Aspire.Hosting., DistributedApplication.CreateBuilder, apphost.mts…

managedcode/dotnet-skills · 145 tokens

microsoft-agent-framework

Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails. USE FOR: building or reviewing .NET code that uses Microsoft.Agents., Microsoft.Extensions.AI, AIAgent, HarnessAgent…

managedcode/dotnet-skills · 138 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens

worker-services

Build long-running .NET background services with BackgroundService, Generic Host, graceful shutdown, configuration, logging, and deployment patterns suited to workers and daemons. USE FOR: background services; scheduled workers; hosted services; worker extraction; graceful shutdown, health checks, and service hosting…

managedcode/dotnet-skills · 109 tokens