소스 정보
- 저장소
- bdfinst/vsm-workshop
- 최근 소스 활동
- 2026년 2월 2일 17:25
- 감지된 SKILL.md 언어
- 영어
- 스타
- 19
- 포크
- 6
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/bdfinst/vsm-workshop --skill run-simulation명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | run-simulation |
| description | Create or run simulation features for analyzing work flow through value streams |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash |
Add a new simulation or what-if scenario feature.
/run-simulation <feature-name>
Create a feature file first using /new-feature that describes:
Feature: Work Flow Simulation
As a team analyzing their process
I want to simulate work flowing through our value stream
So that I can identify bottlenecks and queuing problems
Scenario: Run basic flow simulation
Given a value stream with 3 steps
And each step has capacity for 1 item at a time
When I add 5 work items to the queue
And run the simulation
Then I should see items move through each step
And completed items should appear at the end
Scenario: Identify bottleneck through simulation
Given a value stream where step 2 takes twice as long as others
When I run the simulation with 10 work items
Then step 2 should show the largest queue buildup
And it should be highlighted as a bottleneck
Scenario: Adjust batch size and see impact
Given a value stream with batch size of 5 at deployment
When I change batch size to 1
And run the simulation comparison
Then I should see reduced lead time in the smaller batch scenario
Simulations follow this pattern:
src/utils/simulation/{feature}.jssrc/components/simulation/{Feature}Config.jsxsrc/components/simulation/{Feature}Viz.jsxsrc/components/simulation/{Feature}Results.jsx// src/utils/simulation/{feature}.js
/**
* Initialize simulation state
* @param {Object} vsm - Value stream map
* @param {Object} config - Simulation configuration
* @returns {Object} Initial simulation state
*/
export function initializeSimulation(vsm, config) {
return {
currentTick: 0,
workItems: Array.from({ length: config.workItemCount }, (_, i) => ({
id: `item-${i}`,
currentStep: null,
stepProgress: 0,
history: []
})),
stepStates: new Map(vsm.steps.map(step => [
step.id,
{ queue: [], processing: null, completed: 0 }
])),
metrics: {
throughput: 0,
avgCycleTime: 0,
maxQueueSize: 0
}
};
}
/**
* Simulate one tick of the system
* Pure function: returns new state without mutation
* {} - Current simulation state
* {} - Value stream map
* {} New simulation state
*/
() {
newState = {
...state,
: state. + ,
: [...state.],
: (state.)
};
( step vsm.) {
}
newState. = (newState);
newState;
}
() {
state = (vsm, config);
history = [state];
( i = ; i < config.; i++) {
state = (state, vsm);
history.(state);
}
{
: state,
history,
: (history, vsm)
};
}
// src/components/simulation/{Feature}Viz.jsx
import { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
function {Feature}Viz({ simulationHistory, speed }) {
const [currentFrame, setCurrentFrame] = useState(0);
useEffect(() => {
if (currentFrame >= simulationHistory.length - 1) return;
const timer = setTimeout(() => {
setCurrentFrame(f => f + 1);
}, 1000 / speed);
return () => clearTimeout(timer);
}, [currentFrame, simulationHistory.length, speed]);
const state = simulationHistory[currentFrame];
return (
<div data-testid="simulation-viz">
<div className="simulation-controls">
<span>Tick: {state.currentTick}</span>
<button onClick={() => setCurrentFrame(0)}>Reset</>
{/* Render work items at their current positions */}
);
}
{}. = {
: ..,
: .
};
{}. = {
:
};
{};