# Mauromedda Agent Toolkit Design Patterns

> ABOUTME: Cross-language architectural patterns skill for consistent design

- Skill: `tomevault-io/mauromedda-agent-toolkit-design-patterns` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/mauromedda-agent-toolkit-design-patterns`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/mauromedda-agent-toolkit-design-patterns/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/mauromedda-agent-toolkit-design-patterns

---


# 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

| Pattern | Go | Python | Bash | Terraform |
|---------|----|----|------|-----------|
| DI | Interfaces | Protocols | Functions | Variables/Modules |
| Errors | `error` return | Exceptions | Exit codes | Validation blocks |
| Config | Env + struct | Pydantic Settings | Env vars | `tfvars` files |
| Logging | `log/slog` | `logging` | stderr functions | N/A |
| Testing | `go test` | `pytest` | `bats` | `terraform 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:

| Language | Skill | When |
|----------|-------|------|
| Go | `/golang` | Writing `.go` files |
| Python | `/python` | Writing `.py` files |
| Bash | `/bash` | Writing `.sh` files |
| Terraform | `/terraform` | Writing `.tf` files |

## Resources

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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/mauromedda) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

