rimitive-module

Community

Create composable Rimitive modules instantly

Authorhejhi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill documents how to define modular, composable pieces of functionality for Rimitive so library and application authors can encapsulate setup, teardown, and shared infrastructure without leaking global state or coupling to frameworks.

Core Features & Use Cases

  • Composable module definitions: Use defineModule to expose a named API on the composed service that consumers call directly.
  • Dependency resolution: Declare module dependencies that are automatically resolved by compose(), including transitive dependencies.
  • Lifecycle and factory patterns: Support init and destroy hooks, plus factory modules for adapter-bound configuration, enabling adapters, HTTP clients, caching, and more.
  • Use Case: Build a reusable counter, logging, adapter, or API module that composes with signals and view modules and remains tree-shakeable in TypeScript builds.

Quick Start

Compose a module by using defineModule with a name, optional dependencies, and a create function that returns the module API and lifecycle hooks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rimitive-module
Download link: https://github.com/hejhi/rimitive/archive/main.zip#rimitive-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.