backend-models
Build Reliable Backend Models
Backend teams need consistent model definitions that match database and ORM standards. This skill guides AI assistants through model naming, relationships, casts, validation, factories, and seeders.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "backend-models" from https://skillstore.io/skills/devanb-backend-models.md and its manifest at https://skillstore.io/api/skills/devanb-backend-models/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "backend-models". Review a Customer model with orders, soft deletes, and hidden personal fields.
Expected outcome:
- Identifies the needed orders relationship and ownership direction.
- Recommends hidden personal fields and appropriate casts.
- Checks soft delete setup and related index considerations.
Using "backend-models". Plan models, factories, and seeders for a subscription billing feature.
Expected outcome:
- Lists core entities and their relationship types.
- Describes factory data needed for reliable tests.
- Calls out validation and constraint checks before implementation.
Security Audit
SafeThe external command finding is a false positive caused by Markdown backticks around a path, with no command execution. The filesystem finding is confirmed because SKILL.md points agents to a parent-directory file outside the skill package using ../../../. No prompt injection, exfiltration intent, or other semantic abuse was found in SKILL.md.
Capability review items (1)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (1)
๐ Filesystem access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/devanb-backend-models/audits/11?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/devanb-backend-models?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/devanb-backend-models?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/devanb-backend-models/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/devanb-backend-models.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
DevanB. (2026). backend-models security audit report (audit version 11) [Author version unspecified]. Skillstore. https://skillstore.io/skills/devanb-backend-models/audits/11BibTeX citation
@techreport{devanb-devanb-backend-models-2026,
author = {DevanB},
title = {backend-models security audit report (audit version 11)},
institution = {Skillstore},
year = {2026},
number = {11},
url = {https://skillstore.io/skills/devanb-backend-models/audits/11},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "backend-models security audit report (audit version 11)"
version: "unspecified"
type: report
authors:
- name: "DevanB"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/devanb-backend-models/audits/11"
identifiers:
- type: other
value: "skillstore:devanb-backend-models:audit:11"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
devanb-backend-models
2026-08-21
eis-its-backend-models
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Create Project Models
Draft model definitions with names, attributes, relationships, timestamps, casts, and validation needs.
Prepare Test Data
Plan factories and seeders that match model attributes, relationships, and database constraints.
Review Model Consistency
Check existing model files for relationship accuracy, fillable fields, hidden attributes, scopes, and soft delete setup.
Try These Prompts
Use the backend-models skill to draft an Eloquent model for [entity] with fillable fields [fields] and timestamps.
Use the backend-models skill to update [model] with relationships to [related models], casts for [fields], and hidden attributes for [fields].
Use the backend-models skill to review [model] against these migration details: [summary]. Check constraints, indexes, validation, and scopes.
Use the backend-models skill to design models for [feature]. Include entities, relationships, casts, validation rules, factories, seeders, indexes, and observer needs.
Best Practices
- Provide table names, key fields, and relationship cardinality before asking for model changes.
- Ask for casts, fillable fields, hidden attributes, and validation rules in the same model review.
- Confirm model guidance against migrations and database constraints before implementation.
Avoid
- Do not ask the skill to infer private schema details without project context.
- Do not treat model guidance as a substitute for migration or database review.
- Do not reference missing external standard files without sharing the relevant rules.