一键导入
transfer-from-static
Create a new website by transferring from a static website
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new website by transferring from a static website
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new website
Improve the website
Push changes to the GitHub repository
Create a new website by transferring from a static website
| name | transfer-from-static |
| description | Create a new website by transferring from a static website |
| argument-hint | [path-to-static-website] |
The current repository is a collection repository for websites. Each website is stored as a submodule in the repository, and the submodule repositories are all hosted on GitHub as private repositories.
I now want to add a new website. This website should reference the site located at <path-to-static-website> to ensure consistency in appearance and functionality. At the same time, it should be based on basesite and retain the interfaces from basesite.
In simple terms, the task is to transform a purely front-end website into a front-end and back-end website based on basesite. Note that all user operations leading to state changes should be immediately synchronized with the back-end state in real time.
The steps you may need to take are as follows:
basesite (excluding Git-related files), rename the copy, initialize it as a repository, and publish it using gh (assuming gh is already logged in) (you should publish to the same organization as other websites). Then, add the repository as a submodule.basesite, implement the target website so that it looks and functions the same as the original. Retain the framework, language, and interfaces of basesite. The final result should match the target website.gh.Start the task.