shared-patterns

Featured

Provide reusable patterns for validation, error handling, scaffolding. Use for skill consistency.

Code & Development 323 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Shared Patterns Reusable patterns and templates for skill and hook development. ## When NOT To Use - Authoring a skill end to end (use `abstract:skill-authoring`) - Cross-plugin contracts, which belong in leyline rather than here ## 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](modules/validation-patterns.md) for: - Input validation templates - Schema validation patterns - Error reporting formats ### Error Handling See [modules/error-handling.md](modules/error-handling.md) for: - Exception hierarchies - Error message formatting - Recovery strategies ### Testing Templates See [modules/testing-templates.md](modules/testing-templates.md) for: - Unit test scaffolding - Integration test patterns - Mock fixtures ### Workflow Patterns See [modules/workflow-patterns.md](modules/workflow-patterns.md) for: - Checklist templates - Feedback loop patterns - Progressive disclosure structures ## Usage Reference these patterns from other skills: ```markdown 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. ## Exit Criteria - [ ] Each of the four module files (`validation-patterns.md`, `error-handling.md`, ...

Details

Author
athola
Repository
athola/claude-night-market
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category