Install
$ agentstack add skill-mauromedda-agent-toolkit-design-patterns ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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.mdSection 1 - Error Handling → See
references/cross-language.mdSection 2 - Configuration → See
references/cross-language.mdSection 3 - Logging → See
references/cross-language.mdSection 4 - Testing Heuristics → See
references/cross-language.mdSection 5 - Background Jobs → See
references/cross-language.mdSection 6 - Anti-Patterns → See
references/cross-language.mdSection 7 - Naming Conventions → See
references/cross-language.mdSection 8
Workflow
- Identify the pattern needed from the selection above
- Read the reference for cross-language examples
- 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
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mauromedda
- Source: mauromedda/agent-toolkit
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.