Communitygithub.com

NeverSight/learn-skills.dev

マルチテナントOCI環境の設計、ランディングゾーンTerraformスタックの構築、Security Zoneの適用、ハブスポークネットワークトポロジの計画に使用します。コンパートメント階層、マルチテナントIAM判断ツリー、Security Zone自動化、CIS Foundationsコンプライアンス、DRGルーティングを網羅します。

learn-skills.dev とは?

このスキルは、Oracle Cloud Infrastructure (OCI) 上でのエンタープライズ向けランディングゾーン設計のエキスパートガイドであり、「やってはいけない」アンチパターンと推奨設計パターンを明確に示します。具体的には、フラットなコンパートメント構造の危険性、VCN CIDRの重複によるピアリング不能、Security Zoneをスキップしたプロダクションコンパートメントのリスク、ルートコンパートメントへのリソース混在、タグ付け戦略の欠如によるコスト管理の失敗などを詳しく解説しています。また、シングルテナント/マルチテナントの判断ツリーに基づき、適切なコンパートメント階層とIAMポリシーを導出する方法、Security Zoneの段階的ロールアウト手順、および必要なリファレンスファイル(landing-zone-patterns.md, landing-zone-cli.md, security-zone-automation.md, oci-well-architected-framework.md)の読み込みタイミングも指示しています。このスキルは、Claude Code、Cursor、Codex、Codeiumなど、任意のAIエージェントで使用可能なマークダウンベースの知識であり、OCI環境の設計、運用、コンプライアンス監査のすべてのフェーズで役立ちます。キーワード:ランディングゾーン、コンパートメント、Security Zone、ハブスポーク、DRG、CIS、マルチテナント、テナンシ、IAMポリシー。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/acedergren/agentic-tools/landing-zones

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

OCI ランディングゾーン - エキスパートアーキテクチャ

絶対にやってはいけないこと

絶対にフラットなコンパートメント構造を作らないこと

悪い例:
tenancy/ app1-dev, app1-test, app1-prod, app2-dev ...

問題点:
- すべての開発環境に単一のポリシーを適用できない
- チームごとに管理を委任できない
- コストレポートが構造化されない
- ポリシーの重複がチーム数に比例して増大する

良い例 - 階層型:
tenancy/
  Network/ (ハブ、スポーク)
  Security/ (Vault、ロギング)
  Workloads/
    App1/ (Dev、Test、Prod)
    App2/ (Dev、Test、Prod)
  Shared-Services/ (アイデンティティ、モニタリング)

ポリシーの継承はツリーの下方向に流れます。Workloads/ に1つのポリシーを設定すれば、すべてのワークロードに適用されます。

絶対にVCN間で10.0.0.0/16を再利用しないこと

悪い例 - すべてのVCNで同じCIDR:
Dev VCN:  10.0.0.0/16
Test VCN: 10.0.0.0/16   # Devとピアリング不可
Prod VCN: 10.0.0.0/16   # どちらともピアリング不可

VCN CIDRは**不変**です。誤ったCIDR = 完全な再構築+ダウンタイム。

良い例 - 重複しない割り当て:
Hub VCN:  10.0.0.0/16
Dev VCN:  10.10.0.0/16
Test VCN: 10.20.0.0/16
Prod VCN: 10.30.0.0/16

絶対にプロダクションコンパートメントにSecurity Zoneを適用しないままにしないこと

# 悪い例: ガードレールなしのコンパートメント
oci iam compartment create --compartment-id $PARENT --name "Prod"
# 結果: 誰でもパブリックIP、暗号化されていないバケットなどを作成可能

# 良い例: Security Zoneはリソース作成前にポリシーを強制
oci cloud-guard security-zone-recipe create \
  --compartment-id $TENANCY_ID \
  --display-name "CIS-Prod-Recipe" \
  --security-policies '["deny-public-ip","deny-public-bucket"]'

oci cloud-guard security-zone create \
  --compartment-id $PROD_COMPARTMENT_ID \
  --display-name "Prod-Security-Zone" \
  --security-zone-recipe-id $RECIPE_ID

Security Zoneはリソース作成前に違反を防止します。監査は侵害後にしか問題を発見できません。

絶対にワークロードリソースをルートコンパートメントに配置しないこと

ルートコンパートメントはテナンシ全体のIAM(ユーザー、グループ、ポリシー)のみに使用します。
ルート内のリソースはガバナンスをバイパスし、委任できず、CIS OCI Foundations Benchmarkに違反します。

ルートが含むべきものは以下**のみ**:
- トップレベルの子コンパートメント
- テナンシ全体のIAMポリシー
これ以外は何もありません。

絶対に開発と本番のリソースを同じコンパートメントに混在させないこと

開発者に開発アクセス権があると、誤って本番リソースを削除する可能性があります。環境ごとに異なるバックアップポリシー、タグ付け戦略、予算アラートを設定できません。

絶対にタグ付け戦略をスキップしないこと

# タグなし: 「oci.compute.instance: $5,234/月」 — どのチーム?どのプロジェクト?
# チャージバック不可、無駄の特定不可。

# 正しい方法: 必須デフォルト値を持つタグ名前空間を作成
oci iam tag-namespace create --compartment-id $TENANCY_ID --name "Organization"
# CostCenter、Environment、Ownerタグを作成
# コンパートメントレベルでタグデフォルトを適用(すべてのリソースに自動適用)
oci iam tag-default create \
  --compartment-id $WORKLOAD_COMPARTMENT_ID \
  --tag-definition-id $COSTCENTER_TAG_ID \
  --value '${iam.principal.name}'

絶対にスポークVCNから直接インターネットへのEgressを許可しないこと

悪い例: スポークサブネット → インターネットゲートウェイ
- データ漏洩の検出不可
- Egressコスト: スポークあたり月額$3k~5k(未計測)
- DPIやEgressフィルタリングなし

良い例 - 一元管理されたハブスポーク:
スポーク → DRG → ハブVCN → ネットワークファイアウォール → NATゲートウェイ → インターネット
- ファイアウォールポリシーによる単一Egressポイント
- VCNフローログで完全な可視性

絶対にSLAを要求する本番ワークロードにシングルリージョンを使用しないこと

リージョン障害 = 完全ダウンタイム。DRなしでは自動フェイルオーバー不可。

マルチリージョンパターン:
プライマリ: us-ashburn-1 + DR: us-phoenix-1
- データベースのAutonomous Data Guard(ほぼゼロRPO)
- DNSフェイルオーバーのTraffic Manager(RTO約15分)
- オブジェクトストレージのクロスリージョンレプリケーション
- DRリージョンにコンパートメント構造をミラーリング

マルチテナントIAM判断ツリー

ワークロードはシングルテナント?
│
├─ YES → 環境中心モデル
│        コンパートメント: Network、Shared-Services、Workloads/App/Dev-Test-Prod
│        IAM: 環境コンパートメントにスコープされた環境ごとのグループ(DevAdmins、ProdOps)
│
└─ NO(マルチテナントSaaS)?
    │
    ├─ 厳格なテナント分離が必要?
    │  ├─ YES → テナント単位のコンパートメント: Org/TenantA、Org/TenantB
    │  │        インスタンスプリンシパル認証用のテナントVCNごとの動的グループ
    │  │        ポリシー: `allow dynamic-group TenantA-VMs to manage all-resources
    │  │                  in compartment TenantA`
    │  └─ NO → 共有コンパートメント+テナントごとのタグ付け
    │           (セットアップが高速、ブラスト半径は共有)
    │
    ├─ テナントごとに複数環境が必要?
    │  └─ ネスト: TenantA/Dev, TenantA/Test, TenantA/Prod
    │           ポリシーはツリーを自動的に継承
    │
    └─ 一元化された共有サービス?
         └─ Shared-Servicesコンパートメント(ロギング、モニタリング、アイデンティティ)
            テナンシレベルの運用グループに最小権限の読み取りアクセスを付与

マルチテナント向けIAMポリシーテンプレート:

Allow group TenantA-Admins to manage all-resources in compartment TenantA
Allow dynamic-group TenantA-VCN to manage virtual-network-family in compartment TenantA
Allow group Shared-Network to use virtual-network-family in compartment Shared-Services

ガードレール:

  • テナント固有のポリシーをルートで付与しない。テナントのコンパートメント階層にスコープすること。
  • 新しいテナントを追加する前にDRGルート承認ワークフローを要求すること。
  • きめ細かいポリシー動詞の構文については iam-identity-management スキルを参照すること。

Security Zoneロールアウトチェックリスト

  1. コンパートメントを棚卸し — タグ Environment=Prod でフィルタリングしたJSONをエクスポート
  2. レシピを作成/更新 — Oracle CISレシピをクローンし、カスタムポリシーを追加(パブリックLB禁止、CMEK必須)。references/security-zone-automation.md を参照
  3. CLI/Terraformで適用 — コンパートメントをループ処理、またはTerraformモジュールを使用
  4. 毎晩ドリフトを検出 — oci cloud-guard security-zone list-problems ; PROBLEM 状態でアラート
  5. ロールバック手順 — CISOの承認なしにゾーンを削除しない。すべてのゾーンが削除された後にのみレシピを削除すること

完全なスクリプトは references/security-zone-automation.md にあり。一括でのSecurity Zone変更には必須と見なすこと。


リファレンスファイル

以下の場合に references/landing-zone-patterns.md をロード:

  • コンパートメント階層パターンの選択(ワークロード中心 vs 環境中心 vs テナント中心)
  • DRGを用いたハブスポークネットワークトポロジの設計
  • コンパートメント間のタグ付け戦略とコスト配分の設定

以下の場合に references/landing-zone-cli.md をロード:

  • CLIによるコンパートメント階層の作成
  • Security ZoneとCloud Guardの一括設定
  • タグデフォルトとタグ名前空間の設定
  • コスト追跡付き予算の作成

以下の場合に references/security-zone-automation.md をロード(一括変更には必須):

  • 複数のコンパートメントにわたるSecurity Zoneレシピのロールアウトまたは更新
  • ドリフトの修復(コンパートメントがSecurity Zoneの適用を失った場合)
  • Cloud GuardレシピのTerraform自動化の作成

以下の場合に references/oci-well-architected-framework.md をロード:

  • 新しいランディングゾーンの設計をゼロから開始する場合
  • アーキテクチャレビューまたはコンプライアンス監査の準備
  • Core Landing ZoneとOperating Entities Landing Zoneの比較
  • 5つの柱すべて(セキュリティ、信頼性、パフォーマンス、コスト、運用)に関するOracle公式ガイダンスが必要な場合

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

関連スキル