PB

phong-baruby/ba-skills

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars Качество 49 Тренд 18MIT

Stop writing 100-page SRS nobody reads. Claude Code skills that interview, structure, and logic-verify your requirements — then output specs AI can actually implement.

Обзор

A collection of Claude Code SKILL.md files for Business Analysis workflows. Designed to turn vague feature ideas into structured, logic-verified specs — ready for AI coding agents to implement. Drop the skill file into your Claude Code project: Then in your CLAUDE.md (or claude.md), add: Trigger bằng cách nói tự nhiên với Claude Code: Claude sẽ tự động: 1. — hỏi làm rõ yêu cầu (WHO, WHAT, FLOW, EDGE CASES) theo từng round, không dump câu hỏi 2. — điền vào Use Case template chuẩn (Actors, Pre/Postconditions, Main Flow, Alternate Flows, Exception Flows, Business Rules) 3. — tự rà logic: precondition có được enforce không, exception có handle đủ business rule không, state machine có orphan state không 4. — tạo 3 files: - UC-XXX-feature-name.md — Use Case document - UC-XXX-feature-name.mermaid — Sequence diagram + State machine - UC-XXX-feature-name-tasks.md — Task breakdown cho AI coding agent Claude sẽ: 1. — phỏng vấn Socratic để lộ requirements ẩn 2.

README

Показан фрагмент оригинального README. Открыть оригинал.

ba-skills

A collection of Claude Code SKILL.md files for Business Analysis workflows. Designed to turn vague feature ideas into structured, logic-verified specs — ready for AI coding agents to implement.


Skills

Skill Trigger What it does
srs-agent “spec cho…”, “mình cần feature…”, “đặc tả…” Interview → Use Case doc + Mermaid diagram + task breakdown
brd-agent “viết BRD”, “phân tích yêu cầu”, “stakeholder muốn…” Elicit requirements → BRD + gap analysis AS-IS/TO-BE

How to install

Option 1 — Project-level (recommended)

Drop the skill file into your Claude Code project:

# Clone this repo
git clone https://github.com/phong-baruby/ba-skills.git

# Copy the skill(s) you want into your project
cp ba-skills/skills/srs-agent/SKILL.md your-project/.claude/skills/srs-agent/SKILL.md

Then in your CLAUDE.md (or claude.md), add:

## Skills
- .claude/skills/srs-agent/SKILL.md — BA spec workflow
- .claude/skills/brd-agent/SKILL.md — BRD workflow

Option 2 — Global (applies to all projects)

cp ba-skills/skills/srs-agent/SKILL.md ~/.claude/skills/srs-agent/SKILL.md

How to use

SRS Agent — Use Case spec

Trigger bằng cách nói tự nhiên với Claude Code:

"mình cần tính năng cho phép khách đổi hàng sau khi nhận"
"spec cho flow thanh toán COD"
"feature này làm gì: user tạo trade-in request..."

Claude sẽ tự động:

  1. Interview — hỏi làm rõ yêu cầu (WHO, WHAT, FLOW, EDGE CASES) theo từng round, không dump câu hỏi
  2. Structure — điền vào Use Case template chuẩn (Actors, Pre/Postconditions, Main Flow, Alternate Flows, Exception Flows, Business Rules)
  3. Verify — tự rà logic: precondition có được enforce không, exception có handle đủ business rule không, state machine có orphan state không
  4. Output — tạo 3 files:
    • UC-XXX-feature-name.md — Use Case document
    • UC-XXX-feature-name.mermaid — Sequence diagram + State machine
    • UC-XXX-feature-name-tasks.md — Task breakdown cho AI coding agent

Sample output structure:

docs/specs/
├── UC-001-return-request.md
├── UC-001-return-request.mermaid
└── UC-001-return-request-tasks.md

BRD Agent — Business Requirements Document

Trigger:

"viết BRD cho dự án X"
"phân tích yêu cầu từ stakeholder"
"cần tài liệu cho management review"

Claude sẽ:

  1. Elicit — phỏng vấn Socratic để lộ requirements ẩn
  2. AS-IS / TO-BE analysis — gap analysis trạng thái hiện tại vs mục tiêu
  3. Output — BRD chuẩn Markdown + Mermaid diagram

Why SKILL.md instead of a plain prompt?

Plain prompts chạy một lần rồi thôi. SKILL.md được Claude Code load vào context của từng session, hoạt động như một persistent workflow — Claude biết khi nào trigger, chạy phases theo thứ tự, và nhớ format output chuẩn mà không cần nhắc lại mỗi lần.


Philosophy

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add phong-baruby/ba-skills
Новичок в MCP? Начните с руководства на mcpskill.org →