
creght-dev/skills
80最近提交 2026年8月14日
skills DSH 插件
Creght Skills 是一组 Codex/Agent 技能,帮助 AI 助手理解和使用 Creght 平台。它涵盖 CLI 工作流、页面开发约定、CMS、表单、Auth、Func 后端、SEO 和网站复刻。该技能包可作为 DSH 插件安装到 DeepSeek Harness 中。
如何安装 skills DSH 插件
dsh plugin --profile web add github:creght-dev/skills复制不会执行命令。安装 skills DSH 插件前请核对仓库和版本。
skills DSH 插件数据来源
skills DSH 插件快照日期:2026年8月16日
discovered
skills DSH 插件能做什么
- 引导 Agent 完成 Creght CLI 工作流:创建项目、拉取/推送文件、解决合并冲突、预览、发布。
- 通过 /.well-known/creght.json 从 Creght 页面 URL 中发现项目 ID 和站点 ID。
- 强制执行 Creght 页面开发约定:/pages 路由、/components 目录、原生 <a> 导航、getServerSideProps 数据加载。
- 帮助编写符合 Creght 平台要求的 React + Tailwind v4 页面和组件。
- 提供常见平台功能的实现参考:CMS、表单提交、Auth、基于文件的 Func 后端代码、SEO 元数据、站点地图、轮播组件。
- 协助调试本地到平台的同步、预览和发布问题。
skills DSH 插件适合哪些场景
- 为一个 Creght 项目添加“关于”页面,遵循现有页面和组件结构。
- 将主页连接到 Creght CMS 数据,使用项目中已有的 schema 和类型。
- 优化项目的 SEO 配置,包括标题、描述、Open Graph 和相关元数据。
- 在 Creght 站点上使用 AI 编辑功能新增一篇文章。
- 将现有网站复刻到 Creght,保留布局和所有动效,并独立运行直到完成。
skills DSH 插件适合谁
- 构建和管理 Creght 项目的开发者。
- 需要针对 Creght 工作流获得平台特定指导的 AI Agent(如 Codex、Agent 环境)。
skills DSH 插件的限制
- 仅适用于 Creght 平台(creght.cn)及其项目结构。
- 需要有效的 Creght 项目编辑 URL 和相应权限才能执行操作。
- 依赖 Agent 环境(如 Codex)加载和应用技能;并非所有环境都支持该技能格式。
- 网站复刻功能需要真实浏览器探测源站点,且可能受源站点复杂性和许可限制。
skills DSH 插件的仓库 README 摘录
以下文字摘自 skills DSH 插件的上游仓库 creght-dev/skills 的 README,版权归原作者,仅作引用。
This repository provides Codex/agent skills for Creght. They help agents understand Creght project structure, CLI workflows, page development conventions, CMS/Form/Auth/Func backend/SEO features, and other platform capabilities. ## Skills - **`creght`** — the base platform skill: CLI workflows, pages/components conventions, CMS, forms, Auth, Func backend, SEO, publishing. - **`site-replica`** — replicate any existing website onto Creght ("复刻网站"): probes the source in a real browser, audits every animation and interaction, rebuilds it as an original React/Tailwind implementation with license-safe placeholder assets, then verifies desktop + mobile against the source in a loop until parity. Builds on top of `creght`. ## What This Skill Does - Guides agents through Creght CLI workflows for creating projects, pulling workspace files, pushing frontend and Func backend file changes, resolving merge conflicts, previewing, and publishing sites. - Discovers project and site IDs from rendered Creght page URLs through `/.well-known/creght.json`. - Enforces Creght page development conventions, such as `/pages` routes, the `/components` directory, native `<a>` navigation, and `getServerSideP
阅读完整 README仓库许可: MIT
skills DSH 插件常见问题
如何将 Creght Skills 安装为 DSH 插件?
在终端中运行 `npx @deepseek-ai/dsh plugin --profile web add github:creght-dev/skills`。确保 PATH 中已安装 pnpm。你也可以通过在 GitHub 引用后添加 `#v1.0.0` 来锁定特定版本。
Creght Skills 支持哪些环境?
该技能专为支持 `skills` 命令的 Codex 和 Agent 环境(如 DeepSeek Harness)设计。安装后,当你处理 Creght 项目时,Agent 会自动加载相应的技能指导。
没有 Creght 账号可以使用 Creght Skills 吗?
不能。该技能与 Creght 平台紧密耦合。你需要一个有效的 Creght 项目编辑 URL 以及相应权限才能利用 CLI 工作流、CMS、Auth 等功能。没有项目,技能就没有操作的上下文。
如何更新 Creght Skills 到最新版本?
可以运行 `npx skills update creght`,或者重新运行添加命令 `npx skills add creght-dev/skills -g -y`,该命令是幂等的,会拉取最新版本。对于 DSH,使用 `npx @deepseek-ai/dsh plugin --profile web update creght-skills`。
Creght Skills 可以复刻任意网站吗?
`site-replica` 技能可以复刻任何现有网站到 Creght:它使用真实浏览器探测源站点,审核动画和交互,然后将其重建为 React/Tailwind 实现。但需要许可证安全的占位资源,并且可能受源站点复杂性的限制。该过程会循环运行直到桌面端和移动端的一致性验证通过。