Awesome-omni-skill hive-overview
Hive framework structure and conventions. Apply when working with this codebase.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/hive-overview" ~/.claude/skills/diegosouzapw-awesome-omni-skill-hive-overview && rm -rf "$T"
manifest:
skills/development/hive-overview/SKILL.mdsource content
Hive Framework Overview
Hive is a Koa-based Node.js framework with MongoDB, Zod validation, and auto-sync for embedded documents.
Directory Structure
| Directory | Purpose | Edit? |
|---|---|---|
| Framework core | No - read only |
| Application code | Yes |
Resources
A resource is a feature module in
/src/resources/{name}/:
src/resources/{name}/ ├── {name}.schema.js # Required: DB schema ├── endpoints/ # API routes ├── handlers/ # Event listeners └── methods/ # Reusable functions
Built-in (in .hive/)
- Auth token storagetokens
- Base user schemausers
- Database layer with servicesdb
Key Imports
import db from 'db'; // Database import config from 'app-config'; // Config import { z } from 'zod'; // Validation
Services Access
const taskService = db.services.tasks; // Auto-created from schema