ba-sequence-spec

Generate sequence diagrams and API specifications from UI specs and screen flows.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-sequence-spec-clovernguyen1010-ship-it
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-sequence-spec
Source: https://github.com/clovernguyen1010-ship-it/Clover_Nguyen/tree/main/.agent/skills/ba-sequence-spec
Command: npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-sequence-spec-clovernguyen1010-ship-it

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) components.

What problem does it solve?

Giúp BA tự động sinh sequence diagram và đặc tả API chi tiết từ UI Spec và luồng màn hình, rút ngắn thời gian phân tích và đảm bảo sự nhất quán giữa User–FE–BE–Đối tác.

Core Features & Use Cases

  • Vẽ sequence diagram (happy path) và đặc tả API chi tiết từ UI Spec và luồng màn hình
  • KHÔNG bao gồm Database object trong sequence và mô tả
  • Tận dụng ERD để suy luận nguồn dữ liệu và các trường dữ liệu trong API
  • Lưu file Markdown chính và draft chứa phân tích trung gian cho review
  • Có thể xuất file Word (.docx) từ file chính

Quick Start

Provide the Use Case name, a brief description, and inputs (screen list, user flow, and ERD) to generate the sequence diagram and API spec.

Frequently Asked Questions about ba-sequence-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a sequence diagram and API spec from a UI specification?

Generating sequence diagrams and API specs from a UI specification requires screen lists, user flow descriptions, and an ERD as inputs. The tool analyzes these to produce Mermaid sequence diagrams and detailed API contracts, ensuring consistency across user, frontend, backend, and partner interactions.

What is the best way to derive API contracts from an ERD and screen flows?

The best way to derive API contracts from an ERD and screen flows is by cross-referencing screen requirements with the ERD to infer data sources. The generated API specification includes detailed field mappings based on the provided ERD, ensuring accurate data contracts.

Does the generated sequence diagram include database objects?

No, the generated sequence diagrams do not include database objects. The tool explicitly omits database entities to focus strictly on the interactions between User, Frontend, Backend, and external partners within the happy path flow.

Can I export the generated API specification and sequence diagram to a Word document?

Yes, you can export the generated API specification and sequence diagram to a Word document. The tool uses the python-docx dependency to convert the primary Markdown file into a .docx format for offline review and team collaboration.

How is intermediate analysis handled when drafting sequence diagrams from UI specs?

Intermediate analysis is handled by saving a separate draft Markdown file containing the intermediate reasoning. This draft management feature allows business analysts to review the derivation process alongside the primary sequence diagram and API spec files.