Communitygithub.com

brainzcode/premium-landing

在网站页脚添加工作室或代理机构署名——「Site by <工作室>」并链接到工作室网站。在完成并交付网站、添加页脚或收到有关机构署名、构建署名、设计署名、归因等请求时使用。涵盖措辞、相对客户版权的位置、各技术栈的标记、基于宿主站点设计令牌的样式,以及同一署名跨多个客户站点时的全站页脚链接SEO足迹。

premium-landing 是什么?

该技能用于在客户网站页脚自动添加工作室或代理机构的署名,如「Site by Your Studio」,并附带指向工作室网站的链接。它从配置文件、用户指令或项目说明中读取工作室名称,并确保绝对不虚构或保留占位符。技能涵盖措辞选择(默认「Site by」或按需替换为「Design & build by」等)、位置(版权对面)、各技术栈(React/Next/Astro等)的HTML标记规则,以及基于宿主设计令牌的样式(链接颜色、悬停效果等)。特别强调了SEO注意事项:避免锚文本在不同客户站点间完全相同造成Google惩罚,建议自然变体措辞,禁止关键词堆砌,并指出白标或分包工作时需先确认署名许可。支持平台包括Claude Code等AI编码助手,工作流程基于配置文件、用户确认和详细检查清单。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/brainzcode/premium-landing/tree/HEAD/plugins/premium-landing/skills/build-credit

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

构建署名

客户网站页脚中的工作室署名。应在完成页脚时添加,而非在客户确认之后再追加。

一次性配置

本技能不内置工作室名称。按以下顺序读取:

  1. 请求中的显式指令
  2. landing.config.json → credit: { studio, url, wording }
  3. 项目或用户配置中的 CLAUDE.md
  4. 询问——一次——然后记录到 landing.config.json

切勿虚构工作室名称,也切勿在已交付的标记中留下占位符。 如果未配置工作室且用户不想要署名,则完全跳过署名。交付时署错名称比不署名更糟糕。

{
  "credit": {
    "studio":  "您的工作室名称",
    "url":     "https://yourstudio.com",
    "wording": "Site by"
  }
}

措辞

Site by 是默认选项——它同时涵盖了设计和构建,而不过度声称任何一方。选择诚实的那个:

措辞适用场景
Site by …默认——设计与构建
Design & build by …当您希望明确范围时
Built by …仅构建,设计由他人完成
Design by …仅设计,构建由他人完成

工作室名称要写全,大小写正确。仅链接名称本身,绝不链接前缀。

位置

页脚底部法律栏,与版权相对。这是用户会寻找的位置。

© 2026 客户名称。保留所有权利。              Site by 您的工作室 ↗

客户保留版权——署名与版权并列,绝不取代版权。在客户网站上显示 © 2026 您的工作室 是错误的,除非合同确实转让了版权。

每个站点仅署一次名。不在导航栏中,不浮动,不作为固定徽章。在移动端法律栏会堆叠——任由其堆叠;切勿缩小署名来适应。

标记

<div class="footer-legal">
  <span>&copy; 2026 客户名称。保留所有权利。</span>
  <span class="footer-credit">
    Site by
    <a href="https://yourstudio.com" target="_blank" rel="noopener noreferrer">您的工作室</a>
  </span>
</div>

使用 target="_blank" 时必须配合 rel="noopener noreferrer"。

React / Next / Astro — 使用普通 <a>,而不是 <Link>;Link 用于内部路由。在 JSX 中注意空格:Site by{' '}<a …>。

样式

低调但可发现:字号与版权相同,亮度高一级,使其看起来可交互而不显突兀。

.footer-credit a { color: var(--ink-2); transition: color .2s ease; }
.footer-credit a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

使用宿主站点的设计令牌。切勿硬编码忽略设计系统的颜色,也切勿将工作室的品牌色引入客户调色板。在浅色站点上,相同的规则反过来:比周围元文本深一级。

不要加粗、添加logo、添加动画或给予背景色块。

SEO足迹——请阅读

在数十个客户站点上使用完全相同的锚文本的全站页脚链接是一种可识别的模式。Google已对机构页脚链接网络进行降权,在激进的情况下甚至进行了惩罚。署名是合法的,因此不需要 nofollow——但:

  • 在不同客户间变化锚文本。 轮换使用 Site by / Design & build by / Built by。在200个域名上使用完全相同的锚文本是足迹;少数自然变体则不是。
  • 切勿进行关键词堆砌。 Site by 您的工作室 — <城市> SEO 机构 正是导致页脚署名被贬值的模式。工作室名称就是锚文本。不得添加其他内容。
  • 仅当客户要求或您不希望关联的站点才使用 rel="nofollow"。
  • 仅一个链接。不是每个部分一个,也不在导航中额外添加。

许可

对于白标或分包工作,在添加署名前确认署名是否在范围内——有些合同禁止。如果业务是白标的,则省略署名并说明原因,而不是交付后心存侥幸。

检查清单

  • 工作室名称来自配置或用户——绝不虚构,绝不使用占位符
  • 页脚底部法律栏,与客户版权相对
  • 客户保留版权行
  • 全名,正确大小写;仅名称被链接
  • target="_blank" 配合 rel="noopener noreferrer"
  • 基于宿主站点设计令牌的样式
  • 在移动端可读(堆叠,不缩小)
  • 锚文本与最近几个客户站点不同;无关键词堆砌
  • 站点上仅一个署名
  • 在业务范围内已获许可

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

brainzcode/premium-landing

Build a complete premium landing page, either replicated from a reference screenshot/URL or designed from a written brief, in HTML, React, Next.js or Astro. Use when asked to build, design, replicate or clone a landing page, marketing page, or one-page site; when handed a design screenshot or Figma/Pinterest reference to turn into code; or when a landing page needs a full premium pass. Covers design tokens, section patterns, the layout traps that silently break grids and marquees, and screenshot-based responsive verification from 320px to 1920px.

brainzcode/premium-landing

Add Lenis smooth scrolling to a site correctly — setup, anchor offsets for sticky headers, scroll locking for modals and menus, reduced-motion handling. Use when asked for smooth scroll, Lenis, momentum/eased scrolling, or when smooth scroll broke a sticky header, a modal lock, or anchor links. Includes the sticky-position trap that only appears at non-zero scroll.

brainzcode/premium-landing

Build true Apple-style liquid glass in the browser — real refraction via SVG displacement maps, chromatic dispersion, specular edges. Use when asked for liquid glass, glassmorphism, frosted/glass cards, glass navbars, or when a blur-based "glass" effect looks flat. Includes the performance trap that makes backdrop-filter stutter on scroll and the contrast trap that makes text unreadable on glass.

brainzcode/premium-landing

Build a premium mobile nav — a hamburger button that morphs into a close X, a full-screen overlay panel with staggered link reveal, scroll lock, focus trap, and reduced-motion handling. Use when asked for a mobile menu, hamburger/burger button, nav drawer, off-canvas menu, or when a menu loses scroll position, still scrolls behind on iOS, leaks Tab focus to the page underneath, or the close button stops responding. Includes the z-index trap that swallows the close button and the iOS rubber-band trap.

brainzcode/premium-landing

Rebuild a design accurately from a supplied reference — a screenshot, PDF page, mockup or live URL — by measuring it numerically instead of eyeballing it. Use when asked to replicate, clone, match or rebuild a design "exactly", "1 to 1" or "with no mistakes", or when a build drifts from its reference. Covers extracting the true content box from a padded screenshot, deriving element positions as percentages, solving object-fit framing, and knowing when a reference cannot be matched.

brainzcode/premium-landing

Ship link previews and favicons that actually work - Open Graph and Twitter card tags, a correctly framed 1200x630 share image, and a full favicon set (SVG, ICO, apple-touch, maskable manifest icons). Use when asked for social sharing, OG image, open graph, twitter card, link preview, share image, favicon, app icon, apple touch icon, or web manifest. Also use when a shared link previews blank, shows the wrong image, or a favicon will not appear. Includes the absolute-URL trap that silently blanks every preview and the font trap that breaks SVG favicons on other machines.

brainzcode/premium-landing

Source free, licence-clear photography for a site from Unsplash — searching by mood rather than noun, sizing and cropping for the slot, honouring the API's hotlink and download-tracking requirements, and writing real alt text. Use when a page needs a hero image, section photography, avatars or card art and none was supplied; when placeholder greys need replacing with real imagery; or when asked to find, pick or swap photos for a design.

相关技能