Reusable patterns and templates for Claude Code skill and hook development. Use when creating new skills or hooks to ensure consistency. Contains validation patterns, error handling, testing templates, and common workflows shared across the abstract plugin ecosystem.
Scanned 2/10/2026
Install via CLI
openskills install athola/claude-night-market---
name: shared-patterns
description: Reusable patterns and templates for Claude Code skill and hook development. Use when creating new skills or hooks to ensure consistency. Contains validation patterns, error handling, testing templates, and common workflows shared across the abstract plugin ecosystem.
version: 1.0.0
category: meta-infrastructure
tags: [patterns, templates, shared, validation, reusable]
dependencies: []
estimated_tokens: 400
---
# 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](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.
```
## When to Add Patterns Here
Add a pattern to this skill when:
- It's used by 3+ other skills
- It's boilerplate that shouldn't be duplicated
- It defines a standard that should be consistent
Do NOT add patterns that are:
- Specific to one skill
- Still evolving (wait for stability)
- Context-dependent (different skills need variations)
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.