mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-17 14:36:29 +03:00
Engineering: backend-engineering, frontend-engineering, data-engineering, ml-engineering, platform-engineering, qa-methodology Executive: go-to-market, legal-strategy, operational-design, org-design, product-strategy ml-engineering: added missing training-infrastructure.md reference qa-methodology: added test-data-management, performance-testing, security-testing references All frontmatter converted to agent-skills convention. Source: https://github.com/magnus919/hermes-profiles
1.9 KiB
1.9 KiB
Automation Languages — Reference
Go
- Use in platform engineering: CLI tools (Cobra/Viper), Kubernetes operators (controller-runtime), Terraform providers (terraform-plugin-framework), ingress controllers, service mesh sidecars, infrastructure agents
- Key patterns:
os/execfor running system commands,os/signalfor graceful shutdown,net/httpfor API clients,cobra.Commandfor CLI structure,viperfor config loading,retrypatterns via backoff - Best practices: Single binary deployment, cross-compilation (
GOOS=linux GOARCH=arm64), no runtime dependencies,go vet+staticcheckin CI, readability over cleverness
Python
- Use in platform engineering: Automation scripts, cloud SDK clients (boto3, google-cloud, azure-mgmt), CI/CD pipeline scripts, configuration validation, integration testing, internal tools
- Key patterns:
argparse/clickfor CLI,httpx/requestsfor API calls,pydanticfor config validation,pyyamlfor config parsing,rich/clickfor CLI output formatting,pathlibfor file operations - Best practices: Type hints everywhere (mypy strict),
if __name__ == "__main__":entry point, installable viapip install(entry_points in setup.cfg/pyproject.toml), dependency pinning for reproducibility,--dry-runflag on all mutating operations
Bash / POSIX Shell
- Use in platform engineering: Bootstrap scripts, CI/CD glue, Dockerfile commands, container entrypoints, developer tool wrappers, provisioning one-shots
- Key patterns:
set -euo pipefailfor safety, argument parsing withgetoptsorwhile case,mktempfor temp files,trap cleanup EXITfor teardown,${var:-default}and${var:?required}patterns - Best practices: ShellCheck in CI, prefer
[[ ]]over[ ]in Bash, quote all variable expansions, useprintfoverecho, keep scripts short (beyond ~100 lines → Python or Go),set -xfor debugging in development only