Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mym0404 avatar

Js Skills

  • 18 installs
  • 1 repo stars
  • Updated July 23, 2026
  • mym0404/agent-skills

Helps with ai & agent building tasks.

About

js-skills is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

  • js-skills
  • AI & Agent Building
  • AI-coding skill

Js Skills by the numbers

  • 18 all-time installs (skills.sh)
  • Ranked #10,736 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mym0404/agent-skills --skill js-skills

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18
repo stars1
Last updatedJuly 23, 2026
Repositorymym0404/agent-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

JS Skills — Schema, Dayjs, Util, Module & Structure Patterns

Consistent Zod schema definition rules, dayjs date/time conventions, guide-driven utility refactoring rules, class-based module patterns, Zustand store patterns, and feature-first architecture patterns extracted from production domain modeling.

When to Apply

Reference these guidelines when:

  • Defining new domain model schemas with Zod
  • Extending base schemas for entity models
  • Integrating const assertion enums with Zod validation
  • Composing or deriving schemas from existing ones
  • Creating model instances with auto-generated base fields
  • Setting up dayjs plugins and locale in a project
  • Working with timestamps, time arithmetic, formatting, or durations
  • Using or reviewing public APIs from @mj-studio/js-util
  • Building a stateful module with internal mutable state and related methods
  • Creating standard, persisted, or provider-based Zustand stores
  • Organizing code by feature folders with feature/{domain} and feature/common for shared pieces

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Schema PatternsHIGHschema-
2Dayjs PatternsHIGHdayjs-
3JS Util PatternsHIGHjs-util-
4Module PatternsHIGHmodule-
5Zustand PatternsHIGHzustand-
6Architecture PatternsHIGHarchitecture-

Quick Reference

1. Schema Patterns (HIGH)

  • schema-definition-patterns — Current Zod 4 definition helpers, logical schema grouping, type inference, composition, and createModel flow

2. Dayjs Patterns (HIGH)

  • dayjs-usage — Plugin setup, timestamp ops, time arithmetic, formatting, duration

3. JS Util Patterns (HIGH)

  • js-util-usage — Use upstream llms.txt to discover, apply, and refactor toward @mj-studio/js-util helpers instead of bespoke utility code

4. Module Patterns (HIGH)

  • module-class-over-factory — Use a class instead of a closure factory object when a module owns mutable state and related methods

5. Zustand Patterns (HIGH)

  • zustand-store-patterns — Use consistent patterns for normal stores, persisted stores, and provider-backed stores

6. Architecture Patterns (HIGH)

  • architecture-broad-domain-nesting — Organize code by feature, default to feature/{domain}, allow only one nested feature/{parent}/feature/{child} split when unavoidable, keep shared pieces in feature/common

How to Use

Read individual rule files for details and examples:

rules/schema-definition-patterns.md
rules/dayjs-usage.md
rules/js-util-usage.md
rules/module-class-over-factory.md
rules/zustand-store-patterns.md
rules/architecture-broad-domain-nesting.md

Each rule file contains:

  • Why the rule matters
  • Incorrect implementation example
  • Correct implementation example
  • Reference links

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.