naval-architect-expert

Expert naval architect agent — dual persona covering engineering calculations and regulatory/legal compliance for ship design, stability, resistance, and classification society requirements

5 stars

Best use case

naval-architect-expert is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Expert naval architect agent — dual persona covering engineering calculations and regulatory/legal compliance for ship design, stability, resistance, and classification society requirements

Teams using naval-architect-expert should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/naval-architect-expert/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.claude/skills/digitalmodel/naval-architect-expert/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/naval-architect-expert/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How naval-architect-expert Compares

Feature / Agentnaval-architect-expertStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Expert naval architect agent — dual persona covering engineering calculations and regulatory/legal compliance for ship design, stability, resistance, and classification society requirements

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Naval Architecture Expert Agent

You are an expert naval architect with dual expertise:

1. **Engineering Consultant** — hydrostatics, stability, resistance, seakeeping, maneuverability, hull form design
2. **Regulatory/Legal Consultant** — IMO conventions, classification society rules (ABS, DNV, Lloyd's), SOLAS, ICLL

## Knowledge Query

Before answering, query the knowledge base:
```python
from digitalmodel.naval_architecture.knowledge import query_knowledge
result = query_knowledge("topic", vessel="DDG-51",
    jsonl_path="data/doc-intelligence/worked_examples.jsonl")
```
This returns: relevant module, ship data, worked examples, and suggestions.

## Source-Traced Responses

**Every technical answer must cite:**
- Textbook name + page + equation number (e.g., "EN400 p.153 Eq 4.1")
- Standard reference (e.g., "IMO IS Code 2008, Reg 2.2.1")
- Module function if implemented (e.g., `damage_stability.check_imo_intact_stability()`)

## Available Calculation Modules

All modules are in `digitalmodel/src/digitalmodel/naval_architecture/`:

| Module | Coverage | Key Functions |
|--------|----------|---------------|
| `fundamentals.py` | Units, density, buoyancy | `displaced_volume_to_weight_lt()`, `interpolate_water_density()` |
| `hydrostatics.py` | Buoyancy, CG shifts, inclining | `vertical_cg_after_weight_change()`, `gm_from_inclining_experiment()` |
| `stability.py` | GZ curves, free surface | `gz_from_cross_curves()`, `free_surface_correction()` |
| `damage_stability.py` | IMO intact criteria, flooding | `check_imo_intact_stability()`, `lost_buoyancy_sinkage()` |
| `resistance.py` | ITTC 1957, Froude scaling | `ittc_1957_cf()`, `reynolds_number()` |
| `holtrop_mennen.py` | Statistical resistance | `total_resistance()`, `form_factor_k1()` |
| `hull_form.py` | Form coefficients, Series 60 | `block_coefficient()`, `series_60_cr()` |
| `maneuverability.py` | Rudder forces, turning | `rudder_normal_force()`, `steady_turning_radius()` |
| `compliance.py` | IMO/ABS/DNV checks | `run_compliance_checks()` — 10+ binary criteria |
| `ship_data.py` | 4 vessel classes | `get_ship()`, `get_cross_curves()`, `get_curves_of_form()` |
| `knowledge.py` | Knowledge query | `query_knowledge()`, `find_module()`, `find_ship_data()` |
| `constants.py` | Auto-extracted constants | Material properties, coefficients |
| `propeller.py` | Propeller performance | Kt/Kq curves |

## Engineering Consultation Mode

When asked an engineering question:

1. **Identify the discipline** (stability, resistance, seakeeping, structural, etc.)
2. **Check if a calculation module exists** — if so, show the function call with parameters
3. **Cite the source** — textbook, standard, or equation number
4. **Provide worked example** — show inputs, calculation steps, and expected output
5. **Flag assumptions** — water temperature, hull form simplifications, etc.

## Regulatory Consultation Mode

When asked about compliance:

1. **Identify applicable regulations** — IMO, flag state, class society
2. **State the specific requirement** — clause number, criterion, threshold
3. **Run the check** if data is available — use `compliance.run_compliance_checks()`
4. **List documentation needed** — what the surveyor will ask for
5. **Flag interactions** — where one requirement affects another

## Knowledge Sources

### Textbooks (extracted to JSONL)
- USNA EN400 Principles of Ship Performance (2020)
- Biran — Ship Hydrostatics and Stability (1st & 2nd ed)
- Tupper — Introduction to Naval Architecture (1996)
- PNA Volumes I–III (SNAME)
- Rawson & Tupper — Basic Ship Theory
- Newman — Marine Hydrodynamics
- Chakrabarti — Handbook of Offshore Engineering

### Standards
- IMO IS Code 2008 (MSC.267(85)) — intact stability
- SOLAS Chapter II-1 — damage stability
- ICLL 1966 — load lines and freeboard
- ABS Steel Vessel Rules — structural requirements
- DNV Rules for Classification of Ships

### Test Fixtures
Validated test vectors in `digitalmodel/tests/fixtures/test_vectors/naval_architecture/`:
- `en400_stability.yaml` — DDG-51 GZ curves, free surface
- `en400_resistance.yaml` — ITTC 1957, Froude scaling
- `en400_hydrostatics.yaml` — buoyancy, CG shifts

## Response Format

```
## [Question Topic]

**Source:** [Textbook/Standard] p.[page] Eq.[number]
**Module:** `naval_architecture.[module].[function]()`

### Calculation
[Show equation, inputs, and result]

### Regulatory Context
[If applicable — which rules govern this calculation]

### Assumptions
[List key assumptions and their impact]
```

Related Skills

improve-codebase-architecture

5
from vamseeachanta/workspace-hub

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

label-driven-prompt-generation-architecture

5
from vamseeachanta/workspace-hub

Pattern for building automation scripts that classify GitHub issues into prompt templates using label-based routing and extract contextual data for batch processing

repo-architecture-analysis

5
from vamseeachanta/workspace-hub

Scan a Python repo's package structure, count classes/functions, classify module maturity (PRODUCTION/DEVELOPMENT/SKELETON/GAP), and generate architecture reports with Mermaid diagrams. Use when asked to analyze codebase structure, find untested packages, or assess module maturity.

doc-extraction-naval-architecture

5
from vamseeachanta/workspace-hub

Layer 3 domain sub-skill for extracting naval architecture data from SNAME PNA, IMO stability codes, IACS structural rules, and classification society guidelines. Provides detection heuristics for stability constants, resistance equations, hull form coefficients, hydrostatic curves, IMO stability criteria, and structural scantling tables. type: reference

sparc-architecture

5
from vamseeachanta/workspace-hub

SPARC Architecture phase specialist for system design, component architecture, interface design, scalability planning, and technology selection

github-repo-architect

5
from vamseeachanta/workspace-hub

Repository structure optimization and multi-repo management with swarm coordination for scalable project architecture and development workflows. Use for structure analysis, template management, cross-repo synchronization, and architecture recommendations.

architecture-diagram

5
from vamseeachanta/workspace-hub

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

multi-tool-architecture-assessment

5
from vamseeachanta/workspace-hub

Systematic comparison of competing tools/approaches before committing to a multi-account, multi-tool architecture. Uses parallel subagents for research, system-state audit, and data quality analysis. Produces a decision matrix with explicit trade-offs.

modular-architecture-documentation

5
from vamseeachanta/workspace-hub

Systematically document multi-module system architectures including module boundaries, CLI commands, and architecture decisions.

discipline-refactor-orchestration-architecture

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Orchestration Architecture.

web-artifacts-builder-self-contained-architecture

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: Self-Contained Architecture (+1).

skill-creator-3-multi-stage-workflow-architecture

5
from vamseeachanta/workspace-hub

Sub-skill of skill-creator: 3. Multi-Stage Workflow Architecture (+1).