agentleFS
psu-efdpsu-efd/pyHMT2D/.cursor/rules/project-overview.mdc

pyHMT2D / rules

Cursor rule132 starsChanged 8 months agoMITView on GitHub

pyHMT2D is a Python package for controlling and automating 2D hydraulic modeling, with support for pre- and post-processing simulation results. The package currently supports: The main package structure is organized as follows:

  • Installs packages

The file

We split this project-overview.mdc into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check examples/ for usage examples

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
project-overview.mdc
---
description: 
globs: 
alwaysApply: false
---
# pyHMT2D Project Overview

pyHMT2D is a Python package for controlling and automating 2D hydraulic modeling, with support for pre- and post-processing simulation results. The package currently supports:

- SRH-2D (USBR)
- HEC-RAS (USACE)
- Backwater-1D (demonstration model)

## Key Components

The main package structure is organized as follows:

- [pyHMT2D/](mdc:pyHMT2D) - Core package directory
  - [__init__.py](mdc:pyHMT2D/__init__.py) - Package initialization
  - [__about__.py](mdc:pyHMT2D/__about__.py) - Package metadata
  - [__common__.py](mdc:pyHMT2D/__common__.py) - Common utilities
  - [Calibration/](mdc:pyHMT2D/Calibration) - Model calibration tools
  - [Parametric_Study/](mdc:pyHMT2D/Parametric_Study) - Parametric study tools
  - [cli/](mdc:pyHMT2D/cli) - Command-line interface
  - [Hydraulic_Models_Data/](mdc:pyHMT2D/Hydraulic_Models_Data) - Model data handling
  - [Misc/](mdc:pyHMT2D/Misc) - Miscellaneous utilities

## Key Features

1. Model Control and Automation
   - Batch simulations
   - Model calibration
   - Monte-Carlo simulations

2. Data Processing
   - Reading model results into NumPy arrays
   - Converting results to VTK format
   - Sampling and probing simulation results

3. Model Interoperability
   - Converting between SRH-2D and HEC-RAS formats
   - Mesh and boundary condition conversion
   - Result comparison tools

4. Visualization and Analysis
   - VTK-based visualization
   - Result analysis tools
   - Terrain data manipulation

## Getting Started

1. Installation:
   ```bash
   pip install pyHMT2D
   ```

2. Basic Usage:
   ```python
   import pyHMT2D
   ```

3. Documentation:
   - See [docs/](mdc:docs) for detailed documentation
   - Check [examples/](mdc:examples) for usage examples

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.