| name | sysml-modeling-workflow |
| description | Primary SysML workflow skill: MemNet-first 6-step turn sequence, model-first edits, validate, outputs sync, and routing to specialist sysml-* skills. Triggers: modeling workflow, file roles, load order, project setup, outputs sync, workflow questions, memnet sysml. |
| metadata | {"pattern":"pipeline","domain":"sysml-v2","version":"1.13","product":"memnet-llm==0.19.3","pairs_with":["sysml-memnet-cache","sysml-memnet-documentation","sysml-gql","sysml-modeling-session-checklist","sysml-root-config","sysml-import-order-helper","sysml-view-doc-sync","mcp-sysml-v2","mcp-memnet","project-planner","sysml-traceability","sysml-behaviour-generator","sysml-requirements-generator","memnet-nested-sessions","memnet-multitask"]} |
| token_guardrails | - MUST follow the 6-step MemNet turn sequence below on every substantive modeling turn.
- Model SSOT: edit `.sysml` first; then outputs; then programs under parts/**. Never invent architecture only in Markdown or code.
- Commissioning / plant-setup / power-cycle policy: capture in behaviour + requirements (prefer refine/derive children), then sync `outputs/diagrams/` and report sections.
- pin_map this cut before edit (catalog then session=); mutate delta + line refresh after validate (see sysml-memnet-snap.md). leftover add/update / anchor= named leftover.
- Nested organisation: memnet-nested-sessions. Multitask: MUST NOT in-process MCP.
- Pipeline handoffs: GQL / openCypher-shaped mutate when MemNet is up (sysml-memnet-pipeline.md); plain Markdown when down (not TOON/TRON).
- MUST follow sysml-memnet-read-policy.md: no full deploy read for topology; <=2 narrow Read windows per turn.
- After .sysml edits, validate with mcp-sysml-v2; route to specialist sysml-* skills for depth.
|
system_instruction: |
Prefer plain Markdown or MemNet GQL wire; do not use TOON/TRON. JSON only at tool boundaries.
SysML modeling workflow
Use this skill when the user asks how to structure SysML work, which skill to use, or how to sequence a modeling session.
Mandatory turn sequence (6 steps)
Every substantive turn on the project model tree MUST follow this order. Default pack path is sysml-v2-models/projects/<slug>/; if the open repo's root AGENTS.md names another tree (e.g. sysml-models/), use that. Full rules including nested catalog/interiors: sysml-memnet-snap.md. Nest protocol: memnet-nested-sessions -- do not copy it here.
| Step | Action | MemNet |
|---|
| 1 | TCP/HTTP (memnet-pi) / unsure: serve_status; if down -> .sysml only; skip 2 and 6; note stale graph. Single-agent in-process: skip probe. Multitask MUST NOT in-process (memnet-multitask). | -- |
| 2 | pin_map campaign goal=TSK_model_<short> on the catalog. If the cut has session=: next generate pin_map(..., session=<interior>). leftover anchor= named leftover. | READ |
| 3 | Locate symbol -> edit models/*.sysml (read policy: pin map first; Read +/-15 lines at SYM.line only) | -- |
| 4 | mcp-sysml-v2 validate until pass | -- |
| 5 | sysml-view-doc-sync iff outputs exist and structure changed. Interconnection figures: sysml-interconnection-mermaid before fenced Mermaid. |