sysml-modeling
Systems Modeling Language (SysML) for systems engineering and complex system design
What this skill does
# SysML Modeling Skill
## When to Use This Skill
Use this skill when:
- **Sysml Modeling tasks** - Working on systems modeling language (sysml) for systems engineering and complex system design
- **Planning or design** - Need guidance on Sysml Modeling approaches
- **Best practices** - Want to follow established patterns and standards
## Overview
Systems Modeling Language (SysML) for Model-Based Systems Engineering (MBSE) and complex system design.
## MANDATORY: Documentation-First Approach
Before creating SysML models:
1. **Invoke `docs-management` skill** for systems engineering patterns
2. **Verify SysML 2.0 syntax** via MCP servers
3. **Base all guidance on OMG SysML specification**
## SysML vs UML
| Aspect | UML | SysML |
|--------|-----|-------|
| Focus | Software systems | Systems of all types |
| Requirements | Not included | First-class diagrams |
| Structure | Classes, Components | Blocks, Parts |
| Parametrics | Not included | Constraint blocks |
| Allocation | Not included | Allocation relationships |
| Domain | Software engineering | Systems engineering |
## SysML Diagram Types
### Behavior Diagrams
| Diagram | Purpose | From UML |
|---------|---------|----------|
| Activity | Flow of actions and data | Extended |
| Sequence | Object interactions over time | Same |
| State Machine | Lifecycle behavior | Same |
| Use Case | System-actor interactions | Same |
### Structure Diagrams
| Diagram | Purpose | SysML Specific |
|---------|---------|----------------|
| Block Definition (BDD) | System structure hierarchy | Yes |
| Internal Block (IBD) | Internal component connections | Yes |
| Package | Model organization | Extended |
### Requirements Diagrams
| Diagram | Purpose | SysML Specific |
|---------|---------|----------------|
| Requirements | Requirements and relationships | Yes |
| Parametric | Constraint equations | Yes |
## Requirements Diagram
### PlantUML Syntax
```plantuml
@startuml
skinparam rectangle {
BackgroundColor<<requirement>> LightBlue
BackgroundColor<<testCase>> LightGreen
}
rectangle "<<requirement>>\nREQ-001: System Performance" as REQ001 {
id = "REQ-001"
text = "System shall process 1000 requests/second"
risk = "High"
verifyMethod = "Test"
}
rectangle "<<requirement>>\nREQ-002: Response Time" as REQ002 {
id = "REQ-002"
text = "System shall respond within 100ms (p95)"
risk = "Medium"
verifyMethod = "Test"
}
rectangle "<<requirement>>\nREQ-003: Availability" as REQ003 {
id = "REQ-003"
text = "System shall achieve 99.9% uptime"
risk = "High"
verifyMethod = "Analysis"
}
rectangle "<<testCase>>\nTC-001: Load Test" as TC001 {
id = "TC-001"
verifies = "REQ-001, REQ-002"
}
REQ001 <-- REQ002 : <<deriveReqt>>
REQ001 <-- REQ003 : <<deriveReqt>>
REQ002 <.. TC001 : <<verify>>
REQ001 <.. TC001 : <<verify>>
@enduml
```
### Requirements Relationships
```text
<<deriveReqt>> Derived requirement (child from parent)
<<refine>> Element refines requirement
<<satisfy>> Design element satisfies requirement
<<verify>> Test case verifies requirement
<<trace>> General traceability
<<copy>> Requirement copied (reuse)
<<containment>> Nested requirement
```
## Block Definition Diagram (BDD)
### PlantUML Syntax
```plantuml
@startuml
skinparam class {
BackgroundColor<<block>> LightYellow
BackgroundColor<<valueType>> LightGreen
}
class "<<block>>\nVehicleSystem" as Vehicle {
values
--
+ maxSpeed: Speed
+ weight: Mass
+ range: Distance
operations
--
+ start()
+ stop()
+ accelerate(targetSpeed: Speed)
}
class "<<block>>\nPowertrainSubsystem" as Powertrain {
values
--
+ power: Power
+ efficiency: Real
parts
--
+ engine: Engine[1]
+ transmission: Transmission[1]
}
class "<<block>>\nEngine" as Engine {
values
--
+ displacement: Volume
+ cylinders: Integer
+ fuelType: FuelType
operations
--
+ ignite()
+ shutoff()
}
class "<<block>>\nTransmission" as Transmission {
values
--
+ gearRatios: Real[6]
+ currentGear: Integer
operations
--
+ shiftUp()
+ shiftDown()
}
class "<<block>>\nChassisSubsystem" as Chassis {
parts
--
+ wheels: Wheel[4]
+ suspension: Suspension[4]
+ brakes: BrakeSystem[1]
}
class "<<valueType>>\nSpeed" as Speed {
unit = km/h
}
class "<<valueType>>\nMass" as Mass {
unit = kg
}
class "<<enumeration>>\nFuelType" as FuelType {
Gasoline
Diesel
Electric
Hybrid
}
Vehicle *-- Powertrain : <<block>>
Vehicle *-- Chassis : <<block>>
Powertrain *-- Engine
Powertrain *-- Transmission
Engine --> FuelType
@enduml
```
### Block Stereotypes
```text
<<block>> System element (hardware, software, human)
<<constraintBlock>> Parametric constraint
<<valueType>> Type with unit
<<flowPort>> Flow of matter/energy/data
<<proxy>> Proxy for external element
<<full>> Full internal access
```
## Internal Block Diagram (IBD)
### PlantUML Syntax
```plantuml
@startuml
skinparam component {
BackgroundColor<<part>> LightYellow
}
package "VehicleSystem [IBD]" {
component "powertrain : PowertrainSubsystem" as powertrain <<part>> {
portin "fuelIn" as p_fuel
portout "torqueOut" as p_torque
portout "heatOut" as p_heat
}
component "chassis : ChassisSubsystem" as chassis <<part>> {
portin "torqueIn" as c_torque
portout "motionOut" as c_motion
}
component "cooling : CoolingSubsystem" as cooling <<part>> {
portin "heatIn" as cool_heat
portout "coolantOut" as cool_out
}
component "fuelSystem : FuelSubsystem" as fuel <<part>> {
portout "fuelOut" as f_out
}
' Connections (item flows)
f_out --> p_fuel : <<itemFlow>>\nfuel: Fuel
p_torque --> c_torque : <<itemFlow>>\ntorque: Torque
p_heat --> cool_heat : <<itemFlow>>\nheat: ThermalEnergy
}
@enduml
```
## Parametric Diagram
### Constraint Blocks
```plantuml
@startuml
skinparam class {
BackgroundColor<<constraintBlock>> LightCoral
}
class "<<constraintBlock>>\nNewtonSecondLaw" as Newton {
constraints
--
{ F = m * a }
parameters
--
F: Force
m: Mass
a: Acceleration
}
class "<<constraintBlock>>\nKineticEnergy" as KE {
constraints
--
{ E = 0.5 * m * v^2 }
parameters
--
E: Energy
m: Mass
v: Velocity
}
class "<<constraintBlock>>\nRangeEquation" as Range {
constraints
--
{ R = (fuelCapacity * efficiency) / consumption }
parameters
--
R: Distance
fuelCapacity: Volume
efficiency: Real
consumption: VolumePerDistance
}
@enduml
```
### Parametric Usage
```plantuml
@startuml
package "VehiclePerformance [Parametric]" {
object "newton : NewtonSecondLaw" as n {
F = thrustForce
m = vehicleMass
a = acceleration
}
object "energy : KineticEnergy" as e {
E = kineticEnergy
m = vehicleMass
v = velocity
}
object "vehicle : Vehicle" as v {
mass = 1500 kg
thrust = 5000 N
}
n::m --> v::mass
n::F --> v::thrust
e::m --> v::mass
}
@enduml
```
## Activity Diagram (Enhanced)
### SysML Extensions
```plantuml
@startuml
title Vehicle Start Sequence [Activity]
start
:Receive Start Command;
note right: <<objectFlow>>\nStartRequest
fork
:Validate Key Fob;
fork again
:Check Safety Interlocks;
end fork
if (Valid?) then (yes)
:Power On ECU;
fork
:Initialize Engine;
:<<allocate>>\nEngine ECU;
fork again
:Initialize Transmission;
:<<allocate>>\nTransmission ECU;
fork again
:Initialize Dashboard;
:<<allocate>>\nBody Control Module;
end fork
:Start Engine;
:<<objectFlow>>\nEngineStatus = Running;
:Report Ready;
else (no)
:Report Error;
:<<objectFlow>>\nErrorCode;
endif
stop
@enduml
```
### Object Flow and Control Flow
```text
Control Flow: Sequence of actions (solid arrow)
Object Flow: Data/material flow (dashed arrow with <<objectFlow>>)
Rate: Flow rate specification { rate = 100/sec }
Probability: Branch probability { probability = 0.8 }
Streaming: Continuous flow { streaming }
```
## AllocatRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.