chakra-ui-refactor
Review and Refactor Chakra UI v3 Components
UI components can contain outdated APIs, inaccessible controls, and inconsistent layouts. This skill guides focused reviews and Chakra UI v3 conversions while preserving existing behavior.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "chakra-ui-refactor" from https://skillstore.io/skills/chakra-ui-chakra-ui-refactor.md and its manifest at https://skillstore.io/api/skills/chakra-ui-chakra-ui-refactor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“chakra-ui-refactor”。 Review a dialog close button that has an icon but no accessible label.
预期结果:
- Critical: the close button has no accessible name.
- Targeted fix: add an accessible label describing the close action.
- Keep the existing close handler and dialog state unchanged.
正在使用“chakra-ui-refactor”。 Convert a Tailwind profile panel with responsive spacing and a save action to Chakra UI v3.
预期结果:
- Refactored structure: use Chakra layout primitives and spacing props.
- Responsive changes: translate breakpoint classes into responsive prop values.
- Behavior preserved: retain the save handler, state, and conditional content.
正在使用“chakra-ui-refactor”。 Clean up a Chakra component with nested wrappers and hardcoded background colors.
预期结果:
- Simplify redundant wrappers while preserving semantic elements.
- Replace repeated child margins with shared layout spacing.
- Use suitable semantic background tokens and explain the styling changes.
安全审计
安全All 79 static findings are false positives from Markdown formatting, UI terminology, and illustrative component code. No evidence found of malicious execution, reconnaissance, data exfiltration, or prompt injection in SKILL.md. The skill provides UI review and conversion instructions, including conditional removal of unused styling dependencies.
风险因素
⚙️ 外部命令 (50)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/chakra-ui-chakra-ui-refactor/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/chakra-ui-chakra-ui-refactor?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/chakra-ui-chakra-ui-refactor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/chakra-ui-chakra-ui-refactor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/chakra-ui-chakra-ui-refactor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
chakra-ui. (2026). chakra-ui-refactor security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/chakra-ui-chakra-ui-refactor/audits/1BibTeX 引用
@techreport{chakra-ui-chakra-ui-chakra-ui-refactor-2026,
author = {chakra-ui},
title = {chakra-ui-refactor security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/chakra-ui-chakra-ui-refactor/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "chakra-ui-refactor security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "chakra-ui"
date-released: "2026-11-17"
url: "https://skillstore.io/skills/chakra-ui-chakra-ui-refactor/audits/1"
identifiers:
- type: other
value: "skillstore:chakra-ui-chakra-ui-refactor:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Review a React component before merging
Identify accessibility, API, and responsive layout issues, with targeted corrections instead of a full rewrite.
Convert a styled prototype
Translate Tailwind or HTML/CSS components into Chakra UI while retaining interaction logic and semantic structure.
Standardize shared component patterns
Review repeated styles, outdated properties, and token inconsistencies, then suggest reusable components or recipes.
试试这些提示
Review the component below as Chakra UI v3. Identify accessibility and API issues, show minimal fixes, and do not rewrite the whole component.
Convert the Tailwind component below to Chakra UI v3. Preserve handlers, state, semantic HTML, and responsive behavior. Explain the main changes.
Refactor the Chakra component below. Reduce unnecessary nesting, replace suitable hardcoded colors with semantic tokens, and preserve existing behavior. State your assumptions.
Review and refactor the Next.js component below for Chakra UI v3. Check compound APIs, accessibility, responsive props, and client boundaries. Preserve framework components and interactions.
最佳实践
- Provide the component, installed Chakra version, framework, and relevant theme context.
- Specify whether you need a review, a refactor, or both.
- Validate types, keyboard interactions, responsive layouts, and visual behavior after applying changes.
避免
- Requesting a review without sharing the actual component code.
- Replacing every style mechanically when complex CSS or custom theme behavior requires exceptions.
- Removing styling dependencies without checking whether other components still use them.