mcpField
B
business-analysis

business-analysis

github.com/kienhaminhDevelopment79118 installsUpdated 40w ago
Repository

About business-analysis

business-analysis is a set of standards for translating business goals into technical implementation documents, intended for product, business and development teams. It prioritizes constraint and requirement analysis, then uses diagrams and templates to create deliverables saved in the project’s docs/ folder.

Key features

  1. 01Starts with constraint-gap and requirement analysis
  2. 02Breaks down logic and edge cases step by step
  3. 03Uses Mermaid to visualize flows
  4. 04Includes PRD, BRD and user-story templates
  5. 05Saves documents in the docs/ folder

Use cases

  1. 01Turn a feature request into product specifications
  2. 02Map flows and edge cases for complex processes
  3. 03Draft documents for business or development teams

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kienhaminh/anti-chaotic --skill business-analysis

After installing, type/business-analysisin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/best-practices/
diagrams.md
references/domains/
ai-agent.md
blockchain-dapp.md
ecommerce.md
education.md
fintech.md
fnb.md
healthtech.md
internal-tools.md
marketplace.md
saas.md
references/workflows/
collaboration.md
scripts/
verify_mermaid.py
templates/
brd.md
change-request.md
prd-functional.md
use-case.md
user-story-detailed.md

Details

From the project README

Business Analysis Standards

This skill defines the standards for bridging the gap between abstract business goals and concrete technical implementation.

🧠 Core Mindset & Philosophy

Important

Document Output Location: All generated documents (PRD, BRD, Technical Specs, User Stories, etc.) MUST be saved to the docs/ folder in the project root. Do NOT create documents in other folders like requirements/ or specifications/.

  1. Gap Analysis First: Before prescribing a solution, deeply analyze the Constraint Gap. Ask: "What existing constraints (legacy code, budget, timeline) conflict with this new requirement?"
  2. Sequential Thinking: For ANY complex logical flow, break down the problem step-by-step. Do not guess; derive.
  3. Visuals First: Text is ambiguous. Code is implementation details. Diagrams are truth.
    • Use search_web to retrieve the latest Mermaid syntax and examples if unsure. Do not rely on internal training data.
  4. Obsidian Native: Documentation should be Graph-Ready.
    • Use [[Wiki-links]] for internal references.
    • Create MOCs (Maps of Content) for major topics.
    • Use YAML frontmatter for tags and aliases.
  5. Agile Orthodoxy: We speak in User Stories (INVEST criteria). We define Acceptance Criteria (Gherkin).
  6. Perspectives: Evaluate requirements from multiple angles:
    • 🎩 Strategic Perspective: Focus on ROI, KPIs, and Roadmap (BRD).
    • 🎩 Product Perspective: Focus on User Experience, Features, and Flows (PRD/User Stories).
    • 🎩 Technical Perspective: Focus on Schema, APIs, and States (Technical Spec).

🚀 Workflows

1. The "Complete Overhaul" Workflow (Default)

When a user asks for a new feature or system:

  1. Phase 1: Market & Domain Research
    • Use search_web to validate assumptions.
    • Example: "What are the standard features of a modern LMS Gradebook in 2026?"
    • Example: "Competitor analysis for [Product X]".
  2. Phase 2: Requirement Gathering (The Questionnaire)
    • Don't just ask "What do you want?". Ask specific constraints.
    • Use the requirements_questionnaire.md pattern if the scope is large.
  3. Phase 3: Logic & Flow Analysis
    • Map out the Happy Path, Negative Path, and Edge Cases.
  4. Phase 4: Diagramming
    • Research: Check latest Mermaid docs (State, Sequence, Class).
    • Generate: Create Mermaid diagrams to visualize the flow.
    • Verify: Run scripts/verify_mermaid.py (if available) or review syntax carefully.
  5. Phase 5: Documentation
    • Generate the appropriate artifacts (PRD, Technical Spec, User Stories) using references/templates/.
    • Link: Update the relevant MOC (Map of Content) to include the new document (e.g., docs/030-Specs/Specs-MOC.md).
2. Cross-Skill Collaboration

Act as the conductor. Coordinate specialized skills when needed.

  • When Schema/API is needed:
    • Action: "I need to consult the Lead Architect for the database schema."
    • Simulation: "As acting Lead Architect, I propose the following schema..."
  • When UI/UX is needed:
    • Action: "I need to align this with the Designer for user experience."
    • Simulation: "From a UX perspective, we need a loading state here..."

📚 Reference Library

Templates
TemplatePathPurpose
PRD (Functional)templates/prd-functional.mdDetailed PRD with functional/non-functional requirements, user flows. Use when full technical spec is needed
User Story (Detailed)templates/user-story-detailed.mdDetailed format with Gherkin syntax, developer notes, API dependencies. Use for handoff to dev team
BRDtemplates/brd.mdBusiness Requirements Document - stakeholder analysis, ROI, KPIs. Use for large projects needing business case
Use Casetemplates/use-case.mdUse Case Specification - actor flows, alternative paths, exceptions. Use for complex system analysis
Change Requesttemplates/change-request.mdChange Request - impact analysis, effort estimate, approval workflow. Use when scope change is requested
Domain Knowledge
DomainPathFocus
SaaSreferences/domains/saas.mdSubscription, Multi-tenancy, PLG
FinTechreferences/domains/fintech.mdCompliance, Ledger, Security
Internal Toolsreferences/domains/internal-tools.mdWorkflow, Efficiency, Integration
HealthTechreferences/domains/healthtech.mdHIPAA, Patient Outcomes
E-Commercereferences/domains/ecommerce.mdConversion, Inventory, Fulfillment
EdTechreferences/domains/education.mdLearning Outcomes, Accessibility
Blockchain/Web3references/domains/blockchain-dapp.mdSmart Contracts, Wallets
F&Breferences/domains/fnb.mdPOS, Orders, Inventory
AI/ML Productsreferences/domains/ai-agent.mdAccuracy, Explainability
Marketplacereferences/domains/marketplace.mdLiquidity, Trust, Disputes
Best Practices

🛠️ Tools & Scripts

  • scripts/verify_mermaid.py: Validates syntax of generated diagram code.

Example: Education Domain (LMS)

If asked for a "Student Gradebook":

  1. Research: Search for "standard grading scales GPA vs Percentage".
  2. Thinking: Sequence thinking -> "Teacher enters grade -> System validates max points -> System calculates weighted average -> Student receives notification".
  3. Diagram: Sequence diagram showing Teacher -> UI -> GradeService -> Database.
  4. Spec: Define grades table (student_id, assignment_id, score, weight).

Comments

Markdown supported