generate-code-for-types

Generate C# source code for multiple or all object types in a NovaDB branch.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill generate-code-for-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-code-for-types
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/generate-code-for-types
Command: npx skills add https://github.com/novadb/claude-plugins --skill generate-code-for-types

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate C# source for many or all object types in a NovaDB branch so developers can inspect, compile, or integrate schema-derived models without manually exporting each type.

Core Features & Use Cases

  • Batch code generation: Create C# code for multiple specified type IDs or for every type in a branch in a single operation.
  • Safe file output: Writes generated source to a validated relative target path, with a sensible default filename when none is provided.
  • Consultant workflows: Useful when preparing branch-wide DTOs, schema review artifacts, or migrating models between services.

Quick Start

Generate C# code for all object types in branch 2100347 and save the result to codegen/types.cs.

Frequently Asked Questions about generate-code-for-types

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate C# code for all object types in a NovaDB branch?

To generate C# code for all object types in a NovaDB branch, provide a numeric branch ID, set the language to csharp, and specify a safe relative targetPath for the output file to batch produce the source code.

Can I generate C# source code for multiple specific type IDs instead of an entire branch?

Yes, you can generate C# source code for specific type IDs by supplying optional comma-separated type IDs along with the required numeric branch ID and target output path.

What is batch C# code generation used for in NovaDB schema workflows?

Batch C# code generation in NovaDB is used to inspect, compile, or integrate schema-derived models, allowing developers to prepare branch-wide DTOs or migrate models between services without manual exports.

Does the C# code generator support outputting to any file path on my system?

No, the C# code generator requires a safe relative target path for the output file, applying a sensible default filename when none is provided to ensure secure file writing.

Why should I not use this tool to generate C# code for a single object type?

This tool is designed for multi-type batch C# code generation across many or all branch types, making it unsuitable and inefficient for single-type generation tasks.

What inputs are required to start generating C# models from a NovaDB branch?

Generating C# models requires a numeric branch ID, the csharp language setting, and a safe relative targetPath, with optional comma-separated type IDs for filtering specific objects.