hyperstack-foundations

Select and compose Holepunch storage primitives for peer-to-peer backend designs.

102|4|Updated Apr 15, 2009
One-click install
npx skills add https://github.com/mikker/dotfiles --skill hyperstack-foundations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hyperstack-foundations
Source: https://github.com/mikker/dotfiles/tree/main/agents.symlink/skills/hyperstack-foundations
Command: npx skills add https://github.com/mikker/dotfiles --skill hyperstack-foundations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps design and implement peer-to-peer application backends on the Holepunch hyper stack by selecting the right storage primitives to support appropriate replication topology, state ownership, and lifecycle planning for workers, services, or app cores.

Core Features & Use Cases

  • Architecture planning: choose primitives like Autobase, Hyperdb, Hyperbee, Hyperblobs, and Hyperdrive to match replication and data needs.
  • State ownership and lifecycle: define a single durable storage root and clear teardown semantics to prevent resource leaks.
  • Local vs shared boundaries: separate local metadata from replicated state to optimize performance and clarity.
  • Use Case: when building a distributed worker or service that requires deterministic materialization and scalable storage topology.

Quick Start

Draft a backend design that specifies primitives, ownership, and teardown for a Holepunch-based worker or service.

Frequently Asked Questions about hyperstack-foundations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I architect a peer-to-peer backend on Holepunch?

Architecting a peer-to-peer backend on Holepunch involves selecting and composing storage primitives like Autobase, Hyperdb, Hyperbee, Hyperblobs, and Hyperdrive to match your replication topology and data ownership requirements.

When should I use Autobase versus Hyperbee in a distributed backend?

Choose Autobase for multi-writer deterministic state materialization across app cores, and Hyperbee for fast key-value storage and replication in distributed workers or services.

What is the best way to manage lifecycle and teardown in a Holepunch service?

Manage lifecycle and teardown in a Holepunch service by defining a single durable storage root with clear teardown semantics, which prevents resource leaks when distributed workers or app cores spin down.

How do I separate local metadata from replicated state in Hyperstack?

To separate local metadata from replicated state in Hyperstack, define distinct local versus shared boundaries within your storage topology, optimizing replication performance and state ownership clarity for workers.

Does Holepunch hyper stack support scalable storage topology for distributed workers?

The Holepunch hyper stack supports scalable storage topology for distributed workers by enabling composition of primitives like Hyperdrive and Hyperblobs to handle deterministic state materialization and large file replication.