From d03b4c3b6fb0692e19cde64ebdcc0725d57e0aa9 Mon Sep 17 00:00:00 2001
From: ZihanYAN
@@ -265,13 +265,13 @@ You can also save images as PNG if your device doesn't support visualization: gpumdkit.sh -plt thermo save ``` -Refer to our [documentation](https://zhyan0603.github.io/GPUMDkit/) for more detailed examples and command options. +Refer to our [documentation](https://gpumdkit.cn/) for more detailed examples and command options. #### Custom Commands `GPUMDkit` now supports custom commands via `~/.gpumdkit.in`. -You can add your own shortcuts (e.g., `gpumdkit.sh -yourcommand`) by defining functions in this file. This allows you to extend `GPUMDkit` with personal scripts. See [custom command documentation](https://zhyan0603.github.io/GPUMDkit/) for details. +You can add your own shortcuts (e.g., `gpumdkit.sh -yourcommand`) by defining functions in this file. This allows you to extend `GPUMDkit` with personal scripts. See [custom command documentation](https://gpumdkit.cn/) for details. #### Tab Completion Support diff --git a/Scripts/README.md b/Scripts/README.md index 51497ab..424a652 100644 --- a/Scripts/README.md +++ b/Scripts/README.md @@ -194,7 +194,7 @@ Check individual subdirectory READMEs for specific requirements. ## Support -- **Documentation**: [https://zhyan0603.github.io/GPUMDkit/home.html](https://zhyan0603.github.io/GPUMDkit/home.html) +- **Documentation**: [https://gpumdkit.cn/home.html](https://gpumdkit.cn/home.html) - **Issues**: [GitHub Issues](https://github.com/zhyan0603/GPUMDkit/issues) - **Contact**: Zihan YAN (yanzihan@westlake.edu.cn) diff --git a/Scripts/utils/completion.sh b/Scripts/utils/completion.sh index 63bf70d..5c06a6e 100644 --- a/Scripts/utils/completion.sh +++ b/Scripts/utils/completion.sh @@ -13,7 +13,7 @@ _gpumdkit_completions() { prev="${COMP_WORDS[COMP_CWORD-1]}" # Previous word # List of primary options (extracted from gpumdkit.sh) - local opts="-h -help -update -U -clean -time -plt -calc -cbc -range -out2xyz -out2exyz -cp2k2xyz -pos2exyz -cif2pos -cif2exyz -exyz2pos -xdat2exyz -pos2lmp -lmp2exyz -traj2exyz -dp2xyz -addgroup -addlabel -addweight -min_dist -min_dist_pbc -filter_dist -filter_dist_pbc -filter_box -filter_value -filter_range -get_frame -clean_xyz -analyze_comp -chem_species -replicate -pda -pynep -frame_range -nep_modifier" + local opts="-h -help -skill -update -U -clean -time -plt -calc -cbc -range -out2xyz -out2exyz -cp2k2xyz -pos2exyz -cif2pos -cif2exyz -exyz2pos -xdat2exyz -pos2lmp -lmp2exyz -traj2exyz -dp2xyz -addgroup -addlabel -addweight -min_dist -min_dist_pbc -filter_dist -filter_dist_pbc -filter_box -filter_value -filter_range -get_frame -clean_xyz -analyze_comp -chem_species -replicate -pda -pynep -frame_range -nep_modifier" # Calculator subcommands local calc_subcmds="ionic-cond nep des doas neb minimize msd nlist disp avg-struct oct-tilt pol-abo3" diff --git a/Scripts/utils/skill_info.sh b/Scripts/utils/skill_info.sh new file mode 100644 index 0000000..c6605b6 --- /dev/null +++ b/Scripts/utils/skill_info.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +# ============================================================ +# GPUMDkit agent skill information helper +# Repository: https://github.com/zhyan0603/GPUMDkit +# Author: Zihan YAN (yanzihan@westlake.edu.cn) +# ============================================================ + +function skill_info_table(){ + echo " +-------------------------------------------------------------------------------------------------------+" + echo " | GPUMDkit Agent Skills |" + echo " +-------------------------------------------------------------------------------------------------------+" + echo " Skill source path:" + echo " ${GPUMDkit_path}/skills" + echo "" + echo " Available skills:" + echo " gpumdkit-main General usage, navigation, and entry point" + echo " gpumdkit-format-conversion Structure file format conversion" + echo " gpumdkit-calculators Material property calculations" + echo " gpumdkit-analyzers Structure analysis and validation" + echo " gpumdkit-visualization Plotting and visualization" + echo " gpumdkit-workflows Batch processing and automation" + echo " gpumdkit-sampling Structure sampling and selection" + echo " gpumdkit-contributing Code conventions and adding new features" + echo "" + echo " Recommended agent behavior:" + echo " Ask the user whether to install skills globally or only for the current project." + echo " Global install is usually better when GPUMDkit is used across multiple projects." + echo " Project install is better when the user wants repository-local configuration." + echo "" + echo " Global install targets:" + echo " OpenCode: ~/.config/opencode/skills" + echo " Claude compat: ~/.claude/skills" + echo " Agents compat: ~/.agents/skills" + echo "" + echo " Project install targets:" + echo " OpenCode: .opencode/skills" + echo " Claude compat: .claude/skills" + echo " Agents compat: .agents/skills" + echo "" + echo " Example: install globally for OpenCode:" + echo " target_dir=\"\${HOME}/.config/opencode/skills\"" + echo " mkdir -p \"\${target_dir}\"" + echo " for skill_dir in \${GPUMDkit_path}/skills/gpumdkit-*; do" + echo " ln -s \"\${skill_dir}\" \"\${target_dir}/\$(basename \"\${skill_dir}\")\"" + echo " done" + echo "" + echo " Example: install for the current project only:" + echo " target_dir=\".opencode/skills\"" + echo " mkdir -p \"\${target_dir}\"" + echo " for skill_dir in \${GPUMDkit_path}/skills/gpumdkit-*; do" + echo " ln -s \"\${skill_dir}\" \"\${target_dir}/\$(basename \"\${skill_dir}\")\"" + echo " done" + echo "" + echo " Replace target_dir with another install target listed above if needed." + echo " Read ${GPUMDkit_path}/skills/README.md for details." + echo " +-------------------------------------------------------------------------------------------------------+" +} diff --git a/docs/README_zh-CN.md b/docs/README_zh-CN.md index 447d5fe..f8bf1bb 100644 --- a/docs/README_zh-CN.md +++ b/docs/README_zh-CN.md @@ -6,10 +6,10 @@ · 简体中文 · - Website · - Documentation + Website · + Documentation · - Gallery + Gallery
@@ -264,13 +264,13 @@ gpumdkit.sh -plt thermo
gpumdkit.sh -plt thermo save
```
-更多详细示例和命令选项请参考我们的[文档](https://zhyan0603.github.io/GPUMDkit/)。
+更多详细示例和命令选项请参考我们的[文档](https://gpumdkit.cn/)。
#### 自定义命令
`GPUMDkit` 支持通过 `~/.gpumdkit.in` 文件自定义命令。
-你可以在该文件中定义函数来添加自己的快捷命令(例如 `gpumdkit.sh -yourcommand`),从而扩展 `GPUMDkit` 的功能。详细用法请参见[自定义命令文档](https://zhyan0603.github.io/GPUMDkit/)。
+你可以在该文件中定义函数来添加自己的快捷命令(例如 `gpumdkit.sh -yourcommand`),从而扩展 `GPUMDkit` 的功能。详细用法请参见[自定义命令文档](https://gpumdkit.cn/)。
#### Tab 补全支持
diff --git a/docs/htmls/404.html b/docs/htmls/404.html
index f5696e3..8cb6289 100644
--- a/docs/htmls/404.html
+++ b/docs/htmls/404.html
@@ -18,7 +18,7 @@
-
+
@@ -27,10 +27,10 @@
-
+
-
+
@@ -114,7 +114,7 @@
-
+
@@ -148,7 +148,7 @@