用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill hydrodynamic-pipeline-checkpoint-1-mesh-quality命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
正在显示 SKILL.md
基于 SOC 职业分类
| name | hydrodynamic-pipeline-checkpoint-1-mesh-quality |
| description | Sub-skill of hydrodynamic-pipeline: Checkpoint 1: Mesh Quality (+2). |
| version | 1.0.1 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
def validate_panel_mesh(gdf_path, min_panels=200, max_aspect=3.0):
"""Validate panel mesh before diffraction analysis."""
checks = {"passed": True, "issues": []}
# Parse GDF and count panels
# Check aspect ratios, normal directions, waterline closure
# (implementation depends on mesh format)
return checks
def validate_diffraction_results(results):
"""Validate diffraction results before passing to OrcaFlex."""
checks = {"passed": True, "issues": []}
# RAO sanity checks
heave_rao_at_long_period = results["raos"]["Heave"]["amplitude"][-1]
if abs(heave_rao_at_long_period - 1.0) > 0.1:
checks["issues"].append(
f"Heave RAO at long period = {heave_rao_at_long_period:.3f} "
"(expected ~1.0 — vessel should follow wave at low frequency)"
)
# Added mass should be positive on diagonal
# Damping should be positive (energy dissipation)
# Roll/pitch RAO should have clear resonance peak
# Check for numerical issues
for dof, data in results["raos"].items():
if any(a > 100 for a in data["amplitude"]):
checks["issues"].append(f"{dof} RAO has spikes > 100 — likely resonance without damping")
checks["passed"] = False
return checks
def validate_orcaflex_moored_results(sim_path):
"""Validate final OrcaFlex simulation results."""
import OrcFxAPI
model = OrcFxAPI.Model()
model.LoadSimulation(sim_path)
checks = {"passed": True, "issues": []}
# Check vessel offset
vessel = model['FPSO']
max_surge = max(abs(vessel.TimeHistory('X', OrcFxAPI.oeEndA)))
if max_surge > 50:
checks["issues"].append(f"Max surge = {max_surge:.1f}m — check mooring stiffness")
# Check mooring tensions
for obj in model.objects:
if obj.typeName == 'Line' and 'Mooring' in obj.name:
max_tension = max(obj.TimeHistory('Effective tension', OrcFxAPI.oeEndA))
min_tension = min(obj.TimeHistory('Effective tension', OrcFxAPI.oeEndB))
if min_tension < 0:
checks["issues"].append(f"{obj.name}: negative tension (compression) — line may be slack")
checks["passed"] = False
return checks