datarobot-oss/datarobot-agent-skills / skills/datarobot-gap-analysis
datarobot-gap-analysis
FlaggedUse when the user wants to assess whether an AI agent repository (DataRobot-built or not) is enterprise-ready, run a gap analysis / readiness scan against security, governance, reliability, or regulatory standards, score an agent against EU AI Act requirements, or find and fix gaps (secrets, unpinned models, missing CI, missing guardrails, over-permissioned identity, etc.) before deploying an agent to production. Works on any repository, not only ones built with DataRobot.
scripts/gap_analysis/variants.py
View on GitHub# Copyright (c) 2026 DataRobot, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
"""Selectable Pulumi configuration variants: which inactive one already
declares a deployment, and how to select it. Shared by the posture advice and
the Layer 4 prerequisites, so it lives apart from both."""
from __future__ import annotations
from typing import Any
def shipped_deployment_variant(iac: dict[str, Any] | None) -> str | None:
"""An inactive configuration variant that declares a datarobot.Deployment,
when the active one does not: selecting it is the remedy, not new IaC."""
iac = iac or {}
if iac.get("deployment"):
return None
candidates: list[str] = [
str(rel)
for rel, found in (iac.get("inactive_variants") or {}).items()
if found.get("deployment")
]
if not candidates:
return None
# A gateway-backed variant keeps the LLM provider the org already governs.
return min(candidates, key=_prefer_gateway)
def _prefer_gateway(rel: str) -> tuple[bool, str]:
return ("gateway" not in rel.lower(), rel)
def _select_variant_text(iac: dict[str, Any], variant: str) -> str:
selector = iac.get("variant_selector")
how = (
f"set {selector}={variant.rsplit('/', 1)[-1]}"
if selector
else "point the configuration symlink at it"
)
return (
f"This repo already ships a variant that declares one: {variant}. "
f"Select it ({how}) instead of writing new infrastructure."
)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |