Agent skill

Python Fast Skill

by jiushiwon in jiushiwon/wg-skills

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

Apache-2.0Auto-check passed

Install Python Fast Skill

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

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

GitHub CLI
$ gh skill install jiushiwon/wg-skills python-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/python/python-fast-skill .claude/skills/python-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
python-fast-skill
GitHub stars
110
Token cost
~1.6k tokens
SKILL.md length
99 words
Files
2
Skills in repo
121
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

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

What it does

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

Its SKILL.md is about 1.6k 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 Python. The licence is Apache-2.0.

Example prompts

  • “Python 入门”
  • “Python 基础”
  • “Python 学什么”
  • “/python-fast-skill”

Requirements

  • Python 3

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

Python Fast Skill loads about 1.6k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 99 words of instructions outside code blocks.

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

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). 99 words, ~1,616 tokens.

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

Python Fast Learning Skill

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

知识体系覆盖

类别包含内容
数据类型整数(int)、浮点(float)、字符串(str)、布尔(bool)、列表、元组、字典、集合、None
基础语法变量、运算符、条件判断(if/elif/else)、循环(for/while)、break/continue/pass
函数函数定义、参数(位置/关键字/默认/可变)、返回值、装饰器、lambda
面向对象类与对象、继承、多态、封装、特殊方法(init/__str__等)
集合列表list、元组tuple、字典dict、集合set、推导式
异常异常体系、try/except/finally、raise、自定义异常、断言
IO文件读写(open/with)、JSON/YAML/TOML、路径处理(pathlib)
线程/进程threading、multiprocessing、concurrent.futures、异步asyncio
类型提示类型注解typing、Optional、Union、List/Dict[xxx]
模块/包import、from...import、init.py、pip/conda
推导式列表推导式、字典推导式、集合推导式、生成器表达式

触发规则

自动触发场景

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

数据类型相关:数据类型、int、float、str、bool、list、tuple、dict、set、None
语法相关:语法、变量、常量、运算符、if、else、elif、for、while、循环、条件
函数相关:函数、def、lambda、装饰器、参数、返回值、可变参数
面向对象相关:类、class、对象、继承、多态、封装、self
集合相关:列表、元组、字典、集合、推导式、遍历
异常相关:异常、try、except、finally、raise、assert
IO相关:文件读写、open、with、JSON、pathlib
线程相关:线程、threading、multiprocessing、asyncio、协程
模块相关:import、from、pip、conda、模块、包
类型相关:类型注解、typing、Optional、Union
回答模板

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

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

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

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

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

示例对话

示例 1:问数据类型

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

自动回答:

📌 【Python 数据类型】
   是什么:Python 内置的基本数据类型

💻 【基础类型】
   - int:整数,如 10, -5, 0
   - float:浮点数,如 3.14, -0.5
   - str:字符串,如 "hello", 'world'
   - bool:布尔,True / False
   - None:空值,表示"没有"

💻 【容器类型】
   - list:列表,可变有序 [1, 2, 3]
   - tuple:元组,不可变 (1, 2, 3)
   - dict:字典,键值对 {"name": "Tom", "age": 20}
   - set:集合,无序不重复 {1, 2, 3}

📝 【示例】
   # 基础类型
   age = 25              # int
   salary = 10000.5      # float
   name = "小明"          # str
   is_active = True      # bool
   result = None         # None

   # 容器类型
   fruits = ["苹果", "香蕉"]   # list
   coords = (10, 20)          # tuple
   person = {"name": "Tom"}    # dict
   numbers = {1, 2, 3}        # set

⚠️ 【常见坑】
   1. Python 不需要声明类型,变量即类型
   2. 字符串可以用单引号或双引号
   3. list/dict/set 是可变的,tuple 是不可变的
   4. 0、""、[]、None 在 if 中都视为 False
示例 2:问集合

用户:Python 集合怎么用?

自动回答:

📌 【Python 容器类型】
   是什么:Python 提供的四种核心容器:list、tuple、dict、set

💻 【四种容器对比】
   list(列表):有序可重复,append/add/remove
   tuple(元组):有序不可变,查询快
   dict(字典):键值对,O(1) 查找
   set(集合):无序不重复,去重神器

📝 【示例】
   # 列表 list
   fruits = ["苹果", "香蕉", "橙子"]
   fruits.append("葡萄")
   fruits[0]  # "苹果"

   # 元组 tuple
   coords = (10, 20)
   x, y = coords  # 解包

   # 字典 dict
   person = {"name": "Tom", "age": 20}
   person["age"] = 21
   person.get("gender", "未知")  # 安全获取

   # 集合 set
   nums = {1, 2, 3}
   nums.add(4)
   nums.add(1)  # 重复无效,自动去重

   # 列表推导式
   squares = [x**2 for x in range(10)]

⚠️ 【常见坑】
   1. 列表索引从 0 开始,不是 1
   2. 切片:list[1:3] 是左闭右开 [1,2)
   3. dict.get(key, default) 比 dict[key] 安全
   4. set 用于去重:list(set(items))
示例 3:问函数

用户:Python 函数怎么写?

自动回答:

📌 【Python 函数】
   是什么:可重复使用的代码块,用 def 定义

💻 【基本语法】
   def 函数名(参数):
       """文档字符串"""
       # 函数体
       return 返回值  # 可选

💻 【参数类型】
   - 位置参数:def f(a, b, c)
   - 关键字参数:f(a=1, b=2)
   - 默认参数:def f(a, b=10)
   - 可变参数:def f(*args, **kwargs)

📝 【示例】
   # 基本函数
   def greet(name):
       return f"你好,{name}!"

   # 默认参数
   def power(base, exp=2):
       return base ** exp

   # 可变参数
   def sum_all(*args):
       return sum(args)

   # Lambda(匿名函数)
   square = lambda x: x ** 2

   # 装饰器
   def timer(func):
       def wrapper(*args, **kwargs):
           import time
           start = time.time()
           result = func(*args, **kwargs)
           print(f"耗时: {time.time()-start:.2f}秒")
           return result
       return wrapper

   @timer
   def slow_func():
       import time
       time.sleep(1)

⚠️ 【常见坑】
   1. 默认参数不要用可变对象:def f(a=[]) ❌ → def f(a=None)
   2. *args 是元组,**kwargs 是字典
   3. Lambda 只能写简单表达式
   4. 装饰器顺序很重要:@a @b 和 @b @a 不同
示例 4:问异常

用户:Python 异常怎么用?

自动回答:

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

💻 【异常体系】
   BaseException
   └── Exception
       ├── KeyboardInterrupt(Ctrl+C)
       ├── StopIteration
       ├── ArithmeticError
       │   └── ZeroDivisionError
       ├── LookupError
       │   ├── IndexError
       │   └── KeyError
       └── RuntimeError
           └── NameError
           └── TypeError

📝 【示例】
   try:
       result = 10 / 0
   except ZeroDivisionError as e:
       print(f"除零错误:{e}")
   except Exception as e:
       print(f"其他错误:{e}")
   else:
       print("没有异常时执行")
   finally:
       print("无论有无异常都执行")

   # 抛出异常
   def check_age(age):
       if age < 0:
           raise ValueError("年龄不能为负数")

   # 自定义异常
   class MyError(Exception):
       def __init__(self, message):
           self.message = message
           super().__init__(message)

   # 断言(调试用)
   assert age >= 0, "年龄不能为负数"

⚠️ 【常见坑】
   1. 异常要具体捕获,先子后父
   2. 不要 except: pass 空捕获
   3. finally 中的 return 会覆盖 try/except
   4. 抛出异常用 raise,不是 throw

知识卡片格式

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

┌─────────────────────────────────────────────┐
│  💡 Python 基础速查                          │
├─────────────────────────────────────────────┤
│  基础类型:int, float, str, bool, None      │
│  容器类型:list, tuple, dict, set           │
│  循环:for x in list, while condition      │
│  函数:def f(*args, **kwargs):             │
│  推导式:[x for x in list]                 │
│  异常:try-except-raise-finally            │
│  模块:import, from...import, as           │
└─────────────────────────────────────────────┘

引用索引

文件内容
references/python-basics.md数据类型、变量、运算符、流程控制完整笔记
references/function-guide.md函数定义、参数、装饰器、lambda
references/oop-basics.md面向对象:类、对象、继承、多态
references/collection-guide.md列表、元组、字典、集合、推导式
references/exception-guide.md异常处理最佳实践
references/io-guide.md文件读写、JSON、pathlib
references/thread-guide.md多线程、进程、异步 asyncio
references/module-guide.md模块导入、包管理、pip

不做

  • 不提供完整的 Python 教程(太长)
  • 不深入 Python 底层实现、元编程等进阶内容
  • 不讲解具体项目开发(那是 fastapi-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/python/python-fast-skill of jiushiwon/wg-skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit a4a640b

Compare with similar skills

Python 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.

Python Fast Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Fast Skill this skilljiushiwon/wg-skills110—~1.6kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k13 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 13 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-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 Python Fast Skill

What does Python Fast Skill do?

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

How do I install Python Fast Skill in Claude Code?

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

How do I install Python Fast Skill in Codex?

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

Can I use Python 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 python-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/python-fast-skill, .gemini/skills/python-fast-skill, .github/skills/python-fast-skill and .opencode/skills/python-fast-skill in your project.

What does Python Fast Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Python Fast Skill is instructions for the agent only. Our summary lists: Python 3.

Does Python 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 Python 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 Python Fast Skill use?

Python 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 Python Fast Skill use?

About 1.6k tokens (SKILL.md is roughly 6.5k 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 Python Fast Skill?

Skills that share tags, products or a category with Python Fast Skill: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python 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.