shadcn-component-boundaries
Organize shadcn Components by Ownership
Mixing product behavior with registry primitives makes component placement unclear and registry updates harder to manage. This skill guides alias resolution, ownership classification, and component placement with one-way dependencies.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "shadcn-component-boundaries" from https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries.md and its manifest at https://skillstore.io/api/skills/c3sc0-v4113-shadcn-component-boundaries/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「shadcn-component-boundaries」。 Where should an app-wide ConfirmButton wrapping Button and AlertDialog go when aliases resolve to src/components and src/components/ui?
預期結果:
- Ownership: reusable product component.
- Final path: src/components/common/confirm-button.tsx.
- Dependency direction: common imports ui primitives; ui must not import the wrapper.
正在使用「shadcn-component-boundaries」。 Where should a billing-only InvoiceTable go when the components alias resolves to src/components?
預期結果:
- Ownership: billing feature component.
- Final path: src/components/billing/invoice-table.tsx.
- Dependency direction: billing may use common components and ui primitives; neither lower layer may import billing.
正在使用「shadcn-component-boundaries」。 Several features need the same new appearance for a registry Button.
預期結果:
- Ownership: registry primitive with a shared visual variant.
- Final path: the existing Button file in the resolved ui directory.
- Add a variant to the primitive rather than creating a styled copy in common.
- Keep product behavior outside ui and retain one-way imports.
安全審計
安全All 12 static findings are false positives caused by Markdown inline code, not Ruby or shell execution. No evidence found of prompt injection, credential access, data exfiltration, or malicious intent in the reviewed skill text. The skill provides component placement guidance and delegates optional tooling to existing project configuration.
風險因素
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/c3sc0-v4113-shadcn-component-boundaries/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/c3sc0-v4113-shadcn-component-boundaries.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 引用
c3sc0-v4113. (2026). shadcn-component-boundaries security audit report (audit version 1) [Author version 1.0]. Skillstore. https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries/audits/1BibTeX 引用
@techreport{c3sc0-v4113-c3sc0-v4113-shadcn-component-boundaries-2026,
author = {c3sc0-v4113},
title = {shadcn-component-boundaries security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries/audits/1},
note = {Author version 1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "shadcn-component-boundaries security audit report (audit version 1)"
version: "1.0"
type: report
authors:
- name: "c3sc0-v4113"
date-released: "2026-10-02"
url: "https://skillstore.io/skills/c3sc0-v4113-shadcn-component-boundaries/audits/1"
identifiers:
- type: other
value: "skillstore:c3sc0-v4113-shadcn-component-boundaries:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Place New Product Components
Classify a shared confirmation button and a billing-only table before choosing their component directories.
Protect Registry Component Boundaries
Review wrappers and variants so product behavior stays outside registry primitives during component maintenance.
Review Component Architecture
Check a proposed component move for ownership changes, resolved aliases, and reverse imports.
試試這些提示
Use shadcn-component-boundaries to classify [component] in this project. Resolve component aliases and recommend its final path and allowed dependencies.
Create [shared product component] using existing shadcn primitives. Resolve aliases, place product behavior outside ui, and report ownership, final path, and dependency direction.
Review [component scope] against shadcn-component-boundaries. Identify misplaced product components and reverse imports, then propose specific moves with ownership classifications and final paths.
Refactor [feature component] for reuse by [second feature]. Remove feature-specific behavior, resolve aliases, move shared behavior to common, and check imports and configured styling rules.
最佳實務
- Resolve aliases before creating or moving components; do not assume a components or src/components directory.
- Classify ownership and reuse scope first, then keep product behavior outside registry primitives.
- Report final paths and verify one-way imports after every component creation or move.
避免
- Putting product wrappers, domain behavior, or feature sections inside the registry ui directory.
- Importing feature or common components from registry primitives.
- Duplicating a registry primitive for styling instead of using a shared variant and semantic tokens.
常見問題
When should I use this skill?
Does it require a fixed component directory?
Where do reusable product components belong?
Can registry primitives contain product behavior?
Does this skill provide automatic lint enforcement?
What should the agent report after a change?
開發者詳細資訊
作者
c3sc0-v4113授權
Apache-2.0
作者版本
v1.0
Skillstore 修訂
r1
版本提示
作者聲明的版本不符合 SemVer 規範。
引用
a55c18fe8a4c497c5ad4ca58af00009046d9fcf2
維護新鮮度
2026/10/2
使用量
0 次下載 · 0 次瀏覽
檔案結構