Claude-night-market shared-patterns
Reference reusable patterns for validation, error handling, and test scaffolding. Use when: ensuring consistency across skills.
install
source · Clone the upstream repo
git clone https://github.com/athola/claude-night-market
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/athola/claude-night-market "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/abstract/skills/shared-patterns" ~/.claude/skills/athola-claude-night-market-shared-patterns && rm -rf "$T"
manifest:
plugins/abstract/skills/shared-patterns/SKILL.mdsource content
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.