Back to skills
SKILL.md
Hive Overview
ASecurityHive framework structure and conventions. Apply when working with this codebase.
- 57 stars
- 0 votes
- 0 copies
- 3 views
- Added May 31, 2026
Works with
Security analysis
100/100npx -y skills add diegosouzapw/awesome-omni-skill --skill hive-overview --agent claude-codeAre you the author of Hive Overview?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diegosouzapw-hive-overview)---
name: hive-overview
description: Hive framework structure and conventions. Apply when working with this codebase.
globs:
- src/**/*.js
alwaysApply: false
---
# 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? |
|-----------|---------|-------|
| `/.hive/` | Framework core | No - read only |
| `/src/` | 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/)
- `tokens` - Auth token storage
- `users` - Base user schema
- `db` - Database layer with services
## Key Imports
```javascript
import db from 'db'; // Database
import config from 'app-config'; // Config
import { z } from 'zod'; // Validation
```
## Services Access
```javascript
const taskService = db.services.tasks; // Auto-created from schema
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.