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

Shared Patterns

  • 93 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Compose validation, workflow, and error-handling patterns consistently when authoring or refactoring agent skills and hooks.

About

Shared Patterns is a journey-wide meta skill for builders who maintain Claude-style skills and hooks in a modular repo layout. It explains how to combine validation, workflow execution, and error-handling surfaces without duplicating logic or creating circular references between markdown modules. The documented standard order—validate required fields first, execute checklist or workflow steps second, and wrap writes and side effects in structured failure paths third—gives agents a repeatable integration recipe. Selection heuristics help choose among overlapping patterns when several modules seem to fit the same hook. Relative-path cross-links (for example from creation.md to validation-patterns.md) support progressive loading during authoring sessions. Solo developers shipping agent bundles use it whenever they extend SKILL.md libraries, debug composition bugs, or align new skills with an existing night-market pattern set. It does not replace domain skills; it keeps your skill factory consistent from Idea through Operate whenever you touch agent infrastructure.

  • Standard three-step composition order: validate input, run workflow logic, wrap with fail-safe error handling.
  • Pattern selection heuristics when multiple shared patterns look applicable.
  • One-directional cross-module reference table (creation, editing, troubleshooting → sibling pattern docs).
  • Multi-pattern integration guidance to avoid duplication across skills and hooks.
  • Concrete Python-style composition example tying validation-patterns, workflow-patterns, and error-handling.

Shared Patterns by the numbers

  • 93 all-time installs (skills.sh)
  • Ranked #267 of 782 Skill Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill shared-patterns

Add your badge

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

Listed on Skillselion
Installs93
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Compose validation, workflow, and error-handling patterns consistently when authoring or refactoring agent skills and hooks.

Files

SKILL.mdMarkdownGitHub ↗

Shared Patterns

Reusable patterns and templates for skill and hook development.

Purpose

This skill provides shared patterns that are referenced by other skills in the abstract plugin. It follows DRY principles by centralizing common patterns.

Pattern Categories

Validation Patterns

See modules/validation-patterns.md for:

  • Input validation templates
  • Schema validation patterns
  • Error reporting formats

Error Handling

See modules/error-handling.md for:

  • Exception hierarchies
  • Error message formatting
  • Recovery strategies

Testing Templates

See modules/testing-templates.md for:

  • Unit test scaffolding
  • Integration test patterns
  • Mock fixtures

Workflow Patterns

See modules/workflow-patterns.md for:

  • Checklist templates
  • Feedback loop patterns
  • Progressive disclosure structures

Usage

Reference these patterns from other skills:

For validation patterns, see the `shared-patterns` skill's
[validation-patterns](../shared-patterns/modules/validation-patterns.md) module.

Verification: Run the command with --help flag to verify availability.

Related skills

FAQ

Is Shared Patterns safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Skill Developmentagentsautomation

This week in AI coding

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

unsubscribe anytime.