New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

f5-framework-cli

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

f5-framework-cli

F5 Framework - Enterprise Spec-Driven Development Toolkit with BA/SRS capabilities

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
25
108.33%
Maintainers
1
Weekly downloads
 
Created
Source

F5 Framework CLI

npm version License: MIT

Enterprise Spec-Driven Development Toolkit

F5 Framework combines Business Analysis (BA/SRS) capabilities with code generation for comprehensive software development.

Features

  • 🏢 12 Business Domains - Fintech, E-commerce, Healthcare, Education, and more
  • 📋 Domain Knowledge - Entities, business rules, workflows, use cases
  • 🤖 20 Specialized Agents - BA, design, implementation, validation
  • 🔄 Quality Gates - D1-D4 (design), G2-G4 (implementation)
  • 🇻🇳 Vietnamese Support - Documentation in Vietnamese with English technical terms
  • 📄 Multi-Format Import - Import from Excel, Word, PDF (with OCR)
  • 🔀 Requirement Consolidation - Merge requirements with deduplication
  • 📊 Prioritization - MoSCoW, WSJF, Value-Effort matrix
  • 🔗 Dependency Mapping - Mermaid diagram generation
  • 🧪 Test Generation - BDD/Gherkin feature files from requirements

Installation

npm install -g f5-framework-cli

Quick Start

# Check version
f5 --version

# Initialize project with domain
f5 init my-project --domain fintech --subdomain stock-trading

# Research a feature
f5 research "user authentication"

# Generate SRS
f5 spec --srs

Available Domains

CategoryDomains
FintechBanking, Stock Trading, P2P Lending, Payment, Crypto
E-commerceB2C Retail, Marketplace, Subscription
HealthcareEHR, Telemedicine, Clinic Management
EducationLMS, E-learning, School Management
EntertainmentStreaming, Gaming, Events
LogisticsWarehouse, Delivery, Fleet Management
InsuranceLife, Property, Claims
HR ManagementRecruitment, Payroll, Performance
SaaS PlatformMulti-tenant, Billing, Analytics
ManufacturingMES, Quality, Inventory
Real EstateProperty, Rental, CRM
TravelBooking, Hotel, Tours

Commands

CommandDescription
f5 init <name>Initialize new project
f5 research <topic>Deep research with evidence
f5 spec --srsGenerate SRS document
f5 designCreate design documents
f5 planCreate implementation plan
f5 implementGenerate code
f5 validateMulti-agent validation
f5 gateCheck quality gates
f5 statusShow project status
f5 docDocument pipeline (Excel/Word/PDF → Markdown)
f5 reqRequirement analysis tools

Document Pipeline

Multi-format document pipeline with version control, conflict resolution, and export options.

Import Documents (v1.1.5+)

# Import from Excel
f5 doc import requirements.xlsx

# Import from Word
f5 doc import specification.docx -o ./docs

# Import from PDF (with OCR for scanned documents)
f5 doc import scanned-notes.pdf --ocr --ocr-lang eng+vie

# Import multiple files
f5 doc import requirements.xlsx spec.docx notes.pdf -o ./docs

Multi-Source Consolidation (v1.2.0)

# Merge requirements from multiple files
f5 doc merge-req team1.md team2.md team3.md -o consolidated.md

# With custom similarity threshold
f5 doc merge-req *.md --threshold 0.9 -o merged.md

# Compare two requirement files
f5 doc compare-req old-version.md new-version.md -o diff-report.md

Basic Commands

# List versions
f5 doc list

# Show diff between versions
f5 doc diff v1.0.0 v2.0.0

# Export to Markdown
f5 doc export v1.0.0 -o ./output

Requirement Analysis (v1.1.6-v1.1.8)

Prioritization

# MoSCoW prioritization
f5 req prioritize requirements.md --method moscow

# WSJF with interactive scoring
f5 req prioritize requirements.md --method wsjf --interactive

# Value-Effort matrix
f5 req prioritize requirements.md --method value-effort

Dependency Mapping

# Analyze dependencies
f5 req deps requirements.md

# Export Mermaid diagram
f5 req deps requirements.md --mermaid diagram.mmd

Test Case Generation

# Generate test cases
f5 req to-tests requirements.md

# Export BDD feature file
f5 req to-tests requirements.md --bdd tests.feature

# Export traceability matrix
f5 req to-tests requirements.md --matrix matrix.md

# Include boundary tests
f5 req to-tests requirements.md --boundary --bdd tests.feature

Advanced Features

1. Watch Mode - Auto Import

Tự động theo dõi thư mục và import khi có file Excel mới:

# Watch directory for new Excel files
f5 doc watch ./input/

# With version bump type
f5 doc watch ./input/ -t minor

# With notifications
f5 doc watch ./input/ --notify slack,email

# Custom patterns
f5 doc watch ./input/ --patterns "*.xlsx" "*.xls"

2. Export Multiple Formats

Export requirements sang PDF, DOCX, HTML hoặc Confluence:

# Export to PDF
f5 doc export-format v1.0.0 -f pdf -o ./output

# Export to Word (DOCX)
f5 doc export-format v1.0.0 -f docx -o ./output --title "Requirements v1.0"

# Export to HTML
f5 doc export-format v1.0.0 -f html -o ./output

# Export to Confluence
f5 doc export-format v1.0.0 -f confluence \
  --confluence-url https://your-domain.atlassian.net/wiki \
  --confluence-space PROJECT \
  --title "Requirements Document"

3. Validation Rules

Validate requirements theo các rules có thể tùy chỉnh:

# Validate with default rules
f5 doc validate

# Validate specific version
f5 doc validate --version v1.0.0

# Use custom rules file
f5 doc validate --rules ./my-rules.yaml

# Generate rules template
f5 doc validate --init

# Output as JSON
f5 doc validate --json

Default Validation Rules:

  • REQ_ID_REQUIRED - ID bắt buộc
  • REQ_ID_FORMAT - Format ID (REQ-XXX, FR-XXX, etc.)
  • REQ_ID_UNIQUE - ID phải unique
  • DESCRIPTION_REQUIRED - Description bắt buộc
  • DESCRIPTION_MIN_LENGTH - Độ dài tối thiểu 20 ký tự
  • PRIORITY_VALID - Priority hợp lệ (Critical/High/Medium/Low)
  • STATUS_VALID - Status hợp lệ

4. Notification Integration

Gửi thông báo qua Slack, Email, hoặc Webhook:

Environment Variables:

# Slack
export F5_SLACK_WEBHOOK_URL="https://hooks.slack.com/services/..."
export F5_SLACK_CHANNEL="#requirements"

# Email (SMTP)
export F5_EMAIL_HOST="smtp.gmail.com"
export F5_EMAIL_PORT="587"
export F5_EMAIL_USER="your-email@gmail.com"
export F5_EMAIL_PASS="your-app-password"
export F5_EMAIL_FROM="f5-framework@your-domain.com"
export F5_EMAIL_TO="team@your-domain.com"

# Webhook
export F5_WEBHOOK_URL="https://your-api.com/webhook"

Usage:

# Import with notifications
f5 doc import file.xlsx --notify slack

# Watch with multiple notification channels
f5 doc watch ./input/ --notify slack,email,webhook

Merge & Conflict Resolution

# Merge two versions
f5 doc merge v1.0.0 v2.0.0 --strategy prefer_newer

# Show conflicts
f5 doc conflicts

# Resolve conflict interactively
f5 doc resolve <conflict-id>

# Rollback to previous version
f5 doc rollback v1.0.0

Documentation

📚 Full Documentation: f5-framework.gitbook.io

Support & Contact

🌐 Fujigo Software: fujigo-soft.com

📧 Contact: Contact Us

Version

Current: 1.2.0

License

MIT © Fujigo Software

Built with ❤️ by Fujigo Software

Keywords

f5-framework

FAQs

Package last updated on 03 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts