Skip to content
Back to skills

Add Entity Field

ASecurity

Add a new field to an existing entity/model with related service and endpoint updates

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill add-entity-field --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Entity Field?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Entity Field
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-add-entity-field-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-add-entity-field-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Add a new field to an existing entity/model with related service and endpoint updates
---
# Add Entity Field Skill

Add a new field to an existing entity/model in the NovaTune project.

## Steps

1. **Identify the entity file**
   - Location: `src/NovaTuneApp/NovaTuneApp.ApiService/Models/`
   - File naming: `{EntityName}.cs`

2. **Add the property to the entity class**
   ```csharp
   public required string NewFieldName { get; set; }
   // Or for optional fields:
   public string? OptionalFieldName { get; set; }
   ```

3. **Update related services**
   - Check `src/NovaTuneApp/NovaTuneApp.ApiService/Services/` for services that use this entity
   - Update DTOs if they exist
   - Update any mapping logic

4. **Update endpoints**
   - Check `src/NovaTuneApp/NovaTuneApp.ApiService/Endpoints/` for affected endpoints
   - Update request/response models if needed

5. **Update RavenDB indexes if applicable**
   - Location: `src/NovaTuneApp/NovaTuneApp.ApiService/Infrastructure/RavenDb/`
   - Add field to index if it will be queried

6. **Add tests**
   - Unit tests: `src/unit_tests/`
   - Integration tests: `src/NovaTuneApp/NovaTuneApp.Tests/`

## Code Style

- Use `required` for mandatory fields
- Use nullable reference types (`?`) for optional fields
- PascalCase for property names
- Add XML documentation comments for public APIs

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.