hor-constant-definition SKILL.md skillA
hor-constant-definition from openreachtech/hora-skills-ort-renchan is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openreachtech/hora-skills-ort-renchan/hor-constant-definition@git:20260905.5a04969Pins git:20260905.5a04969 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openreachtech/hora-skills-ort-renchan
- Path
kit/skills/hor-constant-definition/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260905.5a04969, committed Sep 5, 2026
- Size
- 6,678 bytes
- Repository stars
- 32
- License
- Apache-2.0
Define application constants the Renchan way: one constant (one category) per file, ALWAYS as two files — a CommonJS master constants/<name>.cjs (the single source of truth) plus an ESM bridge app/constants/<name>.js that re-exports it. Use this skill whenever the user asks to add or change a constant — an enum-like value set, a status/category hash, or a master-data id/name table.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Constant Definition A skill for defining **application constants**. There is **one rule and no case-by-case judgment**: every constant is defined as **two files** — a CommonJS **master** and an ESM **bridge**. Deciding per-constant whether a seeder will ever need it is error-prone, so you skip that decision and always provide both. > This skill states a **general, project-independent rule** — a refined best practice, not a > description of any one project's current code, so it need not match a given repo's existing > notation. The directory and value names in it (`constants/`, `app/constants/`, `memberRankConstants`, > …) are **illustrative fakes**; use your project's own names. The two-file rule exists because > application code is **ESM** (`import` / `export`) while seeders are **CommonJS** (`.cjs`, loaded with > `require`), so a shared constant must be readable from both. ## Grand principle: one category per file, always defined as a `.cjs` master + a `.js` bridge A constant file holds **exactly one category** of values (one hash / one set). For every constant you create **both** of these, with the **same base name**: | File | Module system | Role | | --- | --- | --- | …
Read the whole file at its exact version.
How to install
mdr add openreachtech/hora-skills-ort-renchan/hor-constant-definition@sha256:2d72be5b35eff5efThe line at the top of this page pins the label git:20260905.5a04969, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_72vepp36w2rrx7cd)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 5, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6678 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openreachtech/hora-skills-ort-renchan · 32 stars · license Apache-2.0 · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_72vepp36w2rrx7cd GET https://markdownregistry.com/api/v1/resolve?ref=openreachtech/hora-skills-ort-renchan/hor-constant-definition GET https://markdownregistry.com/api/v1/blob/2d72be5b35eff5efb744ba06852c3a3eedff50b429ca5abec21e14aa38768607
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.