Hoc modules imports

From openreachtech/hora-skills-ort-core · View interactive version

Hoc modules imports is an AI agent skill from the GitHub repository openreachtech/hora-skills-ort-core. Conventions for module imports. Group imports at the top of the file, ordered from farthest to nearest to application development.

How to use this skill

Skill file

Modules: Imports

Conventions related to module imports.

Group imports at the top of the file

Import order

  1. JavaScript native modules
  2. third party dependency modules
  3. ORT modules
  4. application modules
  5. constants
// JavaScript native modules
import fs from 'node:fs'

// third party dependency modules
import express from 'express'

// ORT modules
import BaseClass from '@openreach/base'

// application modules
import ColorNormalizer from '../lib/ColorNormalizer.js'

// constants
import COLOR from '../constants/COLOR.js'
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.