Repository navigation
docs: 整理 dimensional-drawing 的组件尺寸图约定 - #4
Merged
Merged
Conversation
上游是 MIT 的 agent skill,用来把 UI 组件画成一页尺寸图。 本仓库只收可复用约定:结构代替文案、代号和公式、不发明数值、 测量走真实盒模型。不把绘图套件和动效渲染器同步进 vendor/, 也不放进会被拷进每个新项目的 project/ 模板。 Co-authored-by: Owlbay <gzh298255@gmail.com>
组件尺寸图从 docs/ 根目录挪到 docs/references/design/, 并加 docs/README.md 说明各子目录放什么、以后如何继续收录。 Co-authored-by: Owlbay <gzh298255@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
整理了什么
enesozturk/dimensional-drawing(MIT)是两个 agent skill:把 UI 组件画成一页苹果配件图风格的尺寸图,以及把画完的图做成约 10 秒短片。
本 PR 只整理对做界面的 agent 有用、并且能和现有规范接上的约定:
[TBD],不发明数值代号和本仓库的间距 token、Quiet 的嵌套圆角对齐:能对应上就写 token 名,边框为 0 时内圆角公式与 Quiet 的「外 = 内 + 内距」相同。
未复制上游的 HTML 示例、SVG 绘图工具、动效场景、渲染器和媒体文件。许可证与来源写在文档开头,并在
THIRD_PARTY_NOTICES.md登记为「参考整理,未同步进 vendor/」。放在哪里
docs/references/design/dimensional-drawing.mddocs/README.md。docs/是基准仓库自己的文档;references/放外部资料的约定摘要,下面按主题分目录(现在有design/)。以后新增资料放到对应主题,没有合适主题就新建目录,并登记到这份索引。README.md的收录表、目录树和约定已改到这条路径。THIRD_PARTY_NOTICES.md为什么这么组织
vendor/由scripts/sync-upstream.py原样同步可安装的 skill。这份材料要连同示例和渲染器才完整,同步进来等于收下一套绘图程序;skill 文本本身也要求从上游示例改起。需要出图时按文档从上游安装。project/docs/design/是新产品要遵守的界面风格,会被new-project.sh拷进每个项目。尺寸图是按需产出的说明文件,单色、无品牌,和 Quiet / Terminal 不是同一套规则。docs/references/design/:不进项目模板,也不同步源码。references/与可安装的vendor/分开,design/把界面和图纸类资料归在一起,以后继续按主题加,而不是平铺在docs/根目录。