Back to list
mauromedda

design-patterns

by mauromedda

Production-quality skills, tools, and patterns for AI-powered development workflows with Claude Code

3🍴 0📅 Jan 23, 2026

SKILL.md


name: design-patterns description: >- Cross-language architectural patterns for Go, Python, Bash, and Terraform. Covers dependency injection, error handling, configuration, logging, testing heuristics, and common anti-patterns. Use for architectural guidance and consistent patterns across languages. Triggers on "dependency injection", "DI pattern", "error handling pattern", "cross-language", "architectural pattern", "anti-pattern", "naming convention", "design pattern", "testing heuristic", "config pattern", "logging pattern". allowed-tools: Read

ABOUTME: Cross-language architectural patterns skill for consistent design

ABOUTME: Orchestrates pattern selection and delegates to language-specific skills

Design Patterns

Architectural patterns implemented consistently across Go, Python, Bash, and Terraform.

Quick Reference

PatternGoPythonBashTerraform
DIInterfacesProtocolsFunctionsVariables/Modules
Errorserror returnExceptionsExit codesValidation blocks
ConfigEnv + structPydantic SettingsEnv varstfvars files
Logginglog/slogloggingstderr functionsN/A
Testinggo testpytestbatsterraform validate

Pattern Selection

What are you working on?

  • Dependency Injection → See references/cross-language.md Section 1
  • Error Handling → See references/cross-language.md Section 2
  • Configuration → See references/cross-language.md Section 3
  • Logging → See references/cross-language.md Section 4
  • Testing Heuristics → See references/cross-language.md Section 5
  • Background Jobs → See references/cross-language.md Section 6
  • Anti-Patterns → See references/cross-language.md Section 7
  • Naming Conventions → See references/cross-language.md Section 8

Workflow

  1. Identify the pattern needed from the selection above
  2. Read the reference for cross-language examples
  3. Invoke language skill for implementation:
    • Go code → /golang
    • Python code → /python
    • Bash script → /bash
    • Terraform → /terraform

When to Use This Skill

  • Discussing architectural decisions across multiple languages
  • Ensuring consistency in error handling, DI, or config patterns
  • Reviewing code for anti-patterns
  • Establishing naming conventions for a polyglot project
  • Teaching or documenting cross-language standards

Language-Specific Implementation

After reviewing the pattern, invoke the appropriate language skill:

LanguageSkillWhen
Go/golangWriting .go files
Python/pythonWriting .py files
Bash/bashWriting .sh files
Terraform/terraformWriting .tf files

Resources

  • references/cross-language.md - Detailed patterns with code examples

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon