소스 정보
- 저장소
- 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 add-metric명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | add-metric |
| description | Add a new calculated metric to the VSM dashboard with test-first development |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash |
Add a new calculated metric to the VSM dashboard.
/add-metric <MetricName>
Create a feature file first using /new-feature that describes:
Feature: Flow Efficiency Metric
As a team lead
I want to see flow efficiency percentage
So that I understand how much time is spent on actual work vs waiting
Scenario: Display flow efficiency for a value stream
Given a value stream with the following steps:
| name | processTime | leadTime |
| Development | 60 | 240 |
| Testing | 30 | 120 |
| Deployment | 10 | 40 |
When I view the metrics dashboard
Then I should see flow efficiency of "25%"
Scenario: Flag low flow efficiency as warning
Given a value stream with flow efficiency below 15%
When I view the metrics dashboard
Then the flow efficiency card should show warning status
Scenario: Handle empty value stream
Given an empty value stream map
When I view the metrics dashboard
Then flow efficiency should show "N/A"
src/utils/calculations/{metric}.jssrc/stores/metricsStore.jssrc/components/metrics/{MetricName}Card.jsx// src/utils/calculations/{metric}.js
/**
* Calculate {MetricName} for a value stream map
* @param {Object} vsm - The value stream map
* @returns {Object} - The metric result
*/
export function calculate{MetricName}(vsm) {
if (!vsm.steps || vsm.steps.length === 0) {
return {
value: null,
unit: '%',
status: 'neutral',
displayValue: 'N/A'
};
}
// Perform calculation
const value = /* calculation */;
// Determine status based on thresholds
let status;
if (value > 0.25) {
status = 'good';
} else if (value > 0.15) {
status = 'warning';
} else {
status = 'critical';
}
return {
value,
unit: '%',
status,
displayValue: `${(value * 100).toFixed(0)}%`
};
}
// src/components/metrics/{MetricName}Card.jsx
import PropTypes from 'prop-types';
import { useMetricsStore } from '../../stores/metricsStore';
import MetricTooltip from '../ui/MetricTooltip';
function {MetricName}Card() {
const metric = useMetricsStore((state) => state.{metricName});
const statusClasses = {
good: 'bg-green-50 border-green-200 text-green-800',
warning: 'bg-amber-50 border-amber-200 text-amber-800',
critical: 'bg-red-50 border-red-200 text-red-800',
neutral: 'bg-gray-50 border-gray-200 text-gray-800'
};
return (
<div
className={`metric-card border rounded-lg p-4 ${statusClasses[metric.status]}`}
data-testid="{metric-name}-card"
data-status={metric.status}
>
<MetricTooltip term="{MetricName}">
<h3 className="metric-card__title text-sm font-medium">
{MetricName}
{metric.displayValue}
);
}
{};