Token导航 LogoToken导航

Agent Skill · 研究检索

webflow-code-component%3acomponent-audit(Webflow 代码 component 3acomponent 审核)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

webflow-code-component%3acomponent-audit 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 20,947。

总安装 5,033周安装 214GitHub Stars 62下载 1,763核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:webflow-code-component%3acomponent-audit(Webflow 代码 component 3acomponent 审核)
来源仓库:https://github.com/webflow/webflow-skills
仓库路径:skills/webflow-code-component%3Acomponent-audit
安装命令:
npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-component:component-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-component:component-audit

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于 Webflow 代码组件的安全审计,检查硬编码项目和 SSR 安全问题。重点关注 localStorage SSR 守护、道具暴露和组件粒度问题。提供优先修复建议和特定于 Webflow 的问题排查指南。安装方式通过 npx skills add 指定 GitHub 仓库路径。

建议结合项目现有配置核验,避免误判通用代码质量问题。

来源仓库内路径:skills/webflow-code-component%3Acomponent-audit

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-co…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

webflow-code-component%3acomponent-audit 怎么安装?

在终端执行 npx skills add https://github.com/webflow/webflow-skills --skill webflow-code-component:co…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

webflow-code-component%3acomponent-audit 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

webflow-code-component%3acomponent-audit 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

webflow-code-component%3acomponent-audit 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

webflow-code-component%3acomponent-audit 用的人多吗?

公开数据是累计安装 5,033 次,近一周安装 214 次,下载 1,763 次,GitHub 62 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

webflow-code-component%3acomponent-audit 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
webflow-code-component%3acomponent-audit

Webflow 代码 component 3acomponent 审核 · 本页

5,03362操作浏览器未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Component Audit

Audit existing code components for Webflow-specific architecture decisions. This skill focuses on how well components integrate with Webflow Designer, not generic React best practices.

When to Use This Skill

Use when:

  • User wants to improve how their components work in Webflow Designer
  • Reviewing whether the right things are exposed as props vs hardcoded
  • Checking if state management patterns are Webflow-compatible
  • Looking for opportunities to make components more designer-friendly
  • Component isn't rendering or behaving as expected in Webflow

Do NOT use when:

  • Validating before deployment (use pre-deploy-check instead)
  • Creating new components (use component-scaffold instead)
  • Converting a React component (use convert-component instead)
  • Generic code quality review (use a linter)

Core Philosophy

This audit answers three questions:

  1. Designer Control: Are the right things exposed as props for designers to customize?
  2. Webflow Compatibility: Does the component work within Webflow's constraints (Shadow DOM, SSR, isolated React roots)?
  3. Component Architecture: Is this the right level of granularity, or should it be split/combined?

Instructions

Phase 1: Discovery

  1. Find all components:

- Locate webflow.json - Find all.webflow.tsx files - Read corresponding React components

  1. Understand intent: Ask user what the components are for and any specific concerns

Phase 2: Analysis

For each component, analyze these Webflow-specific areas:

A. Prop Exposure Analysis

Goal: Identify what designers SHOULD be able to control but currently can't.

Look ForRecommendation
Hardcoded text stringsExpose as props.Text()
Text that designers should edit on canvasExpose as props.RichText()
Hardcoded values from a fixed set of optionsExpose as props.Variant({options: [...]})
Hardcoded image URLsExpose as props.Image()
Hardcoded link URLsExpose as props.Link()
Hardcoded HTML id attributesExpose as props.Id()
Conditional rendering with booleanExpose as props.Boolean() or props.Visibility()
Internal state that affects appearanceConsider exposing initial value as prop
children not using SlotConvert to props.Slot()
Aliases: props.String = props.Text, props.Children = props.Slot. Treat these as equivalent during audit.

Questions to ask:

  • "What would a designer want to change?"
  • "What requires a code change that shouldn't?"
B. State Management Architecture

Goal: Identify patterns that won't work in Webflow.

Anti-PatternWhy It FailsAlternative
React Context for cross-component stateEach component has isolated React rootUse nano stores, custom events, or URL params
Prop drilling through SlotsSlot children are separate React appsUse nano stores or custom events
Shared state via module-level variablesMay cause SSR issuesUse browser storage or nano stores
Global event listeners without cleanupMemory leaks, SSR issuesUse useEffect with cleanup

Refactoring recommendations:

  • If components need to communicate → suggest cross-component state pattern
  • If using Context internally only → that's fine, document it
  • If components are tightly coupled → suggest decomposition
C. Slot Opportunities

Goal: Identify hardcoded content that should be designer-controlled.

Current PatternBetter Pattern
Hardcoded button inside cardSlot for actions area
Hardcoded icon componentSlot or Image prop
Fixed header/footer structureSlots for header and footer
Hardcoded list itemsConsider if this should be multiple components

When NOT to use Slots:

  • When content has specific behavioral requirements
  • When content needs to interact with component state
  • When the structure is truly fixed and not customizable
D. Shadow DOM Compatibility

Goal: Ensure styles work in isolation.

IssueDetectionFix
Using site/global CSS classesClass names like .container, .btnUse CSS Modules or component-scoped styles
CSS-in-JS not configuredstyled-components/Emotion without decoratorAdd globals.ts with styledComponentsShadowDomDecorator (styled-components) or emotionShadowDomDecorator (Emotion/MUI)
Missing style importsStyles defined but not imported in.webflow.tsxAdd import statement
Relying on inherited stylesExpecting parent styles to cascadeUse explicit styles or CSS variables
Needs tag selectors (h1, p, etc.)Tags not styled inside Shadow DOMEnable applyTagSelectors: true in component options
SSR Note: When using styled-components or Emotion, you must also configure the server renderer in webflow.json for SSR to work correctly: - styled-components: "library": {"renderer": {"server": "@webflow/styled-components-utils/server"}} - Emotion: "library": {"renderer": {"server": "@webflow/emotion-utils/server"}}
E. SSR Safety

Goal: Identify browser-only code that runs during render.

PatternProblemSolution
window.innerWidth in renderSSR errorUse useEffect or set ssr: false
document.getElementById in renderSSR errorUse useEffect or refs
localStorage.getItem outside useEffectSSR errorWrap in useEffect with useState
Third-party library that requires windowSSR errorDynamic import or ssr: false
F. Component Granularity

Goal: Determine if component is at the right level of abstraction.

Signs a component should be SPLIT:

  • Too many props (>10) making Designer UI cluttered
  • Multiple distinct sections that could be independent
  • Designers want to use parts separately
  • Component handles multiple unrelated concerns

Signs components should be COMBINED:

  • Always used together
  • Tightly coupled state that's awkward to sync
  • Small components with no standalone use

Phase 3: Report

Generate actionable report with:

  1. Summary: Quick overview of findings
  2. By Component: Specific issues and recommendations for each
  3. Architecture Recommendations: Cross-cutting concerns
  4. Priority Actions: What to fix first

Audit Checklist

Designer Control (Most Important for Webflow)

CheckQuestion
Prop completenessCan designers customize everything they'd want to?
Prop typesAre the right Webflow prop types used?
Default valuesDo props have sensible defaults?
Prop namingAre names clear for non-developers?
Slot usageIs nested content handled via Slots?
Visibility propsCan sections be shown/hidden?

Webflow Compatibility

CheckQuestion
SSR safeDoes component render without browser APIs?
Style isolationDo styles work in Shadow DOM?
State independenceDoes component work without Context from parent?
No function propsAre there callback props that won't work?

Architecture

CheckQuestion
Single responsibilityDoes component do one thing well?
Right granularityIs this the right size for Designer use?
Cross-component stateIf needed, is it implemented correctly?

Example

User prompt:

Audit my ProductCard component

Response:

## Audit: ProductCard

### Component Overview

// Current props props: { title: props.Text(), price: props.Number(), imageUrl: props.Text() // ⚠️ Should be Image }


---

### A. Prop Exposure Analysis

| Finding | Severity | Recommendation |
| --- | --- | --- |
| `imageUrl` is Text, not Image | Warning | Change to `props.Image()` for proper asset handling |
| "Add to Cart" button text is hardcoded | Suggestion | Expose as prop: `addToCartText: props.Text()` |
| Sale badge is conditionally rendered but not controllable | Suggestion | Add `showSaleBadge: props.Boolean()` |
| Badge color is hardcoded red | Suggestion | Add `badgeVariant: props.Variant({options: ["sale", "new", "featured"]})` |

**Hardcoded Content Found:**

// Line 24 - hardcoded, should be prop <button>Add to Cart</button>

// Line 18 - hardcoded, should be prop or removed {onSale && <span className="badge">SALE</span>}


**Recommended Props to Add:**

props: { // ...existing addToCartLabel: props.Text({ name: "Button Label", defaultValue: "Add to Cart" }), showBadge: props.Boolean({ name: "Show Badge", defaultValue: false }), badgeType: props.Variant({ name: "Badge Type", options: ["sale", "new", "featured"], defaultValue: "sale" }) }


---

### B. State Management

| Finding | Severity |
| --- | --- |
| Uses `localStorage` for cart count | Warning |
| No React Context dependencies | OK |

**Issue: localStorage in render**

// Line 8 - will break SSR const cartCount = localStorage.getItem('cart');


**Fix:**

const [cartCount, setCartCount] = useState(0); useEffect(() => { setCartCount(parseInt(localStorage.getItem('cart') || '0')); }, []);


---

### C. Slot Opportunities

| Current | Recommendation |
| --- | --- |
| Hardcoded button | Consider: `actions: props.Slot()` for flexible CTAs |

If designers need to put different content (button, link, custom element) in the action area:

props: { actions: props.Slot({ name: "Actions" }) }

// Component <div className={styles.actions}> {actions} </div>


**However**, if button behavior is tied to cart logic, keep it hardcoded.

---

### D. Shadow DOM Compatibility

| Check | Status |
| --- | --- |
| Styles imported in.webflow.tsx | ✅ OK |
| CSS Modules used | ✅ OK |
| No global class references | ✅ OK |

---

### E. SSR Safety

| Check | Status |
| --- | --- |
| window usage | ✅ None |
| document usage | ✅ None |
| localStorage usage | ⚠️ Needs guard (see fix above) |

---

### F. Component Granularity

**Current size**: 4 props (will be 7 after recommendations) **Verdict**: Good granularity - single purpose, manageable props

---

## Summary

| Category | Status |
| --- | --- |
| Designer Control | ⚠️ Needs work - 4 hardcoded items found |
| State Management | ⚠️ localStorage needs SSR guard |
| Shadow DOM | ✅ Good |
| SSR Safety | ⚠️ One issue |
| Granularity | ✅ Good |

**Priority Actions:**

1. Fix localStorage SSR issue (blocks deployment)
2. Change imageUrl from Text to Image prop
3. Expose badge controls as props
4. Consider exposing button label

Guidelines

What This Audit Does NOT Check

This is not a generic code quality audit. Skip:

  • Generic React performance patterns (let users use React DevTools)
  • Generic accessibility (let users use axe or similar)
  • Code formatting (let users use Prettier/ESLint)
  • Generic TypeScript best practices

Focus only on Webflow-specific concerns.

Prop Exposure Heuristics

Should be a prop:

  • Any text visible in the UI
  • Any image or media
  • Any color or size that might vary
  • Any boolean that controls visibility
  • Any value that changes per-use

Should NOT be a prop:

  • Internal implementation details
  • State that changes during interaction
  • Values derived from other props
  • Animation timing/easing (unless explicitly customizable)

When to Recommend Slots vs Props

Use Slot when:

  • Designer wants to put arbitrary Webflow elements inside
  • Content structure is flexible
  • Nested content doesn't need to interact with component state

Use Props when:

  • Content is simple (text, image, link)
  • Component needs to process/transform the content
  • Specific structure is required

State Pattern Recommendations

If components need to share state, recommend in this order:

  1. URL parameters - if state should be shareable/bookmarkable
  2. Nano stores - for real-time sync between components
  3. Custom events - for fire-and-forget communication
  4. Browser storage - for persistence across sessions

平台分布

Codex

34.13%
按下载量换算602

Claude

31.93%
按下载量换算563

Cursor

16.83%
按下载量换算297

Gemini CLI

9.68%
按下载量换算171

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills