ba
Use when the user asks for business analysis, requirements elicitation, a BRD, functional requirements, use cases, user stories with INVEST, acceptance…
от j4flmao★ 47 звёзд на GitHub
Установить ba в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Business Analysis
Purpose
Elicit, analyze, and document requirements through user stories, acceptance criteria, process models, and stakeholder analysis.
Agent Protocol
Trigger
Exact user phrases: "business analysis", "requirements", "user story", "acceptance criteria", "Gherkin", "INVEST", "process flow", "use case", "stakeholder analysis", "BRD", "functional requirements", "specification", "write story", "refine story", "requirements gathering".
Input Context
Before activating, verify:
- The feature or problem domain is known.
- The user role and goal are understood (who needs what and why).
- Existing documentation or context is available (brief, PRD, or conversation).
Output Artifact
Writes user stories to docs/stories/ or acceptance criteria to the appropriate spec document.
Response Format
Answer exactly:
Story: {title} As a: {user role} I want: {goal} So that: {benefit / value}
Acceptance Criteria: Scenario: {title} Given {context} When {action} Then {expected outcome}
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick. No explanations of agile or BDD concepts.
Completion Criteria
This skill is complete when:
- User story follows INVEST criteria (Independent, Negotiable, Valuable, Estimable, Small, Testable).
- Acceptance criteria are written in Gherkin format.
- Stakeholder concerns are addressed or noted for follow-up.
- Non-functional requirements are documented where applicable.
Max Response Length
One story: 15 lines. Acceptance criteria: 10 lines per scenario.
Workflow
Step 1: Requirements Elicitation
Ask and document:
| Question | Purpose |
|---|---|
| Who is the user? | Define role and persona |
| What do they need to achieve? | Define the goal |
| Why is this valuable? | Define the benefit |
| What could go wrong? | Edge cases and error paths |
| How will we know it's done? | Acceptance criteria |
Step 2: Write User Stories
As a {role} I want {feature / goal} So that {benefit / value}
INVEST checklist:
- Independent — can be delivered separately
- Negotiable — details can be refined
- Valuable — delivers value to user or business
- Estimable — team can estimate effort
- Small — fits within one sprint
- Testable — clear pass/fail criteria
Step 3: Acceptance Criteria (Gherkin)
Scenario: {title} Given {precondition / context} When {action / trigger} Then {expected result}
Additional keywords:
And— additional precondition, action, or resultBut— negative conditionScenario Outline+Examples— data-driven scenarios
Scenario Outline: Login with valid credentials Given the user is on the login page When they enter "" and "" And they click "Sign In" Then they are redirected to the dashboard
Examples: "| email | password | | [email protected] | Pass123! | | [email protected] | Admin@456 |
Boundary scenarios to cover:
- Happy path
- Invalid input (empty, malformed, out of range)
- Permission denied
- Resource not found
- Concurrent access
- Timeout / network failure
- Duplicate submission
Step 4: Process Modeling
Document workflows as structured steps:
%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
flowchart TD
A[User submits order] --> B{Payment valid?}
B -->|Yes| C[Create order]
B -->|No| D[Show error]
C --> E[Send confirmation]
When Mermaid is not available, use step-by-step:
- User submits order form
- System validates payment
- If valid: create order, send confirmation
- If invalid: show error message, log attempt
- Order appears in user's order history
Step 5: Non-Functional Requirements
| Category | Examples |
|---|---|
| Performance | Response time < 2s, supports 1000 concurrent users |
| Security | TLS 1.3, OAuth2, input sanitization |
| Usability | WCAG 2.2 AA, mobile-responsive |
| Reliability | 99.9% uptime, automatic failover |
| Scalability | Horizontal scaling, stateless design |
Step 6: Stakeholder Analysis and Management
Identify all stakeholders affected by the requirements. Categorize by influence and interest. Define engagement strategy per stakeholder. Document concerns and ensure they are addressed. Plan validation sessions with key stakeholders. Maintain a stakeholder matrix updated throughout the project.
Step 7: Requirements Prioritization
Use a structured prioritization framework:
| Framework | Description | Best For |
|---|---|---|
| MoSCoW | Must have, Should have, Could have, Won't have | Time-boxed delivery |
| Kano Model | Basic, Performance, Excitement factors | Customer satisfaction |
| Value vs Effort | Business value against implementation effort | Resource-constrained |
| Weighted Scoring | " Multi-criteria scoring (value, risk |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/ba-advanced.md
- references/ba-elicitation-techniques.md
- references/ba-fundamentals.md
- references/ba-requirements-management.md
- references/gherkin-patterns.md
- references/requirements-gathering.md
- references/story-splitting.md
- references/user-story-mapping.md
FAQ
Что делает скилл ba?
Use when the user asks for business analysis, requirements elicitation, a BRD, functional requirements, use cases, user stories with INVEST, acceptance criteria or stakeholder analysis. Produces analyzed requirements, process flows and traceable stories. Not for a full PRD from a brief (use create-prd) or Gherkin automation (use planning-bdd-atdd).
Как установить скилл ba?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ba запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…