用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/JustLookAtNow/pt_mate --skill add-site命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.
自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库。
将 server 后端新版本构建并部署到服务器;当用户要求更新测试环境或正式环境时使用。测试环境部署到 golakers:~/ptmate-beta 并直接运行;正式环境先停止 ptmate 服务,部署到 golakers:~/ptmate 后再启动 ptmate 服务。
基于 SOC 职业分类
正在显示 SKILL.md
| name | Add Site |
| description | Create a new site configuration, update the manifest, and fetch icons. |
This skill automates the process of adding a new site to the application. It generates a configuration file based on a template, updates the sites manifest, and fetches the site icon.
The skill requires the following inputs from the user (you should ask for these if not provided):
NexusPHP, M-Team, NexusPHPWeb).example_site).https://example.com/).site_id will be used.Run the python script to generate the JSON configuration file.
python3 .agent/skills/add_site/scripts/generate_site_config.py \
"{site_id}" \
"{site_url}" \
"{site_type}" \
--name "{site_name}" \
--template_file "assets/site_configs.json" \
--output_dir "assets/sites"
Note: If
site_nameis not provided, omit the--nameargument.
Run the existing shell script to update the assets/sites_manifest.json file.
bash generate_sites_manifest.sh
Run the Dart script to fetch and update the site icon.
dart run tool/fetch_site_icons.dart
After running the steps, verifying the following:
assets/sites/{site_id}.json exists and contains correct information.assets/sites_manifest.json includes the new json file.