aspnet-core
できること
BlazorやRazor Pages、MVC、API、リアルタイム機能を含む、ASP.NET Coreのウェブアプリの作業を案内します。.NETのウェブアプリを作る、または保守する開発者向けです。
使う場面
- ✓新しいASP.NET Coreアプリを始めて、BlazorやRazor Pages、MVC、Minimal APIsのどれを選ぶか決める必要があるとき。
- ✓ASP.NET Coreアプリに認証、SignalR、gRPC、バックグラウンド処理を追加する必要があるとき。
- ✓既存のASP.NET Coreプロジェクトを、レビューまたは新しいバージョンへ更新したいとき。
スキルのリンク
https://github.com/openai/skills/blob/main/skills/.curated/aspnet-core/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ログイン機能のある小さなASP.NET Coreのウェブアプリを作りたいです。どの種類を使い、どう始めればよいか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
フレームワークのバージョンを確認し、選んだアプリの種類のガイダンスを読み、作業に合う参考資料だけを読み込むよう求めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
ASP.NET Core
Overview
Choose the right ASP.NET Core application model, compose the host and request pipeline correctly, and implement features in the framework style Microsoft documents today.
Load the smallest set of references that fits the task. Do not load every reference by default.
Workflow
- Confirm the target framework, SDK, and current app model.
- Open references/stack-selection.md first for new apps or major refactors.
- Open references/program-and-pipeline.md next for
Program.cs, DI, configuration, middleware, routing, logging, and static assets. - Open exactly one primary app-model reference:
- Add cross-cutting references only as needed:
- Open references/versioning-and-upgrades.md before introducing new platform APIs into an older solution or when migrating between major versions.
- Use references/source-map.md when you need the Microsoft Learn section that corresponds to a task not already covered by the focused references.
Default Operating Assumptions
- Prefer the latest stable ASP.NET Core and .NET unless the repository or user request pins an older target.
- As of March 2026, prefer .NET 10 / ASP.NET Core 10 for new production work. Treat ASP.NET Core 11 as preview unless the user explicitly asks for preview features.
- Prefer
WebApplicationBuilderandWebApplication. Avoid olderStartupandWebHostpatterns unless the codebase already uses them or the task is migration. - Prefer built-in DI, options/configuration, logging, ProblemDetails, OpenAPI, health checks, rate limiting, output caching, and Identity before adding third-party infrastructure.
- Keep feature slices cohesive so the page, component, endpoint, controller, validation, service, data access, and tests are easy to trace.
- Respect the existing app model. Do not rewrite Razor Pages to MVC or controllers to Minimal APIs without a clear reason.
Reference Guide
- references/_sections.md: Quick index and reading order.
- references/stack-selection.md: Choose the right ASP.NET Core application model and template.
- references/program-and-pipeline.md: Structure
Program.cs, services, middleware, routing, configuration, logging, and static assets. - references/ui-blazor.md: Build Blazor Web Apps, choose render modes, and use components, forms, and JS interop correctly.
- references/ui-razor-pages.md: Build page-focused server-rendered apps with handlers, model binding, and conventions.
- references/ui-mvc.md: Build controller/view applications with clear separation of concerns.
- references/apis-minimal-and-controllers.md: Build HTTP APIs with Minimal APIs or controllers, including validation and response patterns.
- references/data-state-and-services.md: Use EF Core,
DbContext, options,IHttpClientFactory, session, temp data, and app state responsibly. - references/security-and-identity.md: Apply authentication, authorization, Identity, secrets, data protection, CORS, CSRF, and HTTPS guidance.
- references/realtime-grpc-and-background-work.md: Use SignalR, gRPC, and hosted services.
- references/testing-performance-and-operations.md: Add integration tests, browser tests, caching, compression, health checks, rate limits, and deployment concerns.
- references/versioning-and-upgrades.md: Hand
よくある質問
適切なアプリの種類を選ぶ助けになりますか?
はい。新しいアプリや大きな再構成のために、最初に技術選択のガイドから始めます。
セキュリティとテストも扱いますか?
はい。認証、認可、テスト、性能、デプロイに関する参考資料を含みます。
新規プロジェクトだけが対象ですか?
いいえ。既存プロジェクトのレビュー、再構成、ASP.NET Coreのアップグレードも扱います。
詳細
作者による元の説明
Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.
repo: openai/skills
人気
- GitHubのスター
- 28k
- ランキング
- #9844
- ライセンス
- —
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
chatgpt-apps
28kMCPサーバーとウィジェットのUIを組み合わせたChatGPTアプリを作る手助けをします。ツール設計、UIリソース、メタデータ、ローカルの設定を扱います。
cli-creator
28kAPIのドキュメント、仕様、既存のスクリプトを、どのフォルダからでも実行でき、安定したJSONを返す再利用可能なコマンドラインツールにする手助けをします。
define-goal
28k曖昧な意図を、成功の基準、範囲、停止条件を含む明確で測定可能な目標に変える手助けをします。作業を始める前に行います。
figma-code-connect-components
28kFigmaのデザインコンポーネントを、Code Connectでコードの対応する部品と結び付け、デザインとコードが一貫するよう手助けします。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。