Agent skill

Java Fast Skill

by jiushiwon in jiushiwon/wg-skills

Java 快速入门学习技能。面向零基础小白,通过关键词触发快速回答 Java 核心知识点(数据类型、基础语法、函数、方法、集合、枚举、异常、IO、线程等),帮助小白建立知识框架和快速查询能力。触发词:"Java 入门"、"Java 基础"、"Java 学什么"、"Java 数据类型"、"Java 语法"、"Java 集合"、"Java 异常"、"Java IO"、"Java 线程"、"Java…

Apache-2.0Auto-check passed

Install Java Fast Skill

skills CLI
$ npx skills add jiushiwon/wg-skills --skill java-fast-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jiushiwon/wg-skills java-fast-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jiushiwon/wg-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vibeCoding/backend/java/java-fast-skill .claude/skills/java-fast-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
java-fast-skill
GitHub stars
110
Token cost
~1.3k tokens
SKILL.md length
100 words
Files
2
Skills in repo
121
Repo updated
First seen
Licence
Apache-2.0

At a glance

Java 快速入门学习技能。面向零基础小白,通过关键词触发快速回答 Java 核心知识点(数据类型、基础语法、函数、方法、集合、枚举、异常、IO、线程等),帮助小白建立知识框架和快速查询能力。触发词:"Java 入门"、"Java 基础"、"Java 学什么"、"Java 数据类型"、"Java 语法"、"Java 集合"、"Java 异常"、"Java IO"、"Java 线程"、"Java…

  • SKILL.md covers 知识体系覆盖, 触发规则, 示例对话 and 知识卡片格式, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Java Fast Skill is an agent skill from jiushiwon/wg-skills. Java 快速入门学习技能。面向零基础小白,通过关键词触发快速回答 Java 核心知识点(数据类型、基础语法、函数、方法、集合、枚举、异常、IO、线程等),帮助小白建立知识框架和快速查询能力。触发词:"Java 入门"、"Java 基础"、"Java 学什么"、"Java 数据类型"、"Java 语法"、"Java 集合"、"Java 异常"、"Java IO"、"Java 线程"、"Java 枚举"、"Java 教程"、"Java 快速学习"、"java learn"、"java tutorial"。

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It works with Java. The licence is Apache-2.0.

Example prompts

  • “Java 入门”
  • “Java 基础”
  • “Java 学什么”
  • “/java-fast-skill”

What it can do on your machine

Read from SKILL.md and the folder at commit a4a640b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Java Fast Skill loads about 1.3k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 100 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jiushiwon/wg-skills at commit a4a640b, republished under its Apache-2.0 licence (© jiushiwon). 100 words, ~1,263 tokens.

Download SKILL.mdSave it as .claude/skills/java-fast-skill/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
java-fast-skill
description
Java 快速入门学习技能。面向零基础小白,通过关键词触发快速回答 Java 核心知识点(数据类型、基础语法、函数、方法、集合、枚举、异常、IO、线程等),帮助小白建立知识框架和快速查询能力。触发词:"Java 入门"、"Java 基础"、"Java 学什么"、"Java 数据类型"、"Java 语法"、"Java 集合"、"Java 异常"、"Java IO"、"Java 线程"、"Java 枚举"、"Java 教程"、"Java 快速学习"、"java learn"、"java tutorial"。

Java Fast Learning Skill

面向零基础小白的 Java 快速入门学习助手。通过关键词触发,快速回答核心知识点,帮助建立知识框架。

知识体系覆盖

类别包含内容
数据类型基本类型(int/long/double/boolean/char)、引用类型、类型转换、自动装箱拆箱
基础语法变量声明、运算符、条件判断(if/else/switch)、循环(for/while/do-while)、break/continue
函数/方法方法定义、参数传递(值传递)、返回值、方法重载、可变参数
面向对象类与对象、封装、继承、多态、抽象类、接口、构造器、this/super
集合框架List(ArrayList/LinkedList)、Set(HashSet/TreeSet)、Map(HashMap/TreeMap)、迭代器
枚举枚举定义、枚举方法、枚举switch、枚举与单例
异常异常体系(RuntimeException/Checked Exception)、try-catch-finally、throw/throws、自定义异常
IOFile/Reader/Writer、InputStream/OutputStream、缓冲流、字符流vs字节流、try-with-resources
线程Thread/Runnable、线程状态、线程同步(synchronized/lock)、线程池、volatile
泛型泛型类/泛型方法、泛型通配符、类型擦除
Lambda函数式接口、Lambda表达式、方法引用、Stream API

触发规则

自动触发场景

当用户提问包含以下关键词时,自动提供对应知识点的详细解答:

数据类型相关:数据类型、int、long、double、float、boolean、char、byte、short、String
语法相关:语法、变量、常量、运算符、if、else、switch、for、while、循环、条件
方法相关:方法、函数、参数、返回值、重载、可变参数
面向对象相关:类、对象、继承、封装、多态、抽象、接口、构造器
集合相关:集合、List、ArrayList、Set、HashSet、Map、HashMap、遍历
异常相关:异常、try、catch、throw、throws、RuntimeException
IO相关:IO、文件读取、文件写入、InputStream、OutputStream、Reader、Writer
线程相关:线程、Thread、Runnable、synchronized、lock、volatile、线程池
枚举相关:枚举、enum
泛型相关:泛型、Generic、<?>、<T>
Lambda相关:Lambda、stream、filter、map、reduce
回答模板

每个知识点回答遵循 "概念 → 语法 → 示例 → 常见坑" 四段式:

📌 【知识点名称】
   是什么:一句话定义

💻 【语法】
   核心语法/写法

📝 【示例】
   完整可运行的代码示例

⚠️ 【常见坑】
   小白容易踩的坑和避坑建议

示例对话

示例 1:问数据类型

用户:Java 数据类型有哪些?

自动回答:

📌 【Java 数据类型】
   是什么:Java 分为基本类型和引用类型两大类

💻 【语法】
   基本类型(8种):
   - 整数:byte(8位), short(16位), int(32位), long(64位)
   - 浮点:float(32位), double(64位)
   - 字符:char(16位Unicode)
   - 布尔:boolean(true/false)

   引用类型:类、接口、数组、枚举、注解

📝 【示例】
   int age = 25;           // 整数
   double salary = 10000.5; // 浮点
   char grade = 'A';       // 字符
   boolean isActive = true; // 布尔
   String name = "小明";    // 字符串(引用类型)

⚠️ 【常见坑】
   1. long 类型数字后要加 L:long a = 100L;(否则是 int)
   2. float 类型要加 F:float b = 3.14f;
   3. String 不是基本类型,是引用类型
示例 2:问集合

用户:Java 集合有哪些?

自动回答:

📌 【Java 集合框架】
   是什么:Java 提供的用于存储多个对象的容器

💻 【核心接口】
   Collection
   ├── List(有序可重复)
   │   ├── ArrayList(数组实现,查询快增删慢)
   │   └── LinkedList(链表实现,增删快查询慢)
   └── Set(无序不可重复)
       ├── HashSet(哈希表,无序)
       └── TreeSet(红黑树,有序)
   Map(键值对)
   ├── HashMap(哈希表)
   └── TreeMap(红黑树)

📝 【示例】
   // 列表
   List<String> list = new ArrayList<>();
   list.add("苹果");
   list.add("香蕉");

   // 集合
   Set<Integer> set = new HashSet<>();

   // 映射
   Map<String, Integer> map = new HashMap<>();
   map.put("苹果", 10);

⚠️ 【常见坑】
   1. List/Set/Map 是接口,不能直接实例化
   2. HashMap 非线程安全,高并发用 ConcurrentHashMap
   3. 遍历用 for-each 或 iterator,不要用 for(int i=0...)
示例 3:问异常

用户:Java 异常怎么用?

自动回答:

📌 【Java 异常处理】
   是什么:程序运行时出错的处理机制

💻 【异常体系】
   Throwable
   ├── Error(系统级错误,如 OutOfMemoryError)
   └── Exception
       ├── RuntimeException(运行时异常,可处理可不处理)
       │   ├── NullPointerException
       │   ├── ArrayIndexOutOfBoundsException
       │   └── ArithmeticException
       └── CheckedException(编译时异常,必须处理)
           ├── IOException
           └── SQLException

📝 【示例】
   try {
       int result = 10 / 0; // 可能抛异常
   } catch (ArithmeticException e) {
       System.out.println("除零错误:" + e.getMessage());
   } finally {
       System.out.println("无论是否异常都执行");
   }

   // 抛出异常
   public void check(int age) throws IllegalArgumentException {
       if (age < 0) {
           throw new IllegalArgumentException("年龄不能为负数");
       }
   }

⚠️ 【常见坑】
   1. 不要 catch(Exception e) {} 空捕获
   2. 异常要具体捕获,先小后大
   3. finally 中的 return 会覆盖 try 中的 return

知识卡片格式

对于常用知识点,提供速查卡片格式:

┌─────────────────────────────────────────────┐
│  💡 Java 基础速查                            │
├─────────────────────────────────────────────┤
│  数据类型:int, long, double, boolean, char │
│  修饰符:public, private, protected, static  │
│  循环:for, while, do-while, for-each       │
│  关键字:this, super, final, void, return   │
│  集合:List/Set/Map → ArrayList/HashMap    │
│  异常:try-catch-finally, throw-throws     │
└─────────────────────────────────────────────┘

引用索引

文件内容
references/java-basics.md数据类型、变量、运算符、流程控制完整笔记
references/oop-basics.md面向对象:类、对象、继承、多态、接口
references/collection-guide.md集合框架详解与选型指南
references/exception-guide.md异常处理最佳实践
references/io-guide.mdIO 流与文件操作
references/thread-guide.md多线程与并发基础
references/enum-guide.md枚举使用指南
references/lambda-guide.mdLambda 与 Stream API 入门

不做

  • 不提供完整的 Java 教程(太长)
  • 不深入 JVM 原理、内存模型等进阶内容
  • 不讲解具体项目开发(那是 springboot-init-skill 的事)
  • 不回答具体业务代码问题(只回答概念/语法/示例)
  • 不提供 IDE 安装使用教程(那是另一套技能)

© jiushiwon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in vibeCoding/backend/java/java-fast-skill of jiushiwon/wg-skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit a4a640b

Compare with similar skills

Java Fast Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Java Fast Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Java Fast Skill this skilljiushiwon/wg-skills110—~1.3kAutomated safety check: PassApache-2.0
Brainstormingxpinjection/test-driven-spring-boot11254 repos~2.6kAutomated safety check: PassMIT
Android API Diffgkd-kit/gkd43k—~796Automated safety check: PassGPL-3.0
Video Cover Imageitwanger/toBeBetterJavaer18k—~3.3kAutomated safety check: PassNone
Lancedb Update Lance Dependencylancedb/lancedb12k—~1.1kAutomated safety check: PassApache-2.0
Java SDK E2E Test with Replay Snapshotgithub/copilot-sdk11k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Brainstorming

    xpinjection/test-driven-spring-boot

    You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.

    112 GitHub starsUsed in 54 repos~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Android API Diff

    gkd-kit/gkd

    Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.

    43k GitHub stars~796 tokensUpdated yesterday
    MobileAuto-check passed
  • Video Cover Image

    itwanger/toBeBetterJavaer

    Generate matched 3:4, 16:9, and 4:3 short-video cover images from toBeBetterJavaer video scripts or AI/Java technical topics.

    18k GitHub stars~3.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Update LanceDB to a specific Lance release or tag. An agent skill from lancedb/lancedb.

    12k GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed
  • Official

    Creates a Java SDK end-to-end test for the Copilot SDK that runs against a recorded YAML snapshot through a replay proxy, so CI needs no real authentication.

    11k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Fory Release

    apache/fory

    Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.

    4.6k GitHub stars~2.9k tokensUpdated today
    Auto-check passed

More from jiushiwon/wg-skills

All 121 skills in this repo
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    110 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Workflow Diagram Skill

    jiushiwon/wg-skills

    A skill your agent uses when 用户想用一句话生成流程图、工作流图解、开发流程图、AI 流程图或任何步骤型图解,支持多风格输出(flat icon / 暖白手账风 / dark / cute),并提供现成模板一键出图。

    110 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Uniapp App Generate Skill

    jiushiwon/wg-skills

    This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

    110 GitHub stars~5k tokensUpdated 3 days ago
    Auto-check: notes
  • Fastapi Init Skill

    jiushiwon/wg-skills

    FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI…

    110 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check: notes
  • Ffmpeg Skill

    jiushiwon/wg-skills

    FFmpeg 多媒体处理技能 — 将自然语言描述转为正确的 ffmpeg 命令,覆盖视频剪辑、转码、水印、合成、提取、生成等操作。内置一键安装脚本(Windows/Mac/Linux)。触发词:ffmpeg、视频剪辑、视频裁剪、视频转码、视频压缩、去水印、加水印、视频拼接、视频合成、提取音频、视频转…

    110 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Frontend Request Skill

    jiushiwon/wg-skills

    A skill your agent uses when designing or reviewing the request layer of a frontend project (web / uni-app / mini-program), including request.ts wrappers, interceptors, deduplication, mocks, error…

    110 GitHub stars~3.6k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Java Fast Skill

What does Java Fast Skill do?

Java 快速入门学习技能。面向零基础小白,通过关键词触发快速回答 Java 核心知识点(数据类型、基础语法、函数、方法、集合、枚举、异常、IO、线程等),帮助小白建立知识框架和快速查询能力。触发词:"Java 入门"、"Java 基础"、"Java 学什么"、"Java 数据类型"、"Java 语法"、"Java 集合"、"Java 异常"、"Java IO"、"Java 线程"、"Java…. Java Fast Skill is an agent skill from jiushiwon/wg-skills.

How do I install Java Fast Skill in Claude Code?

Run `npx skills add jiushiwon/wg-skills --skill java-fast-skill -a claude-code`. Or copy the skill folder (vibeCoding/backend/java/java-fast-skill in jiushiwon/wg-skills) into .claude/skills/java-fast-skill in your project. Claude Code loads it when a task matches its description.

How do I install Java Fast Skill in Codex?

Run `npx skills add jiushiwon/wg-skills --skill java-fast-skill -a codex`. Or copy the skill folder (vibeCoding/backend/java/java-fast-skill in jiushiwon/wg-skills) into .agents/skills/java-fast-skill in your project. Codex loads it when a task matches its description.

Can I use Java Fast Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jiushiwon/wg-skills --skill java-fast-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/java-fast-skill, .gemini/skills/java-fast-skill, .github/skills/java-fast-skill and .opencode/skills/java-fast-skill in your project.

What does Java Fast Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Java Fast Skill is instructions for the agent only.

Does Java Fast Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Java Fast Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Java Fast Skill use?

Java Fast Skill is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Java Fast Skill use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Java Fast Skill?

Skills that share tags, products or a category with Java Fast Skill: Brainstorming (xpinjection/test-driven-spring-boot, 112 stars), Android API Diff (gkd-kit/gkd, 43k stars), Video Cover Image (itwanger/toBeBetterJavaer, 18k stars) and Lancedb Update Lance Dependency (lancedb/lancedb, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Java Fast Skill?

jiushiwon (a GitHub user) maintains it in jiushiwon/wg-skills, which has 110 GitHub stars. The repository holds 121 skills in this directory. The repository was last updated on October 4, 2026.

Source: jiushiwon/wg-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.