Kryat Docs Image

Coding Standards

General Principles

  • Use PascalCase for class names, method names, properties, and public fields
  • Use camelCase for local variables, parameters, and private fields
  • Use UPPER_CASE for constants
  • Use _camelCase for private fields (underscore prefix)

Specific Rules

ElementConventionExample
ClassesPascalCaseGraphExtractService
Interfaces"I" prefix + PascalCaseIGraphExtractService
MethodsPascalCaseProcessImageAsync
PropertiesPascalCaseControllerName
Private Fields_camelCase_graphExtractService
ParameterscamelCaseimageUri
Local VariablescamelCaseresult
ConstantsUPPER_CASEAPI_ENDPOINT

Namespace Convention

KikiWriting uses a namespace hierarchy that matches the folder structure, starts with Kiki:

namespace Kiki.Controllers
namespace Kiki.Models
namespace Kiki.Services.GraphExtract

On this page