Back to Marketplace
FREE
Scanned
Grow Business

Holochain hApp Development Assistant

Comprehensive Holochain development support covering zome architecture, Rust HDK patterns, DHT data modeling, testing, and deployment

New skill
No reviews yet
New skill
πŸ€– Claude Code⚑ CursorπŸ’» Codex🦞 OpenClaw
FREE

Free to install β€” no account needed

Copy the command below and paste into your agent.

Instant access β€’ No coding needed β€’ No account needed

What you get in 5 minutes

  • Full skill code ready to install
  • Works with 4 AI agents
  • Lifetime updates included
SecureBe the first

Description

--- name: holochain description: > Holochain hApp development assistant covering coordinator/integrity zome architecture, Rust HDK/HDI patterns, entry/link types, CRUD, validation, cross-zome calls, Tryorama testing, TypeScript client integration, and Nix dev environments. USE WHEN writing zome code, designing DHT data models, scaffolding a new project, testing hApps, debugging HDK issues, implementing entry types or links, cap grants, access control, cell cloning, deploying or packaging hApps, or working on any Holochain project. license: Apache-2.0 compatibility: > Requires Nix dev environment (holonix ref=main-0.6). Rust toolchain managed by Nix β€” no separate rustup install needed. Network access required for hc scaffold and nix flake updates. metadata: author: soushi888 version: "0.1.0" holochain-versions: "hdk=0.6.0, hdi=0.7.0, holonix ref=main-0.6" --- # Holochain Development Skill Expert assistant for Holochain hApp development. Covers the full development spiral: architecture, design, scaffolding, implementation, testing, and deployment. ## Workflow Routing | Workflow | Trigger | File | |----------|---------|------| | **DesignDataModel** | design data model, model entries, what entries, what links, DHT schema | `Workflows/DesignDataModel.md` | | **Scaffold** | scaffold, new happ, new project, setup environment, init project, Holonix, nix develop, hc scaffold | `Workflows/Scaffold.md` | | **ImplementZome** | implement zome, create zome, scaffold zome, write zome | `Workflows/ImplementZome.md` | | **DesignAccessControl** | design access control, who can call, cap grant design | `Workflows/DesignAccessControl.md` | | **PackageAndDeploy** | deploy, package, distribute, kangaroo, installer, desktop app, webhapp | `Workflows/PackageAndDeploy.md` | ## Context Files Load on demand based on task: | File | Load When | |------|-----------| | `Architecture.md` | Coordinator/integrity split, DNA structure, Cargo workspace, Nix, progenitor (dna_info, dna properties, network_seed), private entries, multi-DNA (multiple roles, bridge call, OtherRole) | | `Scaffold.md` | New project setup, Holonix installation, Nix flake, hc CLI, `hc scaffold` commands, adding a new domain to existing project | | `Patterns.md` | Entry types, link types, CRUD, cross-zome calls, validation, HDK 0.6 API (GetStrategy, LinkQuery, Local vs Network), must_get, signals (remote signal, init cap grant) | | `AccessControl.md` | Cap grants, capability system, cap claim, recv_remote_signal setup, admin-only access | | `CellCloning.md` | Cell cloning, partitioned data, clone roles, createCloneCell, clone_limit | | `ErrorHandling.md` | Error types, WasmError, ExternResult patterns, thiserror | | `Testing.md` | Tryorama tests, dhtSync, two-agent scenarios, Vitest setup | | `TypeScript.md` | holochain-client setup, callZome, signals, SvelteKit integration | | `Deployment.md` | Packaging, distributing, Kangaroo-Electron, installers, desktop app, versioning | ## Quick Reference ``` Versions (current stable): hdk = "=0.6.0" hdi = "=0.7.0" holonix ref=main-0.6 Dev commands: nix develop | hc s sandbox generate workdir/ | bun run test Scaffold: hc scaffold entry-type MyEntry | hc scaffold link-type AgentToMyEntry ``` ## Examples **Example 1: Design a new entry type for a marketplace listing** ``` User: "I need to model a Listing entry with status transitions" β†’ Loads Patterns.md (entry types, status enum, link types) β†’ Designs ListingStatus enum (Active/Archived/Deleted) β†’ Defines link types (AgentToListing, PathToListing, ListingUpdates) β†’ Implements soft-delete via status field update, not entry deletion ``` **Example 2: Debug a cross-agent test that fails intermittently** ``` User: "My Tryorama test passes alone but fails when another agent reads the entry" β†’ Loads Testing.md β†’ Identifies missing dhtSync call before cross-agent read β†’ Adds dhtSync([alice, bob], t) after Alice's create, before Bob's get β†’ Test passes reliably ``` **Example 3: Scaffold a new hApp from scratch** ``` User: "Start a new Holochain project for a community coordination app" β†’ Loads Scaffold.md + Workflows/Scaffold.md β†’ Guides: nix flake setup β†’ hc scaffold happ β†’ first DNA β†’ first zome pair β†’ Verifies compilation with hc s sandbox generate workdir/ ``` **Example 4: Implement CRUD for a new zome** ``` User: "Implement a full resource zome with create, read, update, delete" β†’ Loads Architecture.md + Patterns.md β†’ Invokes Workflows/ImplementZome.md β†’ Creates integrity crate (entry struct, link enum, validation) β†’ Creates coordinator crate (create/read/update/delete functions) β†’ Writes Tryorama tests at foundation + integration layers ```

Preview in:

Security Status

Scanned

Passed automated security checks

Related AI Tools

More Grow Business tools you might like