Awwwards Section Loop 标志

Awwwards Section Loop

社区
INSANE0777
awwwards-section-loop

Use when recreating or rebuilding a multi-section page from a reference site — build section by section instead of all at once. Teaches the loop map (analyze_page_structure bands → capture_component per section → build → verify_build per-band score → lock → next), selector fallback rules learned from real captures, when a page must be treated as one unit (shared WebGL canvas), and the lock-before-next discipline that stops compounding drift. Pairs with awwwards-motion-study (motion recipe per section) and verify_build (the score gate).

Add to TypingMind

概览

发布者INSANE0777
代码仓库Awwwards-mcp
技能名称awwwards-section-loop
星标数
355
复刻数
18
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/INSANE0777/Awwwards-mcp.git /tmp/Awwwards-mcp
mkdir -p .claude/skills
cp -r /tmp/Awwwards-mcp/skills/awwwards-section-loop .claude/skills/awwwards-section-loop
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Awwwards Section Loop。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Awwwards Section Loop — build section by section, verify each, lock it

Building a whole page in one pass loses: attention splits across eight sections, an early mistake silently propagates into every later one, and feedback arrives only when everything is finished — too late to trace the drift to the decision that caused it. The section loop fixes all three: one section gets full attention; each section is verified and locked before the next starts; drift is caught where it began.

The tools to run this loop already exist. This skill is the order to run them in, and the judgment calls the tool outputs don't make for you.

The loop

PLAN          analyze_page_structure(reference)   → band map = section plan
FOR EACH      capture_component(section selector) → section pack (recipe)
              build that section                  → in your output, fully
              verify_build(yours, reference)      → read THAT band's score
              iterate until the band passes       → then LOCK it
NEXT SECTION  (do not touch locked sections again)
FINALLY       whole-page verify_build             → coherence pass

Step 0 — Plan from the band map

analyze_stack first (one call): the site's framework, CSS framework, and marker libs. A Webflow or WordPress source means conventions you re-skin; a Next source means you can mirror component shapes. Then analyze_page_structure returns ordered bands with top, height, bg, and a text sniff. Treat the band list as the build order:

  • Small count, sane heights (≤ ~3,000 px each) → bands map 1:1 to build sections.
  • One giant band (5,000 px+) → the band collapsed multiple real sections (repeated <section class="…"> siblings do this). Do not build it as one giant component. Drop to the raw page HTML and pick explicit selectors for the real sections (.section, [role=…], header, footer, or #ids), one per logical section. Real-capture finding: a 20,631 px band held an entire main content area; the four real sections inside it captured fine by class.
  • Shared canvas / WebGL hero spanning many bands → the page does not slice. Treat that canvas region as ONE unit: capture_pose_3d for the camera path, rebuild as a single component, then loop normally for everything after it. Slicing a shared-canvas page into per-section captures produces sections that each reference a canvas none of them own.

Step 1 — Capture per section

capture_component(selector) per section, in band order. Selector discipline (learned from real captures, in priority order):

  1. Section class or id from the band/HTML (.process, .pricing, .footer) — most reliable.
  2. role attributes ([role="banner"], [role="contentinfo"]).
  3. Tag names (header, footer, nav) — last resort: real sites frequently have no <header> element at all (a real capture of a Webflow site returned selector not found: header while nav and .footer worked).

If a selector misses, try the alternatives before shrinking the plan. A failed capture with selector not found is a selector problem, not a missing section.

Step 2 — Build one section, completely

Build the section against its pack: layout from the pack's geometry, tokens (fonts/colors/spacing) from its captured computed styles, motion from the census (analyze_scroll_map + analyze_hover_census scoped to the section, per awwwards-motion-study). Content is yours — structure, motion, and tokens are what you're matching.

Finish it. A half-built section pollutes the next verify. No placeholder blocks left "for later" inside a section you're about to lock.

Step 3 — Verify the band, not the page

verify_build compares your in-progress build against the reference and scores per band. After building section N, run it and read band N's score — ignore later bands (not built yet → noisy) and earlier bands (locked).

Iterate on section N until its band passes (typically score ≥ the target you set up front — B+ per the audit doctrine, or "band beat last iteration"). Then stop touching it.

The evidence lines carry the port's instrumented checks: perf: fps=… dropped=… longTasks=… (measured in a real browser) and anti-patterns: N (worst: …). If perf shows dropped frames, the section's animation weight is the usual cause — transitioning filter: blur, infinite loops, or animating layout properties. Fix the prop, not the score.

Why the score gate matters: section-by-section without a verify gate is just chunked guessing. The band score is the loop's contract — it converts "looks close" into a number that either passes or names what's off (geometry, tokens, motion).

Step 4 — Lock before next

Locking = this section's markup/styles/motion are frozen. If a later section reveals a problem that truly requires changing a locked section, make the change as an explicit re-open: fix, re-verify that band, re-lock. Never silently fudge a locked section while building another.

Step 5 — Final coherence pass

After the last section locks: whole-page verify_build, read every band. Also run analyze_page_structure once with compare: "mobile": mobileBands + diff (bandsAdded, bandsRemoved, reordered, heightDelta) name the sections that only exist at 390×844 or changed order — a desktop-only rebuild shows up here before the mobile smoke. You're now checking cross-section things the per-section loop can't see: shared spacing rhythm, consistent header behavior, scroll continuity, one easing family across sections (or an intentional break). Fix coherence issues at the page level (tokens, shared CSS), not by re-opening sections unless a band regressed.

Step 6 — Convert only if the user asks

The single-file rebuild is a valid handoff. When the user asks for a project (or picks a framework), convert: locked sections are exactly what build_project --target vite|astro|next needs — the band split becomes components. If they also want authored motion, add --authored --motion census.json and author per section (see motion-authoring), keeping the same lock discipline: author section N, verify its band, lock, next. Whole-page desktop + 390 mobile parity last.

Failure modes this skill prevents

FailureWhat you'd seeThe rule that prevents it
Giant collapsed band built as one componentOne "section" with 6 sub-layouts, all mediocreStep 0 explicit-selector split
Selector miss treated as missing sectionWhole region skipped in the rebuildStep 1 alternatives ladder
Sliced shared-canvas pageSections that each expect a canvas nobody rendersStep 0 one-unit rule
Placeholder left inside a "finished" sectionBand score never convergesStep 2 finish-it rule
Drift compounding through the pageEvery band slightly worse than the lastSteps 3–4 verify+lock
Lock-fudgingLocked band regresses unnoticedStep 4 explicit re-open
Per-section sections that don't rhymePage reads as stitched screenshotsStep 5 coherence pass

Companion tools

  • awwwards-motion-study — the per-section motion recipe (record → inventory → build → re-record).
  • verify_build — the per-band score gate (steps 3 and 5); evidence now includes measured perf (fps, dropped frames, long tasks) and anti-pattern counts from instrumented live probes. Runs a real browser — expect ~2 min per call.
  • capture_pose_3d — camera path for shared-canvas units (step 0).
  • analyze_scroll_map / analyze_hover_census - per-section motion census to build from. analyze_scroll_map rows now carry keyframe value-pairs and a site-level gsapTriggers list (numeric pixel start/end, live progress, tween vars) — build from measured values, not invented ones. Hover samples include animations captured DURING the hover (activeAnims), which is how event-driven tweens get seen.
  • build_gsap_stub - turns the captured censuses into a runnable GSAP+ScrollTrigger stub (durations, easings, scrub/pin, camera from capture_pose_3d, reduced-motion guard) — step 2's motion wiring, generated.
  • build_project — build → convert → own the motion: --target vite|astro|next gives native structure (section components, shell, split CSS, ordered libs); --authored --motion census.json drops site logic and emits motion.manifest.json + per-section/page motion hooks to author against (pair with motion-authoring); always re-verify after conversion.
  • analyze_bundle - mechanism recovery (step 2 escape hatch): when a section's effect can't be explained from the census evidence, grep the section site's script bundle for mechanism keywords; the censuses say WHAT animates, the bundle says HOW.

常见问题

Awwwards Section Loop AI 技能有什么作用?

Use when recreating or rebuilding a multi-section page from a reference site — build section by section instead of all at once. Teaches the loop map (analyze_page_structure bands → capture_component per section → build → verify_build per-band score → lock → next), selector fallback rules learned from real captures, when a page must be treated as one unit (shared WebGL canvas), and the lock-before-next discipline that stops compounding drift. Pairs with awwwards-motion-study (motion recipe per section) and verify_build (the score gate).

为什么在 TypingMind 中使用 Awwwards Section Loop?

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

如何在 TypingMind 中安装 Awwwards Section Loop?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/INSANE0777/Awwwards-mcp/tree/main/skills/awwwards-section-loop。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Awwwards Section Loop?

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

Awwwards Section Loop 可以搭配多少个 AI 模型使用?

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

Awwwards Section Loop AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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