Skip to content
Back to skills

Mvsep Api Contract

ASecurity

Check or change MVSEP endpoint integration, response parsing, transfer behavior, and English API documentation in this repository.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentrustgobashtestingapifrontendbackenddocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add AntheaLaffy/mvsep-rs --skill mvsep-api-contract --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mvsep Api Contract?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mvsep Api Contract
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anthealaffy-mvsep-api-contract/badge)](https://www.skillsdirectory.com/skills/anthealaffy-mvsep-api-contract)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mvsep-api-contract
description: Check or change MVSEP endpoint integration, response parsing, transfer behavior, and English API documentation in this repository.
---

# MVSEP API contracts

Use repository-root paths below. Read only the files relevant to the affected endpoint.

Reuse [find-docs](../find-docs/SKILL.md) for library API details and [testing](../testing/SKILL.md) for test design. This skill adds MVSEP contract and source locations.

## Find the contract

- `doc/mvsep_api_endpoints.md` is an English reference captured on 2026-06-27, not proof of current server behavior. When changing remote contracts, verify the relevant upstream documentation or a sanitized captured response. Preserve the capture date when translating documentation.
- `src-tauri/src/main.rs` contains Tauri commands, remote parsing, and task orchestration. Match its command arguments/events with `src/app/backend/gateway.ts`, `src/app/types.ts`, and the affected frontend service.
- `test-api/src/file_transfer.rs` implements streaming transfers, resume, cancellation, output naming, and structured errors. Read its signatures before copying README examples.
- `test-api/src/db/` contains separate algorithm, task, and user-configuration stores. Follow the affected repository methods and migrations rather than treating the stores as interchangeable.

Distinguish create responses (`data.hash`) from result responses (`data.files`). Check whether the actual payload uses `link` or `url` before changing download parsing. Retrieve algorithm IDs, parameter options, and defaults from the algorithms endpoint rather than inventing them.

## Verify the change

Use local fixtures for response parsing and a local HTTP server for transfer behavior where practical. A task creation call uploads user data and may spend credits; make such calls only within the user's authorized scope. Never put tokens or unredacted authenticated responses in committed fixtures or logs.

Choose checks appropriate to the change:

```bash
cargo test --manifest-path test-api/Cargo.toml
cargo test --manifest-path src-tauri/Cargo.toml
npm run build
```

For public Rust API documentation, run both:

```bash
cargo doc --manifest-path test-api/Cargo.toml --no-deps
cargo test --manifest-path test-api/Cargo.toml --doc
```

Keep public API prose and examples in English. Retain wire keys, status values, types, and required/optional distinctions. Examples labeled `json` must parse as JSON; use prose outside the block for annotations. State which checks ran and distinguish local contract verification from live API validation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…