Preface¶
When modifying Creght sites using Codex or an agent within DeepSeek Harness (DSH), a common issue is that the agent is unaware of the platform conventions: pages should reside in /pages, components in /components, data fetched via getServerSideProps, and the CLI workflow for pulling workspaces, pushing frontend and Func backend changes, previewing, and publishing. Often, this requires repeatedly consulting documentation. creght-dev/skills packages this knowledge into installable skills, enabling the agent to directly follow Creght’s workflows and development standards during conversations.
What This Is¶
creght-dev/skills, maintained by creght-dev and categorized as workflow, provides Codex/agent skills tailored for Creght. These skills help the agent understand project structure, CLI processes, page development conventions, and platform capabilities such as CMS, forms, authentication, Func backend, SEO, and more. The repository also serves as a DSH bundle, installable into a profile via DSH plugin commands.
The repository contains two skills:
creght: A foundational platform skill covering CLI workflows, page and component conventions, CMS, forms, authentication, Func backend, SEO, and publishing.site-replica: Built atopcreght, this skill replicates existing websites to Creght. It detects animations and interactions from the source site, rebuilds them using React/Tailwind, and verifies the replica against the source on both desktop and mobile.
Core Capabilities¶
Below are the main capabilities listed in the skill package’s README.
CLI and Publishing Workflow¶
Guides the agent through the Creght CLI workflow: creating projects, pulling workspace files, pushing frontend and Func backend changes, resolving merge conflicts, previewing, and publishing sites.
Project Identification and Page Conventions¶
Discovers project and site IDs from a rendered Creght page URL via /.well-known/creght.json. Enforces page development conventions: /pages routes, /components directory, native <a> navigation, and getServerSideProps for data loading.
Frontend and Platform Capabilities¶
Assists in writing React + Tailwind v4 pages and components that comply with platform requirements. Provides implementation references for common capabilities such as CMS, form submissions, authentication, file-based Func backend in backend/func, SEO metadata, sitemaps, carousel components, and more.
Debugging and Site Replication¶
Helps troubleshoot issues related to local-to-platform syncing, previewing, and publishing. The site-replica skill supports replicating external websites to Creght, preserving layouts and animations.
Installation and Activation¶
Before installation, ensure Node.js is installed locally, and pnpm is available in the PATH at the DSH installation location.
Via skills CLI (Codex / agent environment)¶
Install globally using npx:
npx skills add creght-dev/skills -g -y
Or using bunx:
bunx skills add creght-dev/skills -g -y
After installation, supported Codex/agent environments will automatically load the corresponding skill guidelines when handling Creght projects.
Via DeepSeek Harness¶
This repository also functions as a DSH bundle and can be directly added to a DSH profile:
npx @deepseek-ai/dsh plugin --profile web add github:creght-dev/skills
You can pin versions by tag or commit, e.g., github:creght-dev/skills#v1.0.0. Removal and updates:
npx @deepseek-ai/dsh plugin --profile web remove creght-skills
npx @deepseek-ai/dsh plugin --profile web update creght-skills
Updating¶
Update to the latest version using npx:
npx skills update creght
Or using bunx:
bunx skills update creght
Re-executing the add command above also fetches the latest version; this operation is idempotent.
Typical Usage¶
The following examples are taken from the repository’s README and can be reused directly in agent conversations. Replace {YOUR_CREGHT_PROJECT_EDIT_URL} with the actual edit page URL (e.g., https://creght.cn/editor/project/pveao61akhoy/site/pveao646es1u).
Add an About page, following the existing pages and components structure:
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 existing CMS schema and types:
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 SEO configuration (title, description, keywords, Open Graph, etc.):
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}
Add new article content based on documentation:
https://www.creght.cn/docs/ai/ai-edit-content-guide 新增一个文章,内容是关于 ai 积分的价格
Replicate an external site to Creght:
Replicate https://example-portfolio.framer.website/ to Creght, preserving the layout and all animations, and run independently until completion
Use Cases and Considerations¶
Suitable for developing and maintaining Creght sites in DSH, Codex, or other agent environments that support skills, especially scenarios requiring repeated CLI synchronization, writing React/Tailwind pages according to platform conventions, or replicating external websites to Creght.
Plugins run with the current DSH process permissions. Before installation, read the repository source code to confirm whether the MIT license meets your usage requirements. The DSH ecosystem embraces “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek or幻方.
Summary¶
creght-dev/skills organizes Creght’s CLI workflows, page conventions, and platform capabilities (CMS, authentication, SEO, etc.) into two skills: creght and site-replica. They can be installed via the skills CLI or DSH plugin commands. Directory page: https://www.skillhub.cn/plugins/creght-dev/skills; source code and documentation: https://github.com/creght-dev/skills.