AutoSkill gr / gradio / file

General SOP for common requests related to gr, gradio, file.

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.md
source 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>):

  1. bash
  2. pip install gradio
    1. 接着,写一个 Python 脚本来创建你的问答界面。下面是创建所需界面的代码
  3. python
  4. import gradio as gr
  5. 这个函数将会处理用户的问题,并且可以返回一个答案
  6. 简单起见,这里的函数会将用户输入原样返回
  7. 实际应用中,可以将其连接到一个更复杂的问答系统或模型
  8. def answer_question(question
  9. 处理问题并返回答案的地方

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.