Agent Skills
› terzigolu/warp-lite
› create-tab-config
create-tab-config
GitHub根据自然语言请求生成Warp终端Tab配置TOML文件。通过澄清需求、匹配Schema并确定目标目录,创建符合规范的Tab布局配置,支持多版本路径适配与冲突处理。
触发场景
用户想要新的Tab配置
用户想要新的Tab布局
用户请求通过斜杠命令生成Tab配置
安装
npx skills add terzigolu/warp-lite --skill create-tab-config -g -y
SKILL.md
Frontmatter
{
"name": "create-tab-config",
"description": "Create new Warp tab config TOML files from natural-language requests. Use when the user wants a new tab config, a new tab layout, or asks for a slash command to generate a tab config."
}
create-tab-config
Create a new Warp tab config based on what the user wants.
Required context
- Use the
tab-configsskill as the canonical source of truth for:- schema details
- validation rules
- examples
- common layout patterns
Workflow
- Understand what the user wants to create.
- If important details are missing, use the
ask_user_questiontool to clarify them before writing anything. Do not guess about layout, commands, directories, parameters, or close-time behavior. - Generate valid TOML that matches the
tab-configsschema. - Determine the correct tab config directory for the user's Warp build.
Tab configs live under
~/.warp/tab_configs/for standard builds. Non-stable builds use a channel-specific variant (e.g.~/.warp-<channel>/tab_configs/). To find the correct directory, runls -d ~/.warp*/to list the available Warp data directories and pick the one that corresponds to the running build. When in doubt, ask the user which build they are using. Create thetab_configs/subdirectory if it does not exist. Write the file using a descriptive snake_case filename ending in.toml. - If the intended filename might conflict with an existing config and it is unclear whether to overwrite or create a new file, use the
ask_user_questiontool. - Briefly explain what you created, including the layout and any commands or parameters.
版本历史
- a33c6de 当前 2026-10-18 15:31


