paralect/hive/hive-mapping

Claude Code and agent skill by paralect/hive

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Schema mappings for auto-syncing embedded documents

Install

npx vskill@latest install paralect/hive/hive-mapping

SKILL.md

The same SKILL.md was published earlier as diegosouzapw/awesome-omni-skill/hive-mapping.

Schema Mappings

Auto-sync embedded references when source documents change.

Location: /src/autoMap/schemaMappings.json

How It Works

  1. You embed document references in schemas (e.g., user: { _id, fullName })
  2. You register the mapping in schemaMappings.json
  3. When source document updates, all referencing documents sync automatically

Config Format

json
{
"tasks": {
"user": {
"schema": "users"
},
"project": {
"schema": "projects"
}
}
}

Means: In tasks collection, fields user and project reference users and projects collections.

Example

Schema with embedded reference:

javascript
// tasks.schema.js
project: z
.object({
_id: z.string(),
name: z.coerce.string().nullable().optional(),
logoUrl: z.coerce.string().nullable().optional(),
})
.nullable()
.optional(),

Mapping config:

json
{
"tasks": {
"project": {
"schema": "projects"
}
}
}

Result: When project's name or logoUrl changes, all tasks with that project update automatically.

Adding New Mapping

  1. Define embedded reference in schema (include fields to sync)
  2. Add entry to schemaMappings.json:
json
{
"yourResource": {
"fieldName": {
"schema": "sourceSchema"
}
}
}

Rules

  • Only fields defined in the embedded object shape are synced
  • Works for both single references and arrays
  • Changes sync on source document updated event

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/paralect/hive/hive-mapping/badge)](https://verified-skill.com/skills/paralect/hive/hive-mapping)

Something wrong with this skill or its page? Tell us.