Skip to content
Back to skills

Dygo Entity Modeling

ASecurity

Design or change dygo Entity metadata, Fields, Record Collections, links, naming, routes, indexes, and constraints. Use when a business data model or metadata contract is the main task.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
databasesgosql

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add hapyco/dygo --skill dygo-entity-modeling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dygo Entity Modeling?

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

Security grade badge for Dygo Entity Modeling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hapyco-dygo-entity-modeling/badge)](https://www.skillsdirectory.com/skills/hapyco-dygo-entity-modeling)

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
---
name: dygo-entity-modeling
description: Design or change dygo Entity metadata, Fields, Record Collections, links, naming, routes, indexes, and constraints. Use when a business data model or metadata contract is the main task.
---

# dygo Entity Modeling

Model the business domain explicitly in metadata before you add custom code.

## Source Contracts

Read the relevant parts of:

- `docs/entity-metadata.md`
- `docs/app-model.md`
- `docs/nomenclature.md`
- `docs/metadata-authoring.md`

Use `schemas/entity.schema.json` for editor guidance. Treat Go validation as authoritative.

## Rules

- Use a singular, file-derived Entity key.
- Keep Entity identity app-scoped. Use `<app>/<entity>` where an app-qualified identity is required.
- Keep the user route slug separate from Entity identity. Make route slugs globally unique.
- Use Record `name` as the stable system or business identifier. Keep numeric `id` internal.
- Use a Record Collection for repeating parent-owned structure. Do not give collection rows routes, standalone permissions, links to normal Entities, or Hooks.
- Use Field-level `index` and `unique` only for single-Field shorthands.
- Use top-level indexes and constraints for composite or structured rules.
- Use structured checks. Do not add raw SQL to Entity metadata.
- Prefer metadata that a human can review without knowing storage internals.

## Check

Run the narrowest useful checks: `dygo entity validate`, `dygo entity show <app>/<entity>`, `dygo entity graph`, and `dygo route validate`.

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…