원클릭으로
원클릭으로
Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.
适配 NexusPHPWeb 类型站点的站点配置与 infoFinder 字段编写。需要检查 `assets/sites_manifest.json` 中站点 id 是否存在,缺失时先调用 Add Site 技能创建配置文件,然后依据 `docs/SITE_CONFIGURATION_GUIDE.md` 与 `assets/site_configs.json` 的 NexusPHPWeb 模板生成或更新 `infoFinder`,并用用户提供的 cookie 抓取静态页面信息时使用。
自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库。
自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库。
| 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.