بنقرة واحدة
new-process-step
Add a new type of process step to the VSM builder with custom visualization
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Add a new type of process step to the VSM builder with custom visualization
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a new feature file for ATDD workflow - must be done BEFORE any implementation
Implement an approved feature file using ATDD workflow with test-first development
Analyze code with Semgrep for security vulnerabilities and code quality issues, then create a prioritized fix plan
Add a new calculated metric to the VSM dashboard with test-first development
Create a new React component following project conventions with PropTypes and test attributes
Create or run simulation features for analyzing work flow through value streams
| name | new-process-step |
| description | Add a new type of process step to the VSM builder with custom visualization |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash |
Add a new type of process step to the VSM builder.
/new-process-step <StepTypeName>
Create a feature file first using /new-feature that describes:
src/data/stepTypes.jssrc/components/canvas/nodes/{StepTypeName}Node.jsxsrc/components/canvas/nodeTypes.jssrc/data/stepDefaults.jssrc/components/builder/StepSelector.jsxEvery process step must include:
id: Unique identifiername: Display nametype: Step type constantprocessTime: Time for actual work (in minutes)leadTime: Total elapsed time including wait (in minutes)percentCompleteAccurate: Quality metric (0-100)queueSize: Number of items waitingbatchSize: Items processed together// src/data/stepTypes.js
export const STEP_TYPES = {
PLANNING: 'planning',
DEVELOPMENT: 'development',
CODE_REVIEW: 'code_review',
TESTING: 'testing',
QA: 'qa',
STAGING: 'staging',
DEPLOYMENT: 'deployment',
MONITORING: 'monitoring',
CUSTOM: 'custom'
};
// src/components/canvas/nodes/{StepTypeName}Node.jsx
import { Handle, Position } from 'reactflow';
import PropTypes from 'prop-types';
function {StepTypeName}Node({ data }) {
return (
<div
className="vsm-node vsm-node--{step-type}"
data-testid="vsm-node-{step-type}"
>
<Handle type="target" position={Position.Left} />
<div className="vsm-node__header">
<span className="vsm-node__icon">{/* Icon */}</span>
<span className="vsm-node__name">{data.name}</span>
</div>
<div className="vsm-node__metrics">
<div>PT: {data.processTime}m</div>
<div>LT: {data.leadTime}m</div>
<div>%C&A: {data.percentCompleteAccurate}%</div>
</div>
<Handle type="source" position={Position.Right} />
</div>
);
}
{StepTypeName}Node.propTypes = {
data: PropTypes.shape({
name: PropTypes.string.isRequired,
processTime: PropTypes.number.isRequired,
leadTime: PropTypes.number.isRequired,
percentCompleteAccurate: PropTypes.number.isRequired
}).isRequired
};
export default {StepTypeName}Node;
Feature: Development Step Type
As a team mapping their value stream
I want to add development steps
So that I can capture coding work in my process
Scenario: Add a development step
Given I am editing a value stream map
When I select "Development" from the step type menu
And I enter "Backend API" as the step name
Then a development step should appear on the canvas
And it should have a code icon