Codegen

From AterDev/Perigon.CLI · View interactive version

Codegen is an AI agent skill from the GitHub repository AterDev/Perigon.CLI. Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.

How to use this skill

Skill file

Code Generation

Workflow

  1. Inspect the relevant generator in src/CodeGenerator/Generate.
  2. Inspect helpers in src/CodeGenerator/Helper before adding parsing logic.
  3. Inspect templates in src/CodeGenerator/Templates when output text changes.
  4. Inspect regression tests in tests/StudioMod.Tests/Generate.

Conventions

Tests

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.