Ape Design 标志

Ape Design

社区
arpitbbhayani
ape-design

Enforces the Array UI (array-ui) editorial systems design system for any frontend, UI, website, blog, personal site, SaaS dashboard, or documentation development task. Trigger on "ape design", "Array UI", or whenever building, styling, or scaffolding UI to guarantee high information density, mathematical precision, editorial typography, and 0% custom CSS without prompt loops.

Add to TypingMind

概览

发布者arpitbbhayani
代码仓库ape-skills
技能名称ape-design
星标数
51
复刻数
5
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 arpitbbhayani 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ape Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/arpitbbhayani/ape-skills/tree/master/ape-design
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arpitbbhayani/ape-skills.git /tmp/ape-skills
mkdir -p .claude/skills
cp -r /tmp/ape-skills/ape-design .claude/skills/ape-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ape Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ape Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ape Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ape-design: Editorial Systems Design Skill (Array UI)

This skill enforces strict adherence to Array UI (array-ui)—the editorial, systems-engineering design system inspired by arpitbhayani.me and distributed at ui.arpitbhayani.me.

When building or modifying any website (personal portfolio, engineering blog, SaaS dashboard, technical documentation, or systems explainer), the agent MUST follow this workflow and rules without requiring prompt corrections.


1. The 6 Non-Negotiable Prime Invariants

Invariant 1: Mandatory Font Enforcement (DO THIS FIRST)

[!IMPORTANT] Before creating or editing any components, the agent MUST verify that Google Fonts are loaded and applied to body. If fonts are missing, the UI will fall back to system sans-serif (Arial/Inter), completely breaking the editorial authority.

  1. Google Fonts URL: https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&display=swap
  2. In globals.css (or main CSS):
    css
    @import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&display=swap");
    
    body {
      font-family: var(--font-sans, "Assistant", -apple-system, sans-serif);
      -webkit-font-smoothing: antialiased;
    }
  3. Or in root layout <head>: Include <ThemeScript fonts /> from @aui/theme-script.

Invariant 2: 0% Custom CSS Rule

[!CAUTION] Custom CSS proportion MUST REMAIN 0% AT ALL TIMES.

  • NEVER create custom .css files.
  • NEVER write <style> blocks or style tags in .astro, .tsx, .jsx, or .html files.
  • NEVER inject arbitrary ad-hoc inline styles for margins, paddings, colors, or shadows.
  • All layout, typography, blank spacing, telemetry, and interactive controls MUST be composed exclusively using native Array UI components (PageShell, Navbar, Footer, Card, Button, Table, Badge, Terminal, PingStatus, DiffBlock, Gutter, Layout, etc.) and system utility classes (.aui-grid, .aui-stack, .aui-row, .aui-container).

Invariant 3: Frame Every Page in <PageShell>

Never hand-roll outer page containers or guess margin widths. Wrap every full page in:

tsx
<PageShell navbar={<Navbar ... />} footer={<Footer ... />}>
  {/* Page content */}
</PageShell>

PageShell (@aui/page-shell) automatically provides a centered max-w-6xl column, proper horizontal padding, full viewport height (min-h-screen flex flex-col), and clean baseline typography.

Invariant 4: Editorial Footer Discipline

The footer must match arpitbhayani.me exactly:

  • Canvas: Flat paper (#faf9f5) or obsidian carbon (#111113) canvas (bg-background). Never use floating tinted card backgrounds (bg-card/60) for the footer.
  • Hairlines: Exactly 1px border-t border-border on top, and border-t border-border/70 separating disclaimer and bottom bar.
  • Link Layout: Links are inline items (inline-flex items-center gap-1.5) with hover crimson (text-primary) and subtle translate-x-0.5. Hints are rendered inline in subtle monospace (text-[11px] font-mono text-muted-foreground/60 like Projects (Open-source)). NEVER use justify-between with boxed badge pills stretching across the column.
  • Bottom Bar: Copyright on the left, tactile <SocialPill>s with tooltips on the right.

Invariant 5: Wrap Every Action & Status in <Tooltip>

  • Every action button, icon trigger, theme toggle, copy button, and <PingStatus> MUST be wrapped in a <Tooltip content="...">.
  • Communicate consequence, keyboard shortcuts, or live telemetry facts (e.g. <Tooltip content="Toggle dark / light mode (⌘D)">).

Invariant 6: Anti-Card-Soup & Visual Rhythm

  • NEVER stack identical layout blocks consecutively (e.g. never place two 3-card grids in a row, or three identical text callouts sequentially).
  • Alternate visual weight: Pair dense, machined telemetry (Terminal, DiffBlock, ParamTable, PropertyGrid) with airy, editorial moments (Maxim, pull quotes, <Gutter size="xl" />, TakeawaysBox).
  • Use asymmetric composition: Prefer 2-column asymmetric splits (SplitPane, 60/40 hero-to-terminal layouts) over monotonous symmetric grids.

2. Palette & Visual Standards

  1. Editorial Palette:

    • Light mode: Paper canvas (#faf9f5), warm hairline borders (#dfded9), dark carbon text (#2b2a30).
    • Dark mode: Obsidian carbon (#111113), crisp border (#27272c), soft readable white (#d6d6dc).
    • Signature Crimson (#e5000f in light, #ff3344 in dark): Reserved strictly for primary action buttons, active navigation indicators, and key focus rings.
    • Amber (#cc9900): Used exclusively for engineering maxim quotes, philosophy callouts, and warning banners.
    • Emerald (#10b981): Used for operational health, ping dots, uptime, and git diff additions.
    • Rose (#f43f5e): Used for errors, outages, and git diff deletions.
  2. Typography:

    • Headings & Body: Assistant (dense, disciplined, 15px base size, tracking -0.015em on headings).
    • Pull Quotes / Maxims: Lora (italic serif).
    • Code & Telemetry: IBM Plex Mono / system monospace.
  3. Restraint & Elevation:

    • 1px hairline borders everywhere.
    • Flat, tinted card surfaces (bg-muted/30 or var(--aui-bg-secondary)).
    • Zero heavy drop shadows.

3. Installation & Autonomous Execution

The agent MUST NOT ask the user which components to install. Autonomously inspect what is needed and run:

Mode A: shadcn CLI (Recommended for Next.js, Vite, Tailwind)

  1. Add registry to components.json:
    json
    {
      "$schema": "https://ui.shadcn.com/schema.json",
      "style": "default",
      "registries": {
        "@aui": "https://ui.arpitbhayani.me/r/{name}.json"
      }
    }
  2. Install theme & base layer:
    bash
    npx shadcn@latest add @aui/aui -y
  3. Install required components autonomously with -y:
    bash
    npx shadcn@latest add @aui/page-shell @aui/navbar @aui/footer @aui/button @aui/badge @aui/card @aui/terminal @aui/diff-block @aui/ping-status @aui/tooltip @aui/gutter @aui/layout -y

Mode B: Direct Package Dependency (Next.js, Astro)

bash
npm install array-ui

Import styles in root layout:

tsx
import "array-ui/styles.css";

4. Production Layout Recipes

Recipe 1: PageShell & Global Navigation Scaffold

tsx
import { PageShell } from "@/components/ui/page-shell";
import { Navbar } from "@/components/ui/navbar";
import { Footer } from "@/components/ui/footer";
import { Button } from "@/components/ui/button";
import { Tooltip } from "@/components/ui/tooltip";
import { PingStatus } from "@/components/ui/ping-status";
import { ThemeToggle } from "@/components/ui/theme-toggle";
import { SocialPill } from "@/components/ui/social-pill";

export function SiteShell({ children }: { children: React.ReactNode }) {
  return (
    <PageShell
      navbar={
        <Navbar
          brandName="VectorMesh"
          brandHref="/"
          links={[
            { label: "Architecture", href: "/architecture" },
            { label: "Telemetry", href: "/telemetry" },
            { label: "Writings", href: "/writings" },
            { label: "Docs", href: "/docs" },
          ]}
          statusIndicator={
            <Tooltip content="All 16 quorum nodes operational · p99 < 12ms">
              <PingStatus status="operational" label="99.99% Live" size="sm" />
            </Tooltip>
          }
          actions={
            <div className="flex items-center gap-2">
              <Tooltip content="Toggle theme (⌘D)">
                <ThemeToggle variant="ghost" size="sm" />
              </Tooltip>
              <Tooltip content="Launch interactive browser cluster">
                <Button variant="primary" size="sm">
                  Deploy
                </Button>
              </Tooltip>
            </div>
          }
        />
      }
      footer={
        <Footer
          columns={[
            {
              heading: "Engine",
              links: [
                { label: "Consensus", href: "/consensus", hint: "Raft" },
                { label: "Storage Engine", href: "/storage", hint: "LSM" },
                { label: "WAL", href: "/wal" },
              ],
            },
            {
              heading: "Resources",
              links: [
                { label: "Documentation", href: "/docs" },
                { label: "API Reference", href: "/api", hint: "v2.4" },
                { label: "Benchmarks", href: "/benchmarks" },
              ],
            },
            {
              heading: "Open Source",
              links: [
                { label: "GitHub", href: "https://github.com", external: true },
                { label: "RFCs", href: "/rfcs" },
                { label: "Changelog", href: "/changelog" },
              ],
            },
          ]}
          disclaimer="VectorMesh is an open-source distributed log replication engine built for zero-copy streaming workloads. MIT Licensed."
          copyright={`© ${new Date().getFullYear()} VectorMesh. Built for curious engineers.`}
          socialPills={
            <>
              <Tooltip content="Watch deep-dives on YouTube">
                <SocialPill platform="youtube" href="https://youtube.com" count="210k" />
              </Tooltip>
              <Tooltip content="Follow engineering on X">
                <SocialPill platform="twitter" href="https://twitter.com" count="120k" />
              </Tooltip>
              <Tooltip content="Star on GitHub">
                <SocialPill platform="github" href="https://github.com" count="7k" />
              </Tooltip>
            </>
          }
        />
      }
    >
      {children}
    </PageShell>
  );
}

Recipe 2: High-Converting Technical Landing Page

tsx
import { Gutter } from "@/components/ui/gutter";
import { Container, Stack, Row, Grid } from "@/components/ui/layout";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card";
import { Terminal } from "@/components/ui/terminal";
import { Maxim } from "@/components/ui/maxim";
import { Tooltip } from "@/components/ui/tooltip";
import { StatCard } from "@/components/ui/stat-card";

export default function LandingPage() {
  return (
    <Stack gap="xl">
      {/* 1. Top Announcement Nudge */}
      <Row justify="start">
        <Tooltip content="Read the v2.4 zero-copy streaming benchmark report">
          <Badge variant="amber" interactive href="/changelog">
            v2.4 Released: Zero-copy disk streaming engine is live →
          </Badge>
        </Tooltip>
      </Row>

      {/* 2. Hero Proposition */}
      <Stack gap="md" className="max-w-3xl">
        <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold font-heading tracking-tight leading-[1.08]">
          Deterministic consensus at <span className="text-primary">hardware speed</span>.
        </h1>
        <p className="text-lg text-muted-foreground leading-relaxed font-sans">
          A high-density distributed write-ahead log with strict Raft quorum, zero GC pauses, and sub-millisecond p99 replication latency.
        </p>

        {/* Action CTAs wrapped in Tooltips */}
        <Row gap="sm" align="center" wrap>
          <Tooltip content="Launches live interactive telemetry cluster (zero signup required)">
            <Button variant="primary" size="lg">
              Launch Sandbox Quorum
            </Button>
          </Tooltip>
          <Tooltip content="Read architectural whitepaper and formal TLA+ proofs">
            <Button variant="secondary" size="lg">
              Read Architecture RFC →
            </Button>
          </Tooltip>
        </Row>

        {/* Friction-Reduction Reassurance Nudge Row */}
        <Row gap="xs" align="center" wrap>
          <Badge variant="secondary">Zero external dependencies</Badge>
          <Badge variant="green">Apache 2.0</Badge>
          <Badge variant="blue">Single static binary</Badge>
          <Badge variant="secondary">Sub-10ms failover</Badge>
        </Row>
      </Stack>

      <Gutter size="md" />

      {/* 3. The Live Mechanical Proof (Terminal Breakout) */}
      <Terminal
        title="~/vectormesh (cluster: eu-west-1)"
        lines={[
          "vmesh cluster bootstrap --peers 3 --wal-dir /data/wal",
          { text: "✔ Node 1 [Leader]: Quorum established (term=42, index=108420)", kind: "ok" },
          { text: "✔ Node 2 [Follower]: Log synchronized in 0.84ms", kind: "ok" },
          { text: "✔ Node 3 [Follower]: Heartbeat acknowledged, fsync verified", kind: "ok" },
          { text: "Cluster status: HEALTHY · Throughput: 420,000 ops/sec", kind: "out" },
        ]}
      />

      <Gutter size="lg" />

      {/* 4. Concrete Metric Pillars */}
      <Grid cols={3} gap="md">
        <StatCard value="420k" label="ops / second" description="sustained write throughput" accent="emerald" />
        <StatCard value="0.84ms" label="p99 replication" description="cross-region Raft quorum" accent="blue" />
        <StatCard value="Zero" label="memory allocations" description="ring-buffer page cache" accent="rose" />
      </Grid>

      <Gutter size="lg" />

      {/* 5. Asymmetric Deep-Dive Cards */}
      <Grid cols={2} gap="lg">
        <Card hoverable>
          <CardHeader>
            <Badge variant="violet" className="w-fit mb-2">Storage Engine</Badge>
            <CardTitle>Memory-Mapped Append Log</CardTitle>
          </CardHeader>
          <CardContent className="text-muted-foreground text-sm leading-relaxed">
            Direct I/O bypasses OS page cache jitter. Writes are sequentially appended to 64MB pre-allocated segments with hardware-enforced crc32 checksum verification.
          </CardContent>
        </Card>

        <Card hoverable>
          <CardHeader>
            <Badge variant="cyan" className="w-fit mb-2">Consensus</Badge>
            <CardTitle>Pipelined Raft Replication</CardTitle>
          </CardHeader>
          <CardContent className="text-muted-foreground text-sm leading-relaxed">
            Entries are optimistically transmitted to quorum followers in lock-free ring buffers while the leader executes fsync concurrently, eliminating network round-trip bottlenecks.
          </CardContent>
        </Card>
      </Grid>

      <Gutter size="lg" />

      {/* 6. Engineering Maxim Quote */}
      <Maxim author="Arpit Bhayani" source="Asli Engineering">
        Simplicity is a prerequisite for reliability. Complex systems fail in complex, unexpected ways.
      </Maxim>
    </Stack>
  );
}

5. Self-Audit Checklist (Verify Before Concluding)

Before declaring any UI task done, the agent MUST verify every item:

  • Fonts Enforced: Google Fonts (Assistant, IBM Plex Mono, Lora) loaded in globals.css or <head>, and body { font-family: var(--font-sans) } active.
  • 0% Custom CSS: Zero .css files created, zero <style> blocks written, zero ad-hoc margin/padding styles.
  • PageShell Enforced: Screen is framed in <PageShell> with centered max-w-6xl bounds.
  • Footer Editorial: Footer is flat on bg-background with hairline border, inline links with (hint), and social pills.
  • Tooltips Wrapped: Every action button, theme toggle, copy button, and <PingStatus> has a <Tooltip>.
  • Visual Rhythm: No consecutive stacks of identical cards; telemetry breakouts and maxims alternate with prose.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ape Design AI 技能有什么作用?

Enforces the Array UI (array-ui) editorial systems design system for any frontend, UI, website, blog, personal site, SaaS dashboard, or documentation development task. Trigger on "ape design", "Array UI", or whenever building, styling, or scaffolding UI to guarantee high information density, mathematical precision, editorial typography, and 0% custom CSS without prompt loops.

为什么在 TypingMind 中使用 Ape Design?

因为您只需安装一次,就能搭配任何模型使用。Ape Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ape Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/arpitbbhayani/ape-skills/tree/master/ape-design。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ape Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ape Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ape Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ape Design AI 技能免费吗?

是的。arpitbbhayani 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇