justhamade

20 mods across 1 repository, 23 stars between them.

triadjs

01

justhamade/triadjs

Plugin Claude Code

Plugin marketplace listing 1 plugin: triadjs.

23 4mo ago A tokens not measured original MIT

triadjs

02

justhamade/triadjs

Plugin Claude Code

Claude Code plugin for building TypeScript backends with TriadJS — one declarative definition produces validation, types, OpenAPI, AsyncAPI, Gherkin, BDD tests, and Drizzle database schemas.

23 4mo ago A tokens not measured original MIT

channel

03

justhamade/triadjs

Command

Add a new WebSocket channel to a TriadJS router — connection params, clientMessages/serverMessages, onConnect/onDisconnect, handlers, and behaviors.

23 4mo ago A 39 tokens original MIT

docs

04

justhamade/triadjs

Command

Run triad docs to regenerate OpenAPI 3.1 and (if the router has channels) AsyncAPI 3.0, then summarize what was written.

23 4mo ago A 35 tokens original MIT

endpoint

05

justhamade/triadjs

Command

Add a new HTTP endpoint to an existing TriadJS router — request/response schemas, handler, auth via beforeHandler if needed, and behavior scenarios.

23 4mo ago A 33 tokens original MIT

model

06

justhamade/triadjs

Command

Add a new TriadJS t.model (or t.value) to an existing project, along with derived request DTOs (CreateX, UpdateX) and the models[] entry in the bounded context.

23 4mo ago A 45 tokens original MIT

new

07

justhamade/triadjs

Command

Scaffold a new TriadJS backend project from scratch — package.json, schemas, an endpoint with behaviors, Fastify server, and test config.

23 4mo ago A 30 tokens original MIT

scenario

08

justhamade/triadjs

Command

Add BDD behavior scenarios to an existing TriadJS endpoint or channel. Writes .given().when().then() chains using only valid assertion phrases from the parser table.

23 4mo ago A 34 tokens original MIT

test

09

justhamade/triadjs

Command

Run triad test and diagnose any failures, using the triad-cli and triad-behaviors skills to interpret errors precisely.

23 4mo ago A 32 tokens original MIT

validate

10

justhamade/triadjs

Command

Run triad validate --strict and fix any consistency issues — duplicate endpoint names, duplicate routes, missing responses, unknown model references, or bounded-context leaks.

23 4mo ago A 33 tokens original MIT

triad-adapters

11

justhamade/triadjs

Skill Claude CodeCodex

Use when mounting a TriadJS router on Fastify (triadPlugin), Express (createTriadRouter), or Hono (createTriadHono), configuring per-request services, or choosing which adapter fits a deployment target. Fastify is the only adapter with WebSocket support.

23 4mo ago A 66 tokens original MIT

triad-behaviors

12

justhamade/triadjs

Skill Claude CodeCodex

Use when writing TriadJS BDD scenarios, wiring .given().when().then().and() chains, choosing assertion phrases, using scenario.auto() for schema-derived adversarial tests, or debugging "Unrecognized assertion" errors. Authoritative phrase table for the heuristic assertion parser.

23 4mo ago A 63 tokens original MIT

triad-channel

13

justhamade/triadjs

Skill Claude CodeCodex

Use when declaring TriadJS WebSocket channels with channel(), wiring onConnect/onDisconnect/handlers, typing per-connection state via the phantom witness, using ctx.broadcast/ctx.broadcastOthers/ctx.send, or implementing first-message auth for browsers.

23 4mo ago A 66 tokens original MIT

triad-cli

14

justhamade/triadjs

Skill Claude CodeCodex

Use when running the triad CLI — triad test, triad docs, triad gherkin, triad db generate, triad validate, triad fuzz — configuring triad.config.ts, debugging CLI errors, or understanding flag behavior.

23 4mo ago A 64 tokens original MIT

triad-drizzle

15

justhamade/triadjs

Skill Claude CodeCodex

Use when generating Drizzle ORM schemas from TriadJS models via triad db generate, choosing a dialect (sqlite/postgres/mysql), declaring .storage() hints on fields, designing repositories around the generated tables, or handling isUniqueViolation for domain-level conflict detection.

23 4mo ago A 61 tokens original MIT

triad-endpoint

16

justhamade/triadjs

Skill Claude CodeCodex

Use when declaring TriadJS HTTP endpoints with endpoint(), wiring request/responses/handler/beforeHandler, building a router with createRouter and router.context() bounded contexts, designing auth via beforeHandler, or debugging ctx.respond/ctx.state/ctx.services.

23 4mo ago A 74 tokens original MIT

triad-schema

17

justhamade/triadjs

Skill Claude CodeCodex

Use when designing TriadJS schemas — t.model(), t.value(), primitives (t.string, t.int32, t.enum, t.datetime, t.file), collections (t.array, t.record, t.tuple, t.union), model operations (.pick, .omit, .partial, .extend, .merge, .named), or DDD entities and value objects. Loaded by using-triadjs when schema work is…

23 4mo ago A 108 tokens original MIT

triad-services

18

justhamade/triadjs

Skill Claude CodeCodex

Use when wiring dependency injection for TriadJS — declaring services, module-augmenting ServiceContainer, creating createServices() factories, and threading repositories/clients onto ctx.services with full type inference and no casts.

23 4mo ago A 50 tokens original MIT

triad-testing

19

justhamade/triadjs

Skill Claude CodeCodex

Use when wiring the TriadJS test runner — triad.config.ts, test-setup.ts default-exported services factory, per-scenario DB isolation, teardown, fixtures, and scenario.auto() for schema-derived adversarial tests. Tests run in-process — no HTTP, no adapter middleware.

23 4mo ago A 68 tokens original MIT

using-triadjs

20

justhamade/triadjs

Skill Claude CodeCodex

Use whenever the user mentions TriadJS, the @triadjs/ packages, t.model(), endpoint(), channel(), scenario(), triad test, triad docs, or asks to build a TypeScript backend with validation + OpenAPI + BDD tests from one definition. Overview of the framework and pointer to the focused sub-skills.

23 4mo ago A 85 tokens original MIT