Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

fujitsu-mainframe富士通主机

Agent Skill

fujitsu-mainframe 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

64

周安装

12

GitHub Stars

10

下载量

97
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fujitsu-mainframe(富士通主机)
来源仓库:https://github.com/dauquangthanh/hanoi-rainbow
仓库路径:skills/fujitsu-mainframe
安装命令:
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill fujitsu-mainframe
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill fujitsu-mainframe

简介

fujitsu-mainframe 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要基于关键词或任务场景进行信息筛选的场景。
  • 通过安装命令从指定仓库添加技能,可结合原始 README 核验用法。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的数据访问。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Fujitsu Mainframe Analyzer

Analyze and migrate Fujitsu mainframe systems (FACOM, BS2000/OSD, OSIV, NetCOBOL, PowerCOBOL, Fujitsu JCL, SYMFOWARE) to modern Java/cloud platforms.

Core Capabilities

1. Fujitsu COBOL Analysis

Extract NetCOBOL/PowerCOBOL programs, Fujitsu-specific verbs, proprietary file organizations (SAM/PAM/ISAM), SYMFOWARE embedded SQL, screen handling (ACCEPT/DISPLAY with CRT STATUS).

2. Fujitsu JCL Analysis

Parse JOB statements, STEP definitions, ASSIGN/FILEDEF statements, conditional execution, cataloged procedures, resource allocation.

3. BS2000/OSD System Analysis

Analyze ENTER statements, system commands, file handling (PAM, SAM, ISAM), job variables, SDF processing.

4. SYMFOWARE Database Migration

Extract embedded SQL, schemas, stored procedures, transactions. Migrate to PostgreSQL, Oracle, or SQL Server.

5. Migration to Modern Platforms

Generate Spring Boot microservices, REST APIs, cloud-native apps (AWS, Azure, GCP), containerized deployments (Docker, Kubernetes), CI/CD pipelines.

Workflow

Step 1: Discover Assets

find . -name "*.cbl" -o -name "*.CBL" -o -name "*.cob"  # COBOL
find . -name "*.ncb" -o -name "*.NCB"  # NetCOBOL
find . -name "*.fjcl" -o -name "*.jcl"  # JCL
find . -name "*.cpy" -o -name "*.CPY"  # Copybooks
find . -name "*.sdf" -o -name "*.SDF"  # SDF files

Step 2: Analyze Structure

Extract divisions, data structures, file definitions, screen definitions, embedded SQL, Fujitsu-specific extensions. Key features:

  • File organization: SEQUENTIAL, RELATIVE, INDEXED
  • Screen handling: CRT STATUS, screen control
  • Database: SYMFOWARE SQL
  • Fujitsu verbs: ACCEPT OMITTED, INSPECT extensions
  • Error handling: FILE STATUS, DECLARATIVES

Step 3: Map Dependencies

Build graphs: CALL hierarchies, copybook usage, file dependencies (FACOM), database access (SYMFOWARE), JCL sequences, screen definitions.

Step 4: Create Migration Strategy

Document architecture, Fujitsu-specific features, Java/cloud design, data migration, roadmap. Load references/migration-strategy.md for detailed framework.

Fujitsu-Specific Features

NetCOBOL Extensions

  • Windowing, GUI support (PowerCOBOL)
  • Enhanced ACCEPT/DISPLAY with positioning
  • Object-oriented: CLASS definitions
  • Extended exception handling

SYMFOWARE Database

  • Embedded SQL: SELECT, INSERT, UPDATE, DELETE
  • Cursors: DECLARE, OPEN, FETCH, CLOSE
  • Transactions: COMMIT, ROLLBACK
  • Migration: SYMFOWARE → PostgreSQL (cost), Oracle (enterprise), SQL Server

File Systems

TypeDescriptionJava Equivalent
SAMSequentialBufferedReader/Writer
PAMPartitionedFile directory
ISAMIndexedDatabase with index
GDGVersionedTimestamp naming

Quick Patterns

COBOL → Java Spring Boot

Load references/migration-patterns.md for detailed examples. Quick overview:

Fujitsu COBOL:

SELECT EMPFILE ASSIGN TO "EMPDATA"
    ORGANIZATION IS INDEXED
    ACCESS MODE IS RANDOM
    RECORD KEY IS EMP-ID

Java JPA:

@Entity
@Table(name = "employees")
public class Employee {
    @Id
    private Integer empId;
    private String empName;
    private BigDecimal empSalary;
}

JCL → Shell + Kubernetes

Fujitsu JCL:

//STEP010  EXEC PGM=VALIDATE
//STEP020  EXEC PGM=PROCESS,COND=(0,EQ,STEP010)

Shell:

./validate && ./process

Load references/migration-patterns.md for Kubernetes CronJob examples.

Data Type Mappings

Load references/data-mappings.md for comprehensive tables. Critical mappings:

Fujitsu COBOLJavaNotes
PIC 9(n)int, long, BigIntegerSize dependent
PIC S9(n)V9(m)BigDecimalALWAYS for decimals
PIC X(n)StringAlphanumeric
COMP-3BigDecimalNEVER float/double
OCCURS nList<T>Prefer List over array
SYMFOWAREPostgreSQL
CHAR(n)CHAR(n)
VARCHAR(n)VARCHAR(n)
DECIMAL(p,s)NUMERIC(p,s)
TIMESTAMPTIMESTAMP WITH TIME ZONE
BLOBBYTEA
CLOBTEXT

Migration Strategies

Strangler Fig Pattern (Recommended)

Gradually replace functionality. Lower risk, learn and adjust. Load references/migration-strategy.md for detailed steps.

Big Bang

Complete rewrite, single cutover. Higher risk, clean architecture. For smaller systems.

Hybrid

Core services modernized first, periphery later. Balanced risk/reward.

Output Requirements

Analysis Report Structure

  1. Executive Summary - Overview, business impact, recommendation
  2. Current State - Inventory, architecture, technology, dependencies
  3. Fujitsu Features - NetCOBOL/PowerCOBOL, SYMFOWARE, file systems, screens, JCL
  4. Target Design - Architecture, tech stack, microservices, data model, APIs
  5. Migration Plan - Approach, timeline, resources, risks, costs
  6. Technical Appendix - Code samples, mappings, utilities, testing

Load references/migration-strategy.md for complete frameworks and templates.

Critical Best Practices

  1. ALWAYS use BigDecimal for COMP-3 and decimals (NEVER float/double)
  2. Preserve business logic - understand before changing
  3. Test with production data - validate conversions
  4. Document Fujitsu extensions - proprietary features need special handling
  5. Plan parallel run - compare outputs before cutover
  6. Automate testing - regression suite for validation
  7. Monitor everything - logging, metrics, alerts
  8. Security first - authentication, authorization, encryption

Common Challenges & Solutions

Fujitsu-Specific Features → Custom adapters, equivalent libraries, re-implementation Screen Handling → User requirements gathering, modern UX design File Processing → ETL tools, Spring Batch Performance → Caching (Redis), async processing, DB optimization Transactions → Spring @Transactional, Saga pattern

Reference Files

When detailed information needed:

  • references/migration-patterns.md - Complete code examples for all migration patterns
  • references/data-mappings.md - Comprehensive type mappings, REDEFINES, dates, best practices
  • references/migration-strategy.md - Full framework: assessment, design, testing, cutover, costs

Load these files for in-depth guidance on specific topics.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.64%
按下载量换算28

windsurf

23.65%
按下载量换算23

OpenCode

15.14%
按下载量换算15

Codex

13.51%
按下载量换算13

Antigravity

8.16%
按下载量换算8

Gemini CLI

2.93%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill fujitsu-mainframe;npx skills add dauquangthanh/hanoi-rainbow --skill "fujitsu-mainframe" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills