← スキル一覧に戻る

endpoint-implementation
by wmeints
Promptyard is a prompt management tool that helps you organize, optimize, and reuse prompts for applications like ChatGPT and Claude.
⭐ 3🍴 0📅 2026年1月5日
SKILL.md
name: endpoint-implementation description: Use this skill to implement endpoints in the API
Structure of an endpoint slice
Read the docs/architecture/05-building-block-view.md file to understand how feature groups and feature slices are structured. Each endpoint is a feature slice with a specific structure described below.
File structure
- Users/ # Feature group
- Prompts/ # Feature group
- Repositories/ # Feature group
- OnboardUserRepository.cs # Feature slice
- Repository.cs # Aggregate root
- UserRepositoryDetails.cs # Read model
- Skills/ # Feature group
Endpoint code guidelines
- Use a record class to model the command, for example:
OnboardUserRepository - Use a record class to model the response
OnboardUserRepositoryResponse - Use a record class to model any events
UserRepositoryOnboarded - Use a class postfixed with
Endpointe.g.OnboardUserRepositoryEndpointto structure the endpoint - Use a method called
Handlefor the business logic in the endpoint.- Use the
[WolverinePost("<url>")],[WolverineGet("<url>")],[WolverinePutt("<url>")]or[WolverineDelete("<url>")]attributes to enable access via HTTP. - The method should return a tuple where the first element is the response object, the second element the event, and the final element the optional side-effects.
- Use the
- Use a
Validatemethod for any custom validations that you can't model with FluentValidation validators
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です