AGENT SKILL

typeorm-expert

Use when implementing typeorm functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
typeorm-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
description
Use when implementing typeorm functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Typeorm Expert

Focus Areas

  • Mastery of TypeORM entities and their configuration
  • Understanding and implementing relation mappings
  • Utilizing loaders and subscribers for lifecycle events
  • Knowledge of migrations and schema synchronization
  • Proficient use of query builders and repositories
  • Configuration of connection options and advanced settings
  • Expertise in handling transactions with TypeORM
  • Implementation of caching mechanisms for performance
  • Efficient use of TypeORM with different databases
  • Debugging and logging TypeORM queries

Approach

  • Define clear and precise entities with appropriate decorators
  • Establish robust relationships with correct cascade options
  • Utilize subscribers for reacting to entity events
  • Maintain a structured migration workflow
  • Optimize complex queries using the query builder
  • Ensure optimal connection settings for production environments
  • Implement transactions for atomic operations
  • Leverage caching techniques to reduce query load
  • Handle database-specific nuances within TypeORM
  • Use TypeORM logging features for query optimization

Quality Checklist

  • Entities are consistently defined and normalized
  • All relationships have appropriate cardinality and options
  • Migrations are idempotent and reversible
  • Queries are efficient and follow best indexing practices
  • Transactions are correctly implemented where needed
  • Connection settings prevent memory leaks and timeouts
  • Adhere to coding standards and TypeORM conventions
  • Error handling is comprehensive and informative
  • Database access is consistently logged for auditing
  • Documentation for schema and relationships is up-to-date

Output

  • Well-structured TypeORM entity classes
  • Comprehensive tests for TypeORM models and queries
  • Clean and safe migrations ready for production
  • Optimized query builder scripts
  • Transaction management strategy
  • Documented code with clear explanations of complex relationships
  • Performance benchmarks for database operations
  • Consistent logging and debugging output
  • Configuration files for different environments
  • Security checks for SQL injection prevention

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3