Skip to content

erode-app/erode / .agents/skills/erode-video

erode-video

Verified

Generate product pitch videos for the Erode project from screenshots. Use this skill whenever the user wants to create, update, or regenerate the product demo video, landing page animation, or pitch clip for erode.dev or the GitHub repo. Also trigger when the user mentions "product video", "demo video", "pitch video", "update the video", "regenerate video", or "landing page animation" in the context of Erode.

screenshots/mocks/02_drift_detected.html

View on GitHub
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, initial-scale=1" />
    <title>feat: add admin users page #12 - Drift Detected</title>
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
      rel="stylesheet"
    />
    <style>
      :root {
        --bg-primary: #0a0a0b;
        --bg-darker: #060608;
        --bg-secondary: #111113;
        --bg-elevated: #18181b;
        --text-primary: #fafafa;
        --text-muted: #a1a1aa;
        --text-tertiary: #8a8a93;
        --accent: #f59e0b;
        --success: #22c55e;
        --severity-high: #ef4444;
        --border: #27272a;
        --diff-hunk: #818cf8;
        --diff-add-text: #86efac;
        --font-body: 'Inter', system-ui, -apple-system, sans-serif;
        --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        font-family: var(--font-body);
        background: var(--bg-primary);
        color: var(--text-primary);
        width: 1920px;
        min-height: 1080px;
        overflow: hidden;
      }

      /* Top nav bar */
      .topbar {
        background: var(--bg-darker);
        border-bottom: 1px solid var(--border);
        height: 62px;
        display: flex;
        align-items: center;
        padding: 0 32px;
        gap: 12px;
      }
      .topbar .logo svg {
        fill: var(--text-muted);
      }
      .topbar .repo-path {
        font-size: 16px;
        color: var(--text-muted);
      }
      .topbar .repo-path strong {
        color: var(--text-primary);
      }

      /* PR header - compact */
      .pr-header {
        padding: 20px 64px 12px;
        border-bottom: 1px solid var(--border);
      }
      .pr-title {
        font-size: 28px;
        font-weight: 400;
        line-height: 1.3;
      }
      .pr-title .number {
        color: var(--text-tertiary);
        font-weight: 300;
      }
      .pr-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 6px;
        font-size: 14px;
        color: var(--text-muted);
      }
      .badge-open {
        background: var(--success);
        color: #fff;
        padding: 4px 12px;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .badge-open .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        display: inline-block;
      }
      .branch-label {
        background: #1c1c20;
        color: var(--text-muted);
        padding: 2px 8px;
        border-radius: 6px;
        font-size: 13px;
        font-family: var(--font-mono);
      }

      /* PR sub-tabs */
      .pr-tabs {
        display: flex;
        padding: 0 64px;
        gap: 0;
        border-bottom: 1px solid var(--border);
      }
      .pr-tabs .tab {
        padding: 12px 16px;
        font-size: 14px;
        color: var(--text-muted);
        border-bottom: 2px solid transparent;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .pr-tabs .tab.active {
        color: var(--text-primary);
        border-bottom-color: var(--accent);
      }
      .pr-tabs .tab .count {
        background: var(--bg-elevated);
        border-radius: 10px;
        padding: 0 6px;
        font-size: 12px;
        color: var(--text-primary);
      }
      .pr-tabs .tab svg {
        width: 16px;
        height: 16px;
      }

      /* Main content */
      .main {
        display: flex;
        padding: 24px 64px;
        gap: 24px;
      }
      .timeline {
        flex: 1;
        min-width: 0;
      }
      .sidebar {
        width: 280px;
        flex-shrink: 0;
      }

      /* Bot comment box */
      .comment-box {
        border: 1px solid var(--border);
        border-radius: 6px;
        margin-bottom: 16px;
      }
      .comment-header {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
        font-size: 14px;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 8px;
        border-radius: 6px 6px 0 0;
      }
      .comment-header .author {
        color: var(--text-primary);
        font-weight: 600;
      }
      .comment-header .bot-badge {
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 1px 8px;
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
      }
      .comment-body {
        padding: 20px;
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-primary);
      }

      /* Avatar */
      .avatar-timeline {
        display: flex;
        gap: 12px;
      }
      .bot-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #8a5cf6 0%, #6d28d9 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
      }
      .bot-avatar::after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: -2px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--bg-primary);
        border: 2px solid var(--bg-primary);
      }
      .bot-avatar svg {
        fill: #fff;
      }

      /* Erode analysis content */
      .analysis-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 16px;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .analysis-title svg {
        flex-shrink: 0;
      }

      .meta-row {
        display: flex;
        gap: 24px;
        margin-bottom: 16px;
        font-size: 14px;
      }
      .meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .meta-label {
        color: var(--text-muted);
      }
      .meta-value {
        color: var(--text-primary);
        font-weight: 500;
      }
      .status-issues {
        color: var(--severity-high);
        font-weight: 600;
      }

      /* Collapsed section */
      .collapsed-row {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 6px;
        margin-bottom: 16px;
        font-size: 13px;
        color: var(--text-muted);
        cursor: pointer;
      }
      .collapsed-row svg {
        fill: var(--text-muted);
        width: 12px;
        height: 12px;
      }

      /* Violation block */
      .violation {
        border-left: 3px solid var(--severity-high);
        background: rgba(239, 68, 68, 0.06);
        border-radius: 0 6px 6px 0;
        padding: 16px;
        margin-bottom: 16px;
      }
      .violation-severity {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(239, 68, 68, 0.15);
        color: var(--severity-high);
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
      }
      .violation p {
        margin-bottom: 10px;
        color: var(--text-primary);
        line-height: 1.6;
      }
      .violation p:last-child {
        margin-bottom: 0;
      }
      .violation-detail {
        font-size: 13px;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 4px;
      }
      .violation-detail strong {
        color: var(--text-primary);
        font-weight: 500;
      }
      .violation code {
        background: var(--bg-elevated);
        border-radius: 4px;
        padding: 2px 6px;
        font-size: 13px;
        font-family: var(--font-mono);
        color: var(--text-primary);
      }

      /* Recommendation */
      .recommendation {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 14px 16px;
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.6;
        color: var(--text-muted);
      }
      .recommendation strong {
        color: var(--text-primary);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: block;
        margin-bottom: 4px;
      }

      /* Resolve + overview */
      .section-heading {
        font-size: 16px;
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: 8px;
        color: var(--text-primary);
      }
      .resolve-list {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 12px;
      }
      .overview-text {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 16px;
      }

      /* Footer */
      .erode-footer {
        font-size: 12px;
        color: var(--text-tertiary);
        border-top: 1px solid var(--border);
        padding-top: 12px;
        margin-top: 4px;
      }

      /* Divider */
      .divider {
        height: 1px;
        background: var(--border);
        margin: 16px 0;
      }

      /* Sidebar */
      .sidebar-section {
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid var(--border);
      }
      .sidebar-section:last-child {
        border-bottom: none;
      }
      .sidebar-label {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-muted);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      .sidebar-value {
        font-size: 14px;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .label-tag {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 16px;
        font-size: 12px;
        font-weight: 500;
        border: 1px solid;
      }
    </style>
  </head>
  <body>
    <!-- Top navbar -->
    <div class="topbar">
      <div class="logo">
        <svg
          width="24"
          height="24"
          viewBox="0 0 24 24"
          fill="none"
          stroke="currentColor"
          stroke-width="2"
          stroke-linecap="round"
          stroke-linejoin="round"
          style="color: var(--text-muted)"
        >
          <line x1="6" y1="3" x2="6" y2="15" />
          <circle cx="18" cy="6" r="3" />
          <circle cx="6" cy="18" r="3" />
          <path d="M18 9a9 9 0 0 1-9 9" />
        </svg>
      </div>
      <div class="repo-path"><strong>playground</strong></div>
    </div>

    <!-- PR header - compact -->
    <div class="pr-header">
      <div class="pr-title">feat: add admin users page <span class="number">#12</span></div>
      <div class="pr-meta">
        <span class="badge-open">
          <span class="dot"></span>
          Open
        </span>
        <span
          ><strong style="color: var(--text-primary)">parse</strong> opened with 3 commits
          into</span
        >
        <span class="branch-label">main</span>
        <span>from</span>
        <span class="branch-label">feature/admin-users</span>
      </div>
    </div>

    <!-- PR sub-tabs -->
    <div class="pr-tabs">
      <div class="tab active">
        <svg
          viewBox="0 0 24 24"
          fill="none"
          stroke="currentColor"
          stroke-width="2"
          stroke-linecap="round"
          stroke-linejoin="round"
          style="color: var(--text-primary)"
        >
          <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
        </svg>
        Discussion <span class="count">2</span>
      </div>
      <div class="tab">
        <svg
          viewBox="0 0 24 24"
          fill="none"
          stroke="currentColor"
          stroke-width="2"
          stroke-linecap="round"
          stroke-linejoin="round"
          style="color: var(--text-muted)"
        >
          <circle cx="12" cy="12" r="4" />
          <line x1="1.05" y1="12" x2="7" y2="12" />
          <line x1="17.01" y1="12" x2="22.96" y2="12" />
        </svg>
        Commits <span class="count">3</span>
      </div>
      <div class="tab">
        <svg
          viewBox="0 0 24 24"
          fill="none"
          stroke="currentColor"
          stroke-width="2"
          stroke-linecap="round"
          stroke-linejoin="round"
          style="color: var(--text-muted)"
        >
          <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
          <polyline points="14 2 14 8 20 8" />
        </svg>
        Changes <span class="count">2</span>
      </div>
    </div>

    <!-- Main content area -->
    <div class="main">
      <div class="timeline">
        <div class="avatar-timeline">
          <!-- Erode bot avatar -->
          <div class="bot-avatar">
            <svg
              width="20"
              height="20"
              viewBox="0 0 24 24"
              fill="none"
              stroke="#fff"
              stroke-width="2.5"
              stroke-linecap="round"
              stroke-linejoin="round"
            >
              <circle cx="12" cy="12" r="10" />
              <path d="M12 16v-4" />
              <path d="M12 8h.01" />
            </svg>
          </div>
          <div class="comment-box" style="flex: 1">
            <div class="comment-header">
              <span class="author">erode-app</span>
              <span class="bot-badge">bot</span>
              commented 1 minute ago
            </div>
            <div class="comment-body">
              <div class="analysis-title">
                <svg
                  width="22"
                  height="22"
                  viewBox="0 0 24 24"
                  fill="none"
                  stroke="var(--severity-high)"
                  stroke-width="2"
                  stroke-linecap="round"
                  stroke-linejoin="round"
                >
                  <path
                    d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"
                  />
                  <line x1="12" y1="9" x2="12" y2="13" />
                  <line x1="12" y1="17" x2="12.01" y2="17" />
                </svg>
                Architectural Drift Analysis
              </div>

              <div class="meta-row">
                <div class="meta-item">
                  <span class="meta-label">Component:</span>
                  <span class="meta-value">frontend</span>
                  <span style="color: var(--text-muted); font-size: 13px">(Web Frontend)</span>
                </div>
                <div class="meta-item">
                  <span class="meta-label">Status:</span>
                  <span class="status-issues">Issues detected</span>
                </div>
              </div>

              <div class="collapsed-row">
                <svg viewBox="0 0 12 12">
                  <path
                    d="M4.5 2l3.5 4-3.5 4"
                    fill="none"
                    stroke="var(--text-muted)"
                    stroke-width="1.5"
                  />
                </svg>
                Selected from 5 candidates
              </div>

              <div class="violation">
                <div class="violation-severity">
                  <svg
                    width="12"
                    height="12"
                    viewBox="0 0 24 24"
                    fill="none"
                    stroke="var(--severity-high)"
                    stroke-width="2.5"
                  >
                    <circle cx="12" cy="12" r="10" />
                    <line x1="15" y1="9" x2="9" y2="15" />
                    <line x1="9" y1="9" x2="15" y2="15" />
                  </svg>
                  HIGH
                </div>
                <p>
                  The frontend now directly depends on <code>user_service</code> by making HTTP
                  requests to it, bypassing the <code>api_gateway</code>. This violates the
                  documented architecture, which requires frontend to access
                  <code>user_service</code> only through <code>api_gateway</code>.
                </p>
                <div class="violation-detail">
                  <strong>Source:</strong>&nbsp; <code>packages/frontend/src/index.ts</code>
                </div>
                <div class="recommendation">
                  <strong>Recommendation</strong>
                  Remove the direct dependency from frontend to user_service. All frontend calls to
                  user_service should be routed through the api_gateway. If direct access is
                  required for a specific reason, update the architecture model to explicitly allow
                  frontend &rarr; user_service and document why.
                </div>
              </div>

              <div class="section-heading">How to Resolve</div>
              <div class="resolve-list">
                Adjust the architecture model to: include missing relationships, revise component
                boundaries, or record intentional changes.
              </div>

              <div class="divider"></div>

              <div class="section-heading">Overview</div>
              <div class="overview-text">
                This pull request introduces a new <code>/admin/users</code> endpoint in the
                frontend service. The implementation creates a direct HTTP connection from
                <code>frontend</code> to <code>user_service</code>, which is not declared in the
                current architecture model. The architecture specifies that
                <code>frontend</code> communicates with backend services exclusively through
                <code>api_gateway</code>.
              </div>

              <div class="erode-footer">
                Automated by <strong style="color: var(--text-muted)">erode</strong>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- Sidebar -->
      <div class="sidebar">
        <div class="sidebar-section">
          <div class="sidebar-label">Reviewers</div>
          <div class="sidebar-value" style="color: var(--text-muted)">No reviews yet</div>
        </div>
        <div class="sidebar-section">
          <div class="sidebar-label">Labels</div>
          <div class="sidebar-value" style="gap: 4px; flex-wrap: wrap">
            <span
              class="label-tag"
              style="border-color: #22c55e; color: #22c55e; background: rgba(34, 197, 94, 0.1)"
              >feature</span
            >
            <span
              class="label-tag"
              style="border-color: #ef4444; color: #ef4444; background: rgba(239, 68, 68, 0.1)"
              >architecture-drift</span
            >
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall