スキル一覧に戻る
AterDev

perigon

by AterDev

The speed web template base on asp.net core and aspire

1🍴 1📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: perigon description: Pointers for Copilot/agents to apply Perigon conventions

When to use

  • Need project rules, locations, or docs before generating code.

Usage

  • Start with .github/copilot-instructions.md (global rules: accuracy first, no builds unless asked, check diagnostics).
  • Repository layout (from README):
    • docs: project documents
    • scripts: project scripts
    • src: project code
    • test: test projects
    • .config: configuration files
  • Backend map: definitions in src/Definition/{Entity,EntityFramework,Share,ServiceDefaults}; managers/DTOs in src/Modules/{Mod}/{Managers,Models}; controllers in src/Services/*/Controllers; host in src/AppHost.
  • Frontend map: Angular app in src/ClientApp/WebApp (routes app/app.routes.ts, services app/services, shared components app/share/components, i18n assets/i18n).
  • src layout highlights:
    • src/Perigon/Perigon.AspNetCore: base libraries and helpers
    • src/Definition/ServiceDefaults: shared service registrations
    • src/Definition/Entity: entities organized by module
    • src/Definition/EntityFramework: EF Core DbContext and migrations
    • src/Modules/{Mod}/Managers: business logic
    • src/Modules/{Mod}/Models: DTOs by entity
    • src/Services/ApiService: public Web API
    • src/Services/AdminService: admin Web API
  • Key docs: Development-Conventions, Constants-Definition, Database, Manager-Business-Logic, Controller-APIs at https://dusi.dev/docs/Perigon/en-US/10.0/Best-Practices/…
  • Behavior defaults: RESTful APIs; ManagerBase pattern; Code First EF; Guid v7 IDs; BusinessException/Problem for errors; select projections over heavy Include; avoid manager cross-calls; no ApiResponse wrappers.
  • When unclear: ask for entity/DTO details and target module/service; do not assume; avoid auto-running builds/migrations.
  • Constants:
    • Shared constants live in src/Definition/Share/Constants; module-specific constants stay in their module/service.
    • Extend AppConst via extension methods in Share/Constants (e.g., AppExtensions) rather than modifying base constants.
  • Migrations/runtime:
    • AppHost startup applies latest migrations via MigrationService.
    • For new DbContext: add under Definition/EntityFramework/AppDbContext and register in Definition/ServiceDefaults/FrameworkExtensions, then resolve via UniversalDbFactory.
  • MCP (perigon CLI MCP server):
    • Prefer MCP generation tools over manual scaffolding when creating modules/entities/DTOs/managers/controllers.
    • Available MCP tools to use:
      • create module: mcp_perigon_create_module
      • new entity model: mcp_perigon_new_entity
      • generate DTO: mcp_perigon_generate_dto
      • generate manager: mcp_perigon_generate_manager
      • generate controller API: mcp_perigon_generate_controller
      • create/verify razor template: mcp_perigon_create_razor_template / mcp_perigon_verify_razor_template
      • execute generate task: mcp_perigon_execute_generate_task
    • MCP server config lives in .mcp.json and .vscode/mcp.json; use configured endpoints when invoking tools.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です