Skip to content
Back to skills

Rust Hexarc Organizer

ASecurity

Place OpenFlow changes in the correct crate and layer. Use when unsure which crate owns a change, whether a port is needed, or how to avoid layer violations across engine, providers, orchestration, desktop, and ui.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsrustapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add philbotar/OpenFlow --skill rust-hexarc-organizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rust Hexarc Organizer?

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

Security grade badge for Rust Hexarc Organizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/philbotar-rust-hexarc-organizer/badge)](https://www.skillsdirectory.com/skills/philbotar-rust-hexarc-organizer)

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: rust-hexarc-organizer
description: >-
  Place OpenFlow changes in the correct crate and layer. Use when unsure which
  crate owns a change, whether a port is needed, or how to avoid layer
  violations across engine, providers, orchestration, desktop, and ui.
---

# rust-hexarc-organizer

Procedural placement guide. Authoritative rules: `docs/architecture/contract.md`.

## Decide the owner

| If the change is about… | Own it in |
| --- | --- |
| Valid workflow / how a run behaves | `crates/engine` |
| LLM wire format, auth, streaming | `crates/providers` |
| Store, load, wire, host runs, tools I/O | `crates/orchestration` |
| Tauri commands / events | `crates/desktop` |
| Presentation / DTOs / invoke wrappers | `crates/ui` |

## Seams (add a trait only when a consumer is typed on it)

| Seam | Defined in | Implemented in |
| --- | --- | --- |
| `AiPort` | `engine/ports/outbound.rs` | `providers` (`create_provider`) |
| `ToolPort` | `engine/ports/outbound.rs` | `orchestration/run/execution/tool_port.rs` |
| UI → desktop IPC | `ui/src/api.ts` (typed invoke/event wrappers; sole Tauri import site) | same file |

Otherwise call the concrete type.

## Hard bans

- Engine → no orchestration/providers/desktop/ui, no HTTP/fs
- Providers → no orchestration/desktop/ui
- Orchestration → no desktop/ui; no `providers::AiClient`
- UI → no Rust crate imports; Tauri only via `api.ts`
- `InteractiveEngine` constructed only under `orchestration/src/run/execution/`

## After placing

1. Read that crate’s `AGENTS.md`.
2. Load the matching lane skill (`openflow-*-change`).
3. Run `./scripts/check-architecture.sh` if boundaries moved.
4. Finish with `openflow-finish-change`.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.