slicot-knowledge

Translate Fortran 77 SLICOT routines to Rust with LAPACK integration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jamestjsp/slicot-rs --skill slicot-knowledge
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: slicot-knowledge
Source: https://github.com/jamestjsp/slicot-rs/tree/main/.claude/skills/slicot-knowledge
Command: npx skills add https://github.com/jamestjsp/slicot-rs --skill slicot-knowledge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Translating complex Fortran 77 numerical libraries like SLICOT to Rust is challenging due to Fortran's unique conventions (column-major, 1-based indexing, specific data formats, HTML documentation parsing, LAPACK/BLAS integration). This skill provides the deep knowledge needed to overcome these hurdles, saving developers significant time and reducing errors.

Core Features & Use Cases

  • Fortran-to-Rust Translation: Guides on mapping Fortran types to Rust, handling 1-based vs. 0-based indexing, and managing column-major vs. row-major data.
  • SLICOT Documentation Parsing: Provides structured workflows for extracting critical information from SLICOT's HTML documentation for implementation and testing.
  • Test Data Extraction: Detailed instructions on interpreting Fortran READ statements to correctly parse example data and results for robust test case creation.
  • LAPACK/BLAS Integration: Emphasizes mandatory use of ndarray-linalg and FFI for optimized linear algebra, ensuring performance and numerical stability.
  • Use Case: A software engineer needs to translate a specific SLICOT routine, AB01MD, from Fortran 77 to Rust. This skill provides the exact steps to parse its HTML documentation, understand its Fortran READ statements for test data, and correctly integrate LAPACK calls for optimal performance.

Quick Start

I need to translate the SLICOT routine 'AB01MD' to Rust. Use the slicot-knowledge skill to guide me through the process, starting with parsing its HTML documentation for implementation details and test data.