install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/gr-gradio-file" ~/.claude/skills/ecnu-icalk-autoskill-gr-gradio-file && rm -rf "$T"
manifest:
SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/gr-gradio-file/SKILL.mdsource content
gr / gradio / file
General SOP for common requests related to gr, gradio, file.
Prompt
Follow this SOP (replace specifics with placeholders like <PROJECT>/<ENV>/<VERSION>):
- bash
- pip install gradio
-
- 接着,写一个 Python 脚本来创建你的问答界面。下面是创建所需界面的代码
- python
- import gradio as gr
- 这个函数将会处理用户的问题,并且可以返回一个答案
- 简单起见,这里的函数会将用户输入原样返回
- 实际应用中,可以将其连接到一个更复杂的问答系统或模型
- def answer_question(question
- 处理问题并返回答案的地方
For each step, include: action, checks, and failure rollback/fallback plan. Output format: for each step number, provide status/result and what to do next.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.