bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
实现LumericalFDTD自动化仿真的skill
Translation pending
SkillsHTML · CSSGitHub @Lex669Self-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Installable projects can be verified without a deployment domain. Use GitHub sign-in for a personal repository, or the repository verification file above for an organization repository.
Ask about other verification options
Loading the full README. The saved excerpt is shown below.
Ansys Lumerical FDTD 仿真自动化 + 学术论文深度分析,Claude Code / Codex CLI 双生态插件。 🔬 FDTD 仿真(4 个分级 skills + 4 个 slash commands) 能力覆盖:衍射分析、超表面、波导、光栅、TGV 结构、场传播、参数扫描、逆设计优化。 Codex 端注册 skills/ 下的 5 个技能,用自然语言描述仿真/分析/论文总结任务即可自动调用;/fdtd-* 斜杠命令仅在 Claude Code 端可用。 首次使用时,插件会自动探测本机 Lumerical Python 解释器,无需手动配置。 分析脚本(*_analysis.py)修改后可反复执行,无需重跑仿真。 • Ansys Lumerical FDTD(2025 R2 或兼容版本) • Lumerical 内置 Python 解释器(自动探测,无需用户配置) • Python packages:numpy、matplotlib(Lumerical 解释器自带) 支持 PDF 路径、Arxiv URL、DOI。输出中文 8 章节结构化报告:基本信息、研究动机、方法、实验、图表详解、核心贡献、局限、总结。每个图表从类型、内容、关键观察、与论点关系、质量评价 5 个维度分析。Read the full README ↗
Ansys Lumerical FDTD 仿真自动化 + 学术论文深度分析,Claude Code / Codex CLI 双生态插件。
项目官网源码位于 docs/,本地预览与 GitHub Pages 部署方式见下方说明。
| Skill | Command | 用途 |
|---|---|---|
LumericalFDTD-modeling | /fdtd-model | 构建几何模型(结构、材料、光源、监视器) |
LumericalFDTD-simulation | /fdtd-simulate | 执行仿真 + 自动 debug(最多 5 次重试) |
LumericalFDTD-analysis | /fdtd-analyze | 分析 .npz 数据 + 生成发表级图表 |
LumericalFDTD | /fdtd-full | 端到端全流程:建模 → 仿真 → 分析 → 验收 |
能力覆盖:衍射分析、超表面、波导、光栅、TGV 结构、场传播、参数扫描、逆设计优化。
| Skill | 用途 |
|---|---|
paper-summarizer | 结构化中文论文总结,逐图逐表 5 维度分析 |
# Claude Code 插件市场安装
/plugin marketplace add Lex669/AutoSim
/plugin install LumericalFDTD@AutoSim
# 注册 AutoSim 插件市场
codex plugin marketplace add Lex669/AutoSim
# 安装插件(autosim 为清单注册名,可用 codex plugin marketplace list 查看)
codex plugin add LumericalFDTD@autosim
[!NOTE] Codex 端注册
skills/下的 5 个技能,用自然语言描述仿真/分析/论文总结任务即可自动调用;/fdtd-*斜杠命令仅在 Claude Code 端可用。
[!NOTE] 首次使用时,插件会自动探测本机 Lumerical Python 解释器,无需手动配置。
/fdtd-full
我要仿真一个 30μm 直径的圆孔在 50μm 厚 SiO2 衬底上的太赫兹衍射,
波长范围 80-120μm,PEC 衬底,观察远场 Airy 环。
/fdtd-model
构建一个脊形波导模型:Si 芯层 220nm,SiO2 包层,
波长 1550nm,TE 模式。
/fdtd-simulate
运行 myproject_sim.py,如果报错自动修复。
/fdtd-analyze
读取 data/results.npz,画透射谱和场分布图。
[!TIP] 分析脚本(
*_analysis.py)修改后可反复执行,无需重跑仿真。
每个仿真项目遵循固定目录结构:
MyProject/
├── fsp/ # .fsp 仿真项目文件 + 仿真日志
├── data/ # .npz 仿真结果数据
├── pic/ # 每次运行一个 <label>_run_<NN>/ 子目录 (.png)
├── *_sim.py # 仿真脚本
├── *_analysis.py # 分析脚本
└── REPORT.md # 仿真报告
numpy、matplotlib(Lumerical 解释器自带)支持 PDF 路径、Arxiv URL、DOI。输出中文 8 章节结构化报告:基本信息、研究动机、方法、实验、图表详解、核心贡献、局限、总结。每个图表从类型、内容、关键观察、与论点关系、质量评价 5 个维度分析。
pic/<label>_run_<NN>/ 子目录(label 按仿真内容分类,NN 自动递增),历史图表全部保留,便于跨版本对比。LumericalFDTD-analysis、LumericalFDTD 两个 skill,以及 /fdtd-analyze、/fdtd-full 命令与 CLAUDE.md 同步更新。.codex-plugin/plugin.json,插件同时支持 Claude Code 与 Codex CLI(v0.121+);Codex 端注册 skills/ 下的 5 个技能,README 补充 Codex 安装指引。LumericalFDTD-modeling(建模)、LumericalFDTD-simulation(仿真 + 自动 debug)、LumericalFDTD-analysis(数据分析与绘图)、LumericalFDTD(端到端全流程)。/fdtd-model、/fdtd-simulate、/fdtd-analyze、/fdtd-full。common-errors.md、building-blocks.md、diffraction.md、api-reference.md 大幅扩充。scripts/template.py 模板脚本)。git clone 手动安装迁移为 Claude Code 插件安装方式。paper-summarizer skill:结构化中文论文总结,逐图逐表 5 维度分析,配套 chart-analysis.md、output-template.md 参考文件。CLAUDE.md 项目说明,README 面向 GitHub 重写。SKILL.md 与 API_SUMMARY.md:Lumerical Python API 的建模、仿真与结果提取流程。references/ 目录:api-reference.md、building-blocks.md、common-errors.md、diffraction.md。官网地址:https://lex669.github.io/LumericalFDTD-skill/
网站为无第三方运行时依赖的静态页面,版本、安装命令和更新日志在构建时从插件清单与本 README 中读取。
本地预览需要 Node.js 22 或更新版本,在仓库根目录执行:
node docs/scripts/build.mjs
node docs/scripts/serve.mjs
打开 http://localhost:4173/LumericalFDTD-skill/ ,修改网站源码后重新构建并刷新页面。生成目录为 docs/dist/,发布时由工作流重新构建。
GitHub Pages 使用 部署工作流:在仓库 Settings → Pages → Source 选择 GitHub Actions,推送到 main 后自动构建并发布 docs/dist/,也可在 Actions 中手动运行。不要选择从分支的 /docs 发布,该方式会直接读取尚未替换占位符的 docs/index.html 模板。Pull request 仅构建验证,不发布。
MIT