SkillAgentSearch skills...

Rules-Agents

Conjunto de reglas y mejores prácticas genéricas para desarrollo backend con Amazon Q Developer y otros asistentes de IA.

Install / Use

npx skills add EduMMorenolp/Rules-Agents

Installs into whichever agent you are using.

About this skill
📦

Amazon Q Rules

Amazon Q Developer rules

Quality Score

66/100

Supported Platforms

Amazon Q

Our assessment of Rules-Agents

Rules-Agents scores 66/100 on our quality scale, 3939th of 4,604 Development & Engineering skills we index.

Its Amazon Q Rules is 2.8 KB long, well organised into 15 sections with 7 code examples: a solid amount of guidance for an agent.

It has no GitHub stars yet, so there is no community track record; judge it on its content.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
0/20
Freshness
5/15

Maintenance, license and trust

  • We could not determine when the repository was last updated.
  • Our last check on 2026-09-02 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Rules-Agents compared with similar skills

All 4 of these similar skills score higher than Rules-Agents; compare them before choosing.

SkillScoreStarsUpdatedFormat
Rules-Agents (this skill)by EduMMorenolp660—Amazon Q Rules
taste-skillby Leonxlnx100102.7ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10066.0k5d agoCLAUDE.md
claude-howtoby luongnv8910045.2k6d agoCLAUDE.md
algorithmic-artby anthropics100177.9k33d agoSKILL.md

Frequently asked questions

How do I install Rules-Agents?
Run npx skills add EduMMorenolp/Rules-Agents. The install tabs above show the steps for each supported agent.
Which AI agents does Rules-Agents work with?
It is written for Amazon Q, as a Amazon Q Rules file. Other agents that read the same format can often use it too.
Is Rules-Agents safe to use?
It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is Rules-Agents still maintained?
We could not determine when the repository was last updated.

AccessAI Backend - Timestamp Rules (OBLIGATORIO)

🚨 REGLA CRÍTICA: SIEMPRE snake_case

✅ CORRECTO - OBLIGATORIO

// ✅ SIEMPRE usar snake_case en queries
order: [['created_at', 'DESC']]
order: [['updated_at', 'DESC']]

// ✅ SIEMPRE usar snake_case en where
where: { created_at: { [Op.gte]: startDate } }
where: { updated_at: { [Op.lt]: endDate } }

// ✅ SIEMPRE usar snake_case en updates
await Model.update({ updated_at: new Date() }, { where: { id } });

❌ PROHIBIDO - NUNCA USAR

// ❌ NUNCA usar camelCase
order: [['createdAt', 'DESC']]   // MAL
order: [['updatedAt', 'DESC']]   // MAL

// ❌ NUNCA usar camelCase en where
where: { createdAt: { [Op.gte]: startDate } }  // MAL
where: { updatedAt: { [Op.lt]: endDate } }     // MAL

// ❌ NUNCA usar camelCase en updates
await Model.update({ updatedAt: new Date() }, { where: { id } }); // MAL

🔧 Configuración Obligatoria de Modelos

✅ Configuración Estándar

const Model = sequelize.define('ModelName', {
    // campos del modelo
}, {
    tableName: 'table_name',
    underscored: true,           // ✅ OBLIGATORIO
    timestamps: true,            // ✅ OBLIGATORIO
    createdAt: 'created_at',     // ✅ OBLIGATORIO
    updatedAt: 'updated_at'      // ✅ OBLIGATORIO
});

📋 Ejemplos Comunes

Queries de Listado

// ✅ CORRECTO
const alerts = await Alert.findAll({
    order: [['created_at', 'DESC']]
});

// ✅ CORRECTO
const devices = await Device.findAll({
    order: [['updated_at', 'DESC']]
});

Filtros por Fecha

// ✅ CORRECTO
const recentAlerts = await Alert.findAll({
    where: {
        created_at: {
            [Op.gte]: new Date(Date.now() - 24 * 60 * 60 * 1000)
        }
    }
});

Updates con Timestamp

// ✅ CORRECTO
await Alert.update(
    { updated_at: new Date() },
    { where: { id: alertId } }
);

🚨 Validación Obligatoria

Antes de Commit

  1. Buscar en código: createdAt y updatedAt
  2. Reemplazar por: created_at y updated_at
  3. Verificar queries: Todos los order deben usar snake_case
  4. Verificar updates: Todos los updates de timestamp deben usar snake_case

Comando de Verificación

# Buscar usos incorrectos
grep -r "createdAt\|updatedAt" src/
grep -r "order.*createdAt\|order.*updatedAt" src/

📝 Checklist Pre-Commit

  • [ ] ✅ Todos los order usan created_at / updated_at
  • [ ] ✅ Todos los where usan created_at / updated_at
  • [ ] ✅ Todos los update usan created_at / updated_at
  • [ ] ✅ Modelos configurados con underscored: true
  • [ ] ✅ Modelos configurados con createdAt: 'created_at'
  • [ ] ✅ Modelos configurados con updatedAt: 'updated_at'

Esta regla es OBLIGATORIA y NO NEGOCIABLE para mantener consistencia con la base de datos PostgreSQL que usa snake_case.

Related Skills

View on GitHub
GitHub Stars0
CategoryDevelopment
UpdatedNaNy ago
Forks0

Trust signals

68/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 medium1 low