/SKILL.md
当使用 AI 编程助手消费 `@arim-aisdc/public-components` 组件库时需要接口参考、导入约束或后台管理界面一致性指导。
npx skillsauth add mahailiang999-creator/public-components-skill public-components-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
使用本 Skill 来帮助各类 AI 编程助手生成、审查或排查消费 @arim-aisdc/public-components 的代码。始终把组件库根入口导出视为公共接口边界,并按任务类型只读取必要的参考文档。
当任务涉及以下内容时使用本 Skill:
@arim-aisdc/public-components 的前端代码。/utils 工具函数、主题变量路径或内部路径导入边界。TableMax、CustomForm、QueryFilter、SchemaForm、ConfigProvider/useConfig、权限体系、筛选组件、缓存、事件总线、MessageTip、ModalTip 或多语言配置。@arim-aisdc/public-components 根包导入。src/index.ts 或已记录二级路径没有公开的接口。references/ 文件,不要默认一次性加载全部参考文档。references/ui-consistency.md。默认可安全使用的常见根包导出:
TableMax、CustomForm、QueryFilter、SchemaForm、ConfigProvider、PermissionProvider、Restricted、PermissionContext、BaseInfo、CenterModal、DrawerCom、SplitPane、SplitterPane、CacheTabs、DraggableBox、ConditionExpression、Icon、Empty、MessageTip、ModalTipFilterSelect、FilterInputNumber、FilterRadio、FilterSlider、FilterSwitch、FilterColoruseConfig、useEventBus、events、usePageCacheState、useCenterModalStatepublic_zhCN、public_enUS、public_viVN不要默认把以下能力作为根包导入:
ThemeProvideruseTranslationColorSelectorMicroComponent如果用户要求这些能力,先说明它们不是当前根包公共导出,再优先提供根包已公开的替代方案。
根包导入:
import { TableMax, ConfigProvider, public_zhCN } from '@arim-aisdc/public-components';
工具函数:
import { to, getTextWidth, judgeHasPermission } from '@arim-aisdc/public-components/utils';
主题变量仅在必要时使用:
import { publicThemeMap } from '@arim-aisdc/public-components/themes/variablesConfig';
TableMax、列定义、分页、排序、筛选、拖拽、虚拟行/列:读取 references/table-max.md。ConfigProvider、useConfig、主题变量、多语言配置、TableMax 全局配置:读取 references/config-provider.md。PermissionProvider、Restricted、PermissionContext、权限判断:读取 references/permission.md。useEventBus、events、usePageCacheState、useCenterModalState、hook 行为:读取 references/hooks.md。FilterSelect、FilterInputNumber、FilterSlider、FilterSwitch、FilterColor、FilterRadio、ConditionExpression:读取 references/filter-components.md。CustomForm、QueryFilter、SchemaForm、Empty、CenterModal、DrawerCom、SplitPane、SplitterPane、DraggableBox、Icon、CacheTabs、BaseInfo、MessageTip、ModalTip:读取 references/other-components.md。references/best-practices.md。references/ui-consistency.md。references/troubleshooting.md。/utils、主题变量路径,还是内部路径。references/ui-consistency.md 作为强制验收约束;生成代码前先对齐布局、颜色变量、按钮、表格、分页、表单和滚动行为。Restricted fallback;当前 Restricted 只支持 requiredPermissions、isPage、children。useCenterModalState 使用 visible;当前状态字段是 open。CustomForm 使用 CustomFormItemType,QueryFilter 使用 FormItemType,SchemaForm 使用 formConfig。useTranslation 写成根包导入;多语言优先通过 ConfigProvider 和 public_zhCN/public_enUS/public_viVN 配置。CacheTabs 当成通用 Tabs 封装;它绑定 keep-alive 缓存场景。.less 或 .module.less 中直接写 var(--global-*);优先使用项目已有 Less 主题变量,例如 @global-card-background-color。references/ui-consistency.md 的语义变量,缺少变量时宁愿删除颜色覆盖,不要写死裸色。本段只服务 Skill 维护者,不是普通任务必须关注的上下文。除非正在校准本 Skill 或用户明确要求核对源码,否则不要因为这些信息读取本地源码。
v1.2.0@arim-aisdc/public-components2.3.92C:\Work_Files\public-componentsVERSION_UPDATES.local.md,该文件只保留在维护者本地,并通过 .gitignore 排除,不随 Skill 发布。如果 Skill 文档与可访问源码冲突,以源码为准,并把该冲突视为后续需要修正文档的漂移信号。
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
data-ai
OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.