{"id":19281520,"url":"https://github.com/coding/coding-sketch-toolkit","last_synced_at":"2025-06-27T07:33:06.978Z","repository":{"id":42867354,"uuid":"258928833","full_name":"coding/coding-sketch-toolkit","owner":"coding","description":"A series of sketch scripts for CODING designers","archived":false,"fork":false,"pushed_at":"2023-01-06T04:25:15.000Z","size":1282,"stargazers_count":2,"open_issues_count":13,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-05T16:46:50.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-26T03:19:06.000Z","updated_at":"2024-05-24T12:06:16.000Z","dependencies_parsed_at":"2023-02-05T07:15:55.279Z","dependency_job_id":null,"html_url":"https://github.com/coding/coding-sketch-toolkit","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding%2Fcoding-sketch-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding%2Fcoding-sketch-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding%2Fcoding-sketch-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding%2Fcoding-sketch-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coding","download_url":"https://codeload.github.com/coding/coding-sketch-toolkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240385921,"owners_count":19793094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T21:23:08.455Z","updated_at":"2025-02-23T22:19:34.367Z","avatar_url":"https://github.com/coding.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CODING Toolkit Sketch Plugin\n\n\u003cimg src='https://user-images.githubusercontent.com/5106039/80345374-9c313380-889b-11ea-9686-2e3d2d6ee4ac.png' width='839px'\u003e\n\n## 插件命令\nDev Library 分类中的命令主要用于开发 Sketch Library 时使用。\n\n### 1. Update Icon 升级图标\n用于替换旧版 CODING Icon 至新版 CODING Icon，在设计稿中选中来自旧版 CODING Icon Library 的 symbol 然后执行此命令即可自动替换为对应的新版 CODING ICON，并且保留原来 icon 覆盖的颜色与尺寸。\n![Update icon demo](https://user-images.githubusercontent.com/5106039/87222385-c4fa9c80-c3a5-11ea-857c-750bb320638b.gif)\n\n### 2. Generate Icon Library Collection 生成图标合集\n用于在 CODING Icon Library 文件中修改或添加 icon 后重新生成 icon 集合画板。执行此命令将会自动删除原 Page 1 中的 icon collection 画板然后重新生成新的画板。\n更新 CODING Icon 的具体方法请查看此 [Wiki](https://codingcorp.coding.net/p/Design-Center/wiki/1495)\n![Generate icon library collection demo](https://user-images.githubusercontent.com/5106039/87222514-ad6fe380-c3a6-11ea-800f-b3a95f1f7f31.gif)\n\n### 3. Create Symbol Instance 通过选中的 Symbol Master 创建 Instance\n选中一个或多个 Symbol Master 后执行此命令，可自动在 Symbol Master 下方创建对应的 instance，用于快速预览和检查 Symbol Master 的使用效果与 Overrides 配置。\n![Create symbol instance demo](https://user-images.githubusercontent.com/5106039/87222938-d7c3a000-c3aa-11ea-9f09-1a35a333b369.gif)\n\n### 4. Publish New Icon To UIKit 发布新 icon 到 UIKit\n用于在 CODING Icon Library 文件中修改或添加 icon 后，将改动的 icon 自动发布到 CODING UIKit 代码仓库。选中一个或多个需要发布的 icon symbol 图层后执行此命令，icon 会被发送到 CODING CI，然后 CODING CI 自动将 icon 添加进 CODING UIKit 代码仓库并在企业微信群中通知维护者完成后续 UIKit 发版工作。\n\n命令执行完后弹窗\n\n![Command alert](https://user-images.githubusercontent.com/5106039/87223425-70f4b580-c3af-11ea-8d0e-d32838865b15.png)\n\n自动创建的合并请求\n\n![Merge requset](https://user-images.githubusercontent.com/5106039/87223443-8833a300-c3af-11ea-84a1-11849d214431.png)\n\n企业微信通知（*通知里的动物 emoji 每次都不同，猜猜你添加 icon 时会是什么动物*）\n\n![Wechat work notification](https://user-images.githubusercontent.com/5106039/87223377-13f8ff80-c3af-11ea-942d-9aed844f53b2.png)\n\n## Data Supplier\n\n目前支持随机填充以下 Text 内容：\n\n- Project Name\n- User Name\n- Commit Id\n- Commit Id - Sort\n\n## Installation\n\n### 1. Install with [Sketch Runner](https://sketchrunner.com)\n\u003cimg width=\"856\" src=\"https://user-images.githubusercontent.com/5106039/84228475-ae98c100-ab19-11ea-88a7-d93d42c2b33e.png\"\u003e\n\n### 2. Download from release\n\n- [Download](https://github.com/Coding/coding-sketch-toolkit/releases/latest/download/coding-toolkit.sketchplugin.zip) the latest release of the plugin\n- Un-zip\n- Double-click on coding-toolkit.sketchplugin\n\n## Development Guide\n\n_This plugin was created using `skpm`. For a detailed explanation on how things work, checkout the [skpm Readme](https://github.com/skpm/skpm/blob/master/README.md)._\n\n### Usage\n\nInstall the dependencies\n\n```bash\nnpm install\n```\n\nOnce the installation is done, you can run some commands inside the project folder:\n\n```bash\nnpm run build\n```\n\nTo watch for changes:\n\n```bash\nnpm run watch\n```\n\nAdditionally, if you wish to run the plugin every time it is built:\n\n```bash\nnpm run start\n```\n\n### Debugging\n\nTo view the output of your `console.log`, you have a few different options:\n\n- Use the [`sketch-dev-tools`](https://github.com/skpm/sketch-dev-tools)\n- Run `skpm log` in your Terminal, with the optional `-f` argument (`skpm log -f`) which causes `skpm log` to not stop when the end of logs is reached, but rather to wait for additional data to be appended to the input\n\n### Publishing your plugin\n\n```bash\nskpm publish \u003cbump\u003e\n```\n\n(where `bump` can be `patch`, `minor` or `major`)\n\n`skpm publish` will create a new release on your GitHub repository and create an appcast file in order for Sketch users to be notified of the update.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding%2Fcoding-sketch-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoding%2Fcoding-sketch-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding%2Fcoding-sketch-toolkit/lists"}