anbeime/skill / skills/hairline/hairline
hairline
Flagged一句话生成跟随鼠标的交互式等轴测线框图(单文件、零依赖、双击即开),或把已有 SVG/Logo 重建为可交互线框。
apps/site/app/page.tsx
View on GitHubimport type { CSSProperties } from "react";
import { Assembly } from "@/components/assembly";
import { Footer, Topbar } from "@/components/chrome";
import { Install } from "@/components/install";
import { SkillLink } from "@/components/skill-link";
import { COUNT } from "@/lib/figures";
import { install } from "@/lib/snippets";
import { cap } from "@/lib/words";
const SITE = process.env.NEXT_PUBLIC_SITE_URL!;
/** Where a block falls in the hero's stagger. */
const at = (i: number) => ({ "--i": i }) as CSSProperties;
/**
* The home, as one column: the pitch, the command with the way in, the way to the
* skill, then a window drawn in hairlines, assembling itself layer by layer. The
* figures live on /figures and /docs.
*/
export default function Page() {
return (
<>
<Topbar />
<main className="mx-auto max-w-[1080px] px-[clamp(18px,5vw,28px)] pb-24 pt-[clamp(48px,9vh,96px)]">
<section aria-labelledby="hairline" className="hero-rise grid grid-cols-[minmax(0,1fr)] justify-items-center text-center">
<h1 id="hairline" className="hero-title" style={at(0)}>
Line drawings that <em>answer</em> the pointer.
</h1>
<p className="hero-sub" style={at(1)}>{cap(COUNT)} isometric figures for the web. SVG, no dependencies, React or plain DOM.</p>
<div className="hero-get" style={at(2)}>
<Install commands={install(SITE)} />
<a className="btn btn-primary press" href="/docs">Get started</a>
</div>
<p className="hero-skill" style={at(3)}><SkillLink /></p>
<div className="hero-art" style={at(4)}><Assembly /></div>
</section>
</main>
<Footer />
</>
);
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |