원클릭으로
business-workflows
Generate core business workflow documentation with sequence diagram
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate core business workflow documentation with sequence diagram
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate API and service communication contracts with sequence diagram
Generate architecture diagram with component relationship details from project analysis
Run application assessment for a single repository
Generate comprehensive configuration and externalized settings inventory
Create a modernization plan to migrate the project to Azure
Generate task DAGs for modernization projects — select fragments from task catalog, produce initial DAG (Stage 1), and execute/validate DAG from plan artifacts (Stage 2).
| name | business-workflows |
| description | Generate core business workflow documentation with sequence diagram |
Analyze the project to document business processes end-to-end, domain entities, business rules, service-to-domain mapping, cross-service data flows, and decision logic. Generate a Mermaid sequence diagram showing the primary business workflow. Save to .github/modernize/assessment/engines/facts/business-workflows.md.
workspace-path (optional): Path to the project to analyze (defaults to current directory)This skill is part of a set of four complementary assessment skills. To avoid content duplication across their output documents, observe these scope rules:
data-architecture skill.data-architecture skill.api-service-contracts skill.Identify the domain model and produce the complete ## Domain Entities section:
data-architecture skillMap each service to its bounded context and owned entities, then produce the complete ## Service-to-Domain Mapping section (applies to microservice or multi-module architectures):
customers-service → Customer Management, visits-service → Appointment Management)petId as a foreign key in visits-service referencing customers-service's Pet entity)Scan for business process entry points, trace each significant workflow end-to-end, and produce the complete ## Primary Workflows section:
Entry points to scan:
@Scheduled, Quartz, Hangfire, cron jobs, BackgroundService)@EventListener, @KafkaListener, INotificationHandler, message handlers)For each significant entry point, trace the flow:
Trace cross-service data composition flows end-to-end and produce the complete ## Cross-Service Data Flows section:
Create a Mermaid sequenceDiagram showing the primary business workflow end-to-end and produce the complete ## Business Workflow Sequence section:
alt/else blocks to show circuit breaker fallback paths that affect business outcomesExample:
sequenceDiagram
participant Owner
participant Gateway as "API Gateway"
participant CustSvc as "Customer Service"
participant VisitSvc as "Visit Service"
participant DB as "Database"
Owner->>Gateway: View my pets and visits
Gateway->>CustSvc: Get owner details
CustSvc->>DB: Find owner with pets
DB-->>CustSvc: Owner + Pet list
CustSvc-->>Gateway: OwnerDetails(pets)
Gateway->>Gateway: Extract pet IDs from response
Gateway->>VisitSvc: Get visits for pets (batch)
alt Visit Service Available
VisitSvc->>DB: Find visits by pet IDs
DB-->>VisitSvc: Visit records
VisitSvc-->>Gateway: Visits per pet
Gateway->>Gateway: Merge visits into pet records
else Visit Service Unavailable (Circuit Breaker)
Note over Gateway: Fallback - return owner without visits
end
Gateway-->>Owner: Complete owner profile with visits
Extract and document business rules and cross-cutting concerns, and produce the complete ## Business Rules & Decision Logic section:
Business Rules:
owner.addPet(pet) ensuring both sides of the relationship are set)Cross-Cutting Concerns:
@Transactional scope, saga patterns, eventual consistencySave to .github/modernize/assessment/engines/facts/business-workflows.md with this exact structure:
# Core Business Workflows
A brief introduction (1-2 sentences) summarizing the application's business domain.
## Domain Entities
[Table: Entity | Service / Bounded Context | Description | Key Relationships]
## Service-to-Domain Mapping
[Table: Service | Domain Context | Owned Entities | External Dependencies]
## Primary Workflows
### Workflow 1: [Name]
[Description, steps, business rules involved, cross-service interactions]
### Workflow 2: [Name]
[Description, steps, business rules involved]
## Cross-Service Data Flows
[Description of aggregation/composition patterns, which service provides which data, how data is joined, fallback behavior when services are unavailable]
## Business Workflow Sequence
< Mermaid sequenceDiagram here, with alt/else blocks for fallback paths >
## Business Rules & Decision Logic
[Summary of key business rules, validation rules, state transitions, and decision points]
The diagram must parse cleanly under Mermaid >= 9.x. Anything outside the legal subset crashes the entire diagram with Syntax error in text.
sequenceDiagram@, #, $, %, &) in participant labels — use plain text or quoted labels->> for synchronous calls and -->> for responsesparticipant with alias syntax for readable labels: participant Svc as "OrderService"Note over for annotations about business decisions or fallback behavioralt/else/end blocks for decision points and circuit breaker fallbacks\n for line breaks inside participant aliases, messages, or notes. The literal \n escape was removed in modern Mermaid and triggers "Syntax error in text".participant Tx as "Transcoding Service" — not "Transcoding\nService".Note over statements instead of \n-separated text.Note over Client,API: First fact\nSecond factNote over Client,API: ... lines.\n — remove or split. Zero \n must remain.alt/opt/loop/par block is closed by end.> ERROR: Unsupported project type. This skill supports Java, .NET, JavaScript, and TypeScript projects only.> ERROR: No recognized business logic or workflows found at {workspace-path}. The project may be a library or framework without business processes.> Note: Some workflows or business rules could not be fully traced.alt/else blocks for fallbacks.github/modernize/assessment/engines/facts/business-workflows.md