Back to list
michaellperry

infrastructure-standards

by michaellperry

0🍴 0📅 Jan 23, 2026

SKILL.md


name: infrastructure-standards description: Infrastructure standards for Docker, scripts, middleware, and authentication in multi-tenant deployments.

Infrastructure Standards

Use when containerizing API/Web/DB services, keeping scripts aligned across platforms, or configuring security/auth for GloboTicket deployments.

When to use

  • Bootstrapping or adjusting Docker/compose environments (local or CI)
  • Adding or updating scripts under scripts/bash or scripts/powershell
  • Implementing security/tenant middleware or JWT/authorization policies
  • Auditing middleware order before releases

Core principles

  • Pin images, add health checks, and prefer multi-stage builds with non-root runtime
  • Keep bash and PowerShell feature parity; make scripts idempotent, especially migrations
  • Resolve tenant after authentication; enforce security headers and correct pipeline order
  • Validate JWTs with explicit tenant/role policies and custom permission requirements

Resources

Default locations

  • Compose and env files under docker/, .env in repository root
  • Scripts in scripts/bash and scripts/powershell
  • Middleware in src/GloboTicket.API/Middleware, auth configuration in Program.cs
  • Database initialization scripts in docker/init-db

Validation checklist

  • Services build and pass health checks with pinned images
  • Scripts succeed in bash and PowerShell with identical behaviors
  • Middleware order matches pattern; tenant resolution enforced on protected endpoints
  • JWT validation returns JSON errors; policies enforce tenant and role requirements

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon