Skip to content

kevogaba/finaxis-frontend / .agents/skills/brainstorming

brainstorming

Verified

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

FileKindSize
SKILL.mdskill md18.0 KB
scripts/frame-template.htmlother9.8 KB
scripts/helper.jsscript5.6 KB
scripts/server.cjsscript25.6 KB
scripts/start-server.shexecutablescript6.7 KB
scripts/stop-server.shexecutablescript3.2 KB
spec-document-reviewer-prompt.mdmarkdown1.7 KB
visual-companion.mdmarkdown13.2 KB

scripts/frame-template.html

View on GitHub
<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Superpowers Brainstorming</title>
    <style>
      /*
     * BRAINSTORM COMPANION FRAME TEMPLATE
     *
     * This template provides a consistent frame with:
     * - OS-aware light/dark theming
     * - Header branding and connection status
     * - Scrollable main content area
     * - CSS helpers for common UI patterns
     *
     * Content is injected via placeholder comment in #frame-content.
     */

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html,
      body {
        height: 100%;
        overflow: hidden;
      }

      /* ===== THEME VARIABLES ===== */
      :root {
        --bg-primary: #f5f5f7;
        --bg-secondary: #ffffff;
        --bg-tertiary: #e5e5e7;
        --border: #d1d1d6;
        --text-primary: #1d1d1f;
        --text-secondary: #86868b;
        --text-tertiary: #aeaeb2;
        --accent: #0071e3;
        --accent-hover: #0077ed;
        --success: #34c759;
        --warning: #ff9f0a;
        --error: #ff3b30;
        --selected-bg: #e8f4fd;
        --selected-border: #0071e3;
      }

      @media (prefers-color-scheme: dark) {
        :root {
          --bg-primary: #1d1d1f;
          --bg-secondary: #2d2d2f;
          --bg-tertiary: #3d3d3f;
          --border: #424245;
          --text-primary: #f5f5f7;
          --text-secondary: #86868b;
          --text-tertiary: #636366;
          --accent: #0a84ff;
          --accent-hover: #409cff;
          --selected-bg: rgba(10, 132, 255, 0.15);
          --selected-border: #0a84ff;
        }
      }

      body {
        font-family:
          system-ui,
          -apple-system,
          BlinkMacSystemFont,
          sans-serif;
        background: var(--bg-primary);
        color: var(--text-primary);
        display: flex;
        flex-direction: column;
        line-height: 1.5;
      }

      /* ===== FRAME STRUCTURE ===== */
      .brand {
        display: flex;
        align-items: center;
        min-width: 0;
        overflow: hidden;
        color: var(--text-secondary);
        line-height: 1;
      }
      .brand a {
        color: inherit;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
        max-width: 100%;
        line-height: 1;
      }
      .brand-copy {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1;
        transform: translateY(-1px);
      }
      .brand-logo {
        display: block;
        height: 1em;
        width: auto;
        max-width: 180px;
        flex-shrink: 0;
        filter: invert(1);
      }
      @media (prefers-color-scheme: dark) {
        .brand-logo {
          filter: none;
        }
      }
      .status {
        font-size: 0.7rem;
        color: var(--status-color, var(--success));
        display: flex;
        align-items: center;
        gap: 0.4rem;
        justify-self: end;
        white-space: nowrap;
        line-height: 1;
      }
      .status::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--status-color, var(--success));
        border-radius: 50%;
      }

      .main {
        flex: 1;
        overflow-y: auto;
      }
      #frame-content {
        padding: 2rem;
        min-height: 100%;
      }

      .header {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 1.5rem;
        flex-shrink: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;
        min-height: 42px;
      }
      .header .brand {
        justify-self: start;
        width: 100%;
        font-size: 0.75rem;
        line-height: 1;
      }
      .header .status {
        grid-column: 2;
        line-height: 1;
      }
      .header span {
        font-size: 0.75rem;
        color: var(--text-secondary);
      }
      .header .selected-text {
        color: var(--accent);
        font-weight: 500;
      }

      /* ===== TYPOGRAPHY ===== */
      h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
      }
      h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
      }
      .subtitle {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
      }
      .section {
        margin-bottom: 2rem;
      }
      .label {
        font-size: 0.7rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.5rem;
      }

      /* ===== OPTIONS (for A/B/C choices) ===== */
      .options {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
      }
      .option {
        background: var(--bg-secondary);
        border: 2px solid var(--border);
        border-radius: 12px;
        padding: 1rem 1.25rem;
        cursor: pointer;
        transition: all 0.15s ease;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
      }
      .option:hover {
        border-color: var(--accent);
      }
      .option.selected {
        background: var(--selected-bg);
        border-color: var(--selected-border);
      }
      .option .letter {
        background: var(--bg-tertiary);
        color: var(--text-secondary);
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 0.85rem;
        flex-shrink: 0;
      }
      .option.selected .letter {
        background: var(--accent);
        color: white;
      }
      .option .content {
        flex: 1;
      }
      .option .content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.15rem;
      }
      .option .content p {
        color: var(--text-secondary);
        font-size: 0.85rem;
        margin: 0;
      }

      /* ===== CARDS (for showing designs/mockups) ===== */
      .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
      }
      .card {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.15s ease;
      }
      .card:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }
      .card.selected {
        border-color: var(--selected-border);
        border-width: 2px;
      }
      .card-image {
        background: var(--bg-tertiary);
        aspect-ratio: 16/10;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .card-body {
        padding: 1rem;
      }
      .card-body h3 {
        margin-bottom: 0.25rem;
      }
      .card-body p {
        color: var(--text-secondary);
        font-size: 0.85rem;
      }

      /* ===== MOCKUP CONTAINER ===== */
      .mockup {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 1.5rem;
      }
      .mockup-header {
        background: var(--bg-tertiary);
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
      }
      .mockup-body {
        padding: 1.5rem;
      }

      /* ===== SPLIT VIEW (side-by-side comparison) ===== */
      .split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
      }
      @media (max-width: 700px) {
        .split {
          grid-template-columns: 1fr;
        }
      }

      /* ===== PROS/CONS ===== */
      .pros-cons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 1rem 0;
      }
      .pros,
      .cons {
        background: var(--bg-secondary);
        border-radius: 8px;
        padding: 1rem;
      }
      .pros h4 {
        color: var(--success);
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
      }
      .cons h4 {
        color: var(--error);
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
      }
      .pros ul,
      .cons ul {
        margin-left: 1.25rem;
        font-size: 0.85rem;
        color: var(--text-secondary);
      }
      .pros li,
      .cons li {
        margin-bottom: 0.25rem;
      }

      /* ===== PLACEHOLDER (for mockup areas) ===== */
      .placeholder {
        background: var(--bg-tertiary);
        border: 2px dashed var(--border);
        border-radius: 8px;
        padding: 2rem;
        text-align: center;
        color: var(--text-tertiary);
      }

      /* ===== INLINE MOCKUP ELEMENTS ===== */
      .mock-nav {
        background: var(--accent);
        color: white;
        padding: 0.75rem 1rem;
        display: flex;
        gap: 1.5rem;
        font-size: 0.9rem;
      }
      .mock-sidebar {
        background: var(--bg-tertiary);
        padding: 1rem;
        min-width: 180px;
      }
      .mock-content {
        padding: 1.5rem;
        flex: 1;
      }
      .mock-button {
        background: var(--accent);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.85rem;
      }
      .mock-input {
        background: var(--bg-primary);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 0.5rem;
        width: 100%;
      }
    </style>
  </head>
  <body>
    <div class="header">
      <!-- BRANDING -->
      <div class="status">Connecting…</div>
    </div>

    <div class="main">
      <div id="frame-content">
        <!-- CONTENT -->
      </div>
    </div>
  </body>
</html>
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall