{
  "schema_version": "2026-03-26",
  "id": "database-design",
  "slug": "database-design",
  "display_name": "Database Design",
  "description": "Database design workflow skill. Use this skill when a user needs durable schema, indexing, and migration design before implementation.",
  "version": "0.0.1",
  "category": "backend",
  "raw_category": "backend",
  "taxonomy": {
    "raw_category": "backend",
    "canonical_category": "backend",
    "inferred_category": "backend",
    "category_source": "frontmatter"
  },
  "tags": [
    "database",
    "schema",
    "migrations",
    "indexing",
    "persistence"
  ],
  "complexity": "advanced",
  "risk": "safe",
  "source": "omni-team",
  "author": "Omni Skills Team",
  "dates": {
    "added": "2026-03-26",
    "updated": "2026-03-26"
  },
  "entrypoint": "skills/database-design/SKILL.md",
  "paths": {
    "root": "skills/database-design",
    "manifest": "dist/manifests/database-design.json",
    "metadata": "skills/database-design/metadata.json"
  },
  "compatibility": {
    "tools": [
      "claude-code",
      "cursor",
      "gemini-cli",
      "codex-cli",
      "antigravity",
      "opencode"
    ],
    "install_targets": [
      {
        "tool": "claude-code",
        "scope": "user-global",
        "default_path": "~/.claude/skills",
        "installer_flag": "--claude",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": ">> /skill-name help me..."
      },
      {
        "tool": "cursor",
        "scope": "user-global",
        "default_path": "~/.cursor/skills",
        "installer_flag": "--cursor",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "@skill-name"
      },
      {
        "tool": "gemini-cli",
        "scope": "user-global",
        "default_path": "~/.gemini/skills",
        "installer_flag": "--gemini",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to..."
      },
      {
        "tool": "codex-cli",
        "scope": "user-global",
        "default_path": "~/.codex/skills",
        "installer_flag": "--codex",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to..."
      },
      {
        "tool": "antigravity",
        "scope": "user-global",
        "default_path": "~/.gemini/antigravity/skills",
        "installer_flag": "--antigravity",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "Use @skill-name to... (Agent Mode)"
      },
      {
        "tool": "opencode",
        "scope": "project-local",
        "default_path": ".opencode/skills",
        "installer_flag": "--opencode",
        "current_installer_behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset.",
        "invocation": "opencode run @skill-name"
      }
    ]
  },
  "resources": {
    "sub_resources": [
      "agents",
      "examples",
      "references",
      "scripts"
    ],
    "artifacts_count": 8,
    "references_count": 3,
    "agents_count": 1,
    "assets_count": 0
  },
  "dependencies": {
    "skills": [],
    "external": []
  },
  "install": {
    "strategy": "copy-skill-directory",
    "current_installer": "npx omni-skills installs the full library by default today, and also supports selective installation with --skill and --bundle.",
    "recipes": [
      {
        "tool": "claude-code",
        "command": "npx omni-skills --claude",
        "scope": "user-global",
        "default_path": "~/.claude/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "cursor",
        "command": "npx omni-skills --cursor",
        "scope": "user-global",
        "default_path": "~/.cursor/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "gemini-cli",
        "command": "npx omni-skills --gemini",
        "scope": "user-global",
        "default_path": "~/.gemini/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "codex-cli",
        "command": "npx omni-skills --codex",
        "scope": "user-global",
        "default_path": "~/.codex/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "antigravity",
        "command": "npx omni-skills --antigravity",
        "scope": "user-global",
        "default_path": "~/.gemini/antigravity/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      },
      {
        "tool": "opencode",
        "command": "npx omni-skills --opencode",
        "scope": "project-local",
        "default_path": ".opencode/skills",
        "behavior": "Installs the full Omni Skills library by default. Use --skill or --bundle to install only a selected subset."
      }
    ]
  },
  "classification": {
    "maturity": {
      "skill_level": 3,
      "skill_level_label": "resources",
      "has_scripts": true,
      "has_extra_files": true
    },
    "best_practices": {
      "score": 98,
      "tier": "excellent",
      "signals": {
        "workflow_steps_count": 5,
        "workflow_section_length": 1272,
        "when_to_use_section_length": 232,
        "best_practices_items_count": 5,
        "best_practices_section_length": 361,
        "troubleshooting_items_count": 0,
        "troubleshooting_section_length": 465,
        "resources_items_count": 5,
        "resources_section_length": 443,
        "examples_section_length": 515,
        "examples_code_blocks_count": 4,
        "related_skills_section_length": 240,
        "decision_assets_count": 6,
        "table_count": 7,
        "linked_resource_families_count": 4,
        "linked_resource_families": [
          "agents",
          "examples",
          "references",
          "scripts"
        ],
        "support_links_count": 5,
        "support_files_count": 6,
        "references_files_count": 3,
        "scripts_files_count": 1,
        "examples_files_count": 1,
        "agents_files_count": 1,
        "assets_files_count": 0,
        "tools_count": 6,
        "tags_count": 5,
        "body_density": 4.88
      }
    },
    "quality": {
      "score": 94,
      "tier": "platinum",
      "breakdown": {
        "body": 16,
        "description": 9,
        "metadata": 12,
        "recency": 8,
        "resources": 10,
        "best_practices": 10,
        "semantic_depth": 16,
        "operational_depth": 9,
        "support_pack": 10
      }
    },
    "security": {
      "score": 95,
      "tier": "review",
      "status": "passed",
      "findings_count": 0,
      "findings": [],
      "signals": {
        "scanned_files": 7,
        "script_files": 1,
        "binary_like_files": 0
      },
      "scanners": {
        "static": {
          "enabled": true,
          "status": "completed"
        },
        "clamav": {
          "enabled": true,
          "status": "completed",
          "provider": "clamav",
          "detections": [],
          "infected_files": 0
        },
        "virustotal": {
          "enabled": true,
          "status": "completed",
          "provider": "virustotal",
          "lookups": 1,
          "positives": 0,
          "results": [
            {
              "path": "skills/database-design/scripts/render_schema_review.py",
              "sha256": "ed31f5305cc8b388d3dee4f23d0c7f05b0e5953954b06e6b1bb7aacf337eb563",
              "status": "not_found"
            }
          ],
          "details": "Hash lookups only. Unknown files are not uploaded during validation."
        }
      }
    },
    "validation": {
      "errors": [],
      "warnings": [],
      "status": "passed"
    }
  },
  "content": {
    "body_length": 4369,
    "content_length": 4850,
    "body_lines": 117,
    "word_count": 571,
    "has_code_blocks": true,
    "typed_code_blocks_count": 1,
    "has_examples_section": true,
    "example_count": 2,
    "has_workflow_section": true,
    "has_when_to_use_section": true,
    "has_best_practices_section": true,
    "has_troubleshooting_section": true,
    "problem_count": 2,
    "troubleshooting_pairs_count": 1,
    "has_additional_resources_section": true,
    "has_related_skills_section": true,
    "related_skills_count": 3,
    "has_local_support_links": true,
    "local_support_links_count": 4,
    "has_local_script_example": true,
    "local_script_example_count": 0,
    "semantic_signals": {
      "workflow_steps_count": 5,
      "workflow_section_length": 1272,
      "when_to_use_section_length": 232,
      "best_practices_items_count": 5,
      "best_practices_section_length": 361,
      "troubleshooting_items_count": 0,
      "troubleshooting_section_length": 465,
      "resources_items_count": 5,
      "resources_section_length": 443,
      "examples_section_length": 515,
      "examples_code_blocks_count": 4,
      "related_skills_section_length": 240,
      "decision_assets_count": 6,
      "table_count": 7,
      "linked_resource_families_count": 4,
      "linked_resource_families": [
        "agents",
        "examples",
        "references",
        "scripts"
      ],
      "support_links_count": 5,
      "support_files_count": 6,
      "references_files_count": 3,
      "scripts_files_count": 1,
      "examples_files_count": 1,
      "agents_files_count": 1,
      "assets_files_count": 0,
      "tools_count": 6,
      "tags_count": 5,
      "body_density": 4.88
    }
  },
  "artifacts": [
    {
      "path": "skills/database-design/SKILL.md",
      "kind": "entrypoint",
      "size_bytes": 4866,
      "sha256": "8de2104765a5b7c3e8f54f577952d79e8a54044afa6a1c313a3fd35d4ba7f158"
    },
    {
      "path": "skills/database-design/metadata.json",
      "kind": "support",
      "size_bytes": 5997,
      "sha256": "d9fcbee77eaa2c44c21a5e9dca8c5cf22e0263135eb5476ec53a6885863c8713"
    },
    {
      "path": "skills/database-design/agents/openai.yaml",
      "kind": "agent",
      "size_bytes": 269,
      "sha256": "1d2543af8b401eeadcdbb1a37f67885c6f2c86d98c3af02773c1e0e24711c2a1"
    },
    {
      "path": "skills/database-design/examples/schema-review-example.md",
      "kind": "support",
      "size_bytes": 534,
      "sha256": "6a90d62a9bc169f61d8835535845b700df231a03b2761c75c20b69f374b63037"
    },
    {
      "path": "skills/database-design/references/checklist.md",
      "kind": "reference",
      "size_bytes": 706,
      "sha256": "b96616887cc6cbb031e12a3a30231c4586ccfdb785bc7174913f6b7d72054db2"
    },
    {
      "path": "skills/database-design/references/index-review-rubric.md",
      "kind": "reference",
      "size_bytes": 370,
      "sha256": "d0e8f14f4343ce558f917afae58774fcb1d01b3a88c95e380929fd99979268df"
    },
    {
      "path": "skills/database-design/references/migration-playbook.md",
      "kind": "reference",
      "size_bytes": 454,
      "sha256": "c037cdc7e4dc165e275a4ccafcf4def02840bd6aa6030fc6feade3ef724132a9"
    },
    {
      "path": "skills/database-design/scripts/render_schema_review.py",
      "kind": "support",
      "size_bytes": 810,
      "sha256": "ed31f5305cc8b388d3dee4f23d0c7f05b0e5953954b06e6b1bb7aacf337eb563"
    }
  ],
  "archives": [
    {
      "format": "zip",
      "path": "dist/archives/database-design.zip",
      "file_name": "database-design.zip",
      "size_bytes": 15274,
      "sha256": "1a5bd3942c72269126e44a42ce678c11d764b3ec56e18356239a223f9d7aed76",
      "signature": {
        "status": "signed",
        "path": "dist/archives/database-design.zip.sig",
        "sha256": "ff6fbb1cad039d519358acbd80eea463df976a10d9a12ff834900fc80b59e1b3",
        "public_key_path": "dist/signing/omni-skills-public.pem",
        "algorithm": "sha256",
        "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/database-design.zip.sig dist/archives/database-design.zip"
      }
    },
    {
      "format": "tar.gz",
      "path": "dist/archives/database-design.tar.gz",
      "file_name": "database-design.tar.gz",
      "size_bytes": 30743,
      "sha256": "cdb1d370149260e1eb52c319b20aac6fe2db8a5dfb379001bacd7a556d48de64",
      "signature": {
        "status": "signed",
        "path": "dist/archives/database-design.tar.gz.sig",
        "sha256": "98dc155036c1b5e91eb046f8daa3eec3f7423794517f064d9243e9fedf95d400",
        "public_key_path": "dist/signing/omni-skills-public.pem",
        "algorithm": "sha256",
        "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/database-design.tar.gz.sig dist/archives/database-design.tar.gz"
      }
    }
  ],
  "archive_checksums": {
    "path": "dist/archives/database-design.checksums.txt",
    "file_name": "database-design.checksums.txt",
    "sha256": "7dbf7c9971ca0459ae13355679d9462e8ba82b7a2fbea5ca7bdb5fd365537d87",
    "signature": {
      "status": "signed",
      "path": "dist/archives/database-design.checksums.txt.sig",
      "sha256": "af00873598918e008498dcbf483152be69602a852008bc3975962cec6c1ed5ab",
      "public_key_path": "dist/signing/omni-skills-public.pem",
      "algorithm": "sha256",
      "verify_command": "openssl dgst -sha256 -verify dist/signing/omni-skills-public.pem -signature dist/archives/database-design.checksums.txt.sig dist/archives/database-design.checksums.txt"
    }
  },
  "checksums": {
    "entrypoint_sha256": "8de2104765a5b7c3e8f54f577952d79e8a54044afa6a1c313a3fd35d4ba7f158",
    "package_sha256": "663e55ed850e2b009e69d7627c56c7ac0dfd2ef28b98a36877f03bf7e06a0add"
  }
}
