creght-dev/skills

Codex and agent skills for Cregh.

Bundle 已验证 MIT JavaScript v1.0.0
Bundle 已验证

已收录

8

Skill

Bundle 已验证

版本v1.0.0
语言JavaScript
许可证MIT
在 GitHub 查看

功能介绍

Creght 平台建站技能包:CLI 拉取/推送同步、页面与组件规范、CMS、表单、Auth、SEO、发布与版本回滚。

适合

  • 在 Creght 平台构建或维护 React 与 Tailwind 网站的 Agent。
  • 涵盖 CLI 同步、页面与组件、CMS、表单、认证、后端函数、SEO、预览和发布的 Creght 工作流。
  • 需要把现有网站布局和交互重建为原创 Creght 实现,并验证桌面端与移动端的团队。
  • 需要处理 Creght 同步冲突或回滚已发布版本的运维人员。

不适合

  • 不以 Creght 为目标平台的网站项目;相关规范和工作流具有平台专属性。
  • 希望获得独立建站工具,而不是 Agent 指引和平台工作流说明的团队。
  • `PATH` 中没有 `pnpm` 的 DSH 环境;该 DSH bundle 明确要求此依赖。

README

Creght Skills

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 getServerSideProps for data loading.
  • Helps write React + Tailwind v4 pages and components that follow Creght platform requirements.
  • Provides implementation references for common platform capabilities such as CMS, form submissions, Auth, file-based Func backend code under backend/func, SEO metadata, sitemaps, and carousel components.
  • Helps debug local-to-platform sync, preview, and publishing issues.

Examples

Add an About page to this Creght project, following the existing pages and components structure. {YOUR_CREGHT_PROJECT_EDIT_URL like https://creght.cn/editor/project/pveao61akhoy/site/pveao646es1u}
Connect the homepage to Creght CMS data, using the schema and types that already exist in the project. {YOUR_CREGHT_PROJECT_EDIT_URL like https://creght.cn/editor/project/pveao61akhoy/site/pveao646es1u}
Optimize the project's SEO configuration, including title, description, keywords, Open Graph, and related metadata. {YOUR_CREGHT_PROJECT_EDIT_URL like https://creght.cn/editor/project/pveao61akhoy/site/pveao646es1u}
https://www.creght.cn/docs/ai/ai-edit-content-guide 新增一个文章,内容是关于 ai 积分的价格
复刻 https://example-portfolio.framer.website/ 到 Creght,保留布局和所有动效,独立运行直到完成

Installation

Install with npx:

npx skills add creght-dev/skills -g -y

Or use bunx:

bunx skills add creght-dev/skills -g -y

After installation, supported Codex/agent environments will automatically load the corresponding skill guidance when working with Creght projects.

DeepSeek Harness (dsh)

This repository is also a dsh bundle, so it installs into a dsh profile directly (requires pnpm on PATH):

npx @deepseek-ai/dsh plugin --profile web add github:creght-dev/skills

Pin a tag or commit with github:creght-dev/skills#v1.0.0. Remove it with ... plugin --profile web remove creght-skills, update with ... plugin --profile web update creght-skills.

Update

Update to the latest version with npx:

npx skills update creght

Or use bunx:

bunx skills update creght

Re-running the add command above also works — it is idempotent and pulls the latest.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:creght-dev/skills。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。