Agent skill

Deploy Staging

by einverne in einverne/dotfiles

将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用. An agent skill from einverne/dotfiles.

GPL-3.0Auto-check passed

Install Deploy Staging

skills CLI
$ npx skills add einverne/dotfiles --skill deploy-staging -a claude-code

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

GitHub CLI
$ gh skill install einverne/dotfiles deploy-staging --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/einverne/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/deploy-staging .claude/skills/deploy-staging && 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
deploy-staging
GitHub stars
121
Token cost
~188 tokens
SKILL.md length
51 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
GPL-3.0

At a glance

将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用. An agent skill from einverne/dotfiles.

  • Works in 3 steps: 当前分支所有变更已提交 → 所有测试通过 → 代码已推送到远程仓库
  • SKILL.md covers 前置条件检查, 部署流程, 错误处理 and 部署后检查
  • Calls npm, git and curl

What it does

Deploy Staging is an agent skill from einverne/dotfiles. 将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用

Its SKILL.md is about 190 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: my personal dotfiles managed by dotbot, zinit. The licence is GPL-3.0.

Example prompts

  • “/deploy-staging”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 当前分支所有变更已提交
  2. 所有测试通过
  3. 代码已推送到远程仓库

What it can do on your machine

Read from SKILL.md and the folder at commit c6c0686. 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

    Shell commands in SKILL.md call:

    • npm
    • git
    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use npm, git and curl, which can reach the network depending on how they are called.

    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

Deploy Staging loads about 188 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 51 words of instructions outside code blocks.

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

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 einverne/dotfiles at commit c6c0686, republished under its GPL-3.0 licence (© einverne). 51 words, ~188 tokens.

Download SKILL.mdSave it as .claude/skills/deploy-staging/SKILL.md (or your agent's skills folder).
name
deploy-staging
description
将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用

部署到测试环境

前置条件检查

执行部署前,必须验证:

  1. 当前分支所有变更已提交

    • 运行 git status 检查
    • 如有未提交内容,提示用户先提交
  2. 所有测试通过

    • 运行 npm test
    • 如测试失败,停止部署并报告失败原因
  3. 代码已推送到远程仓库

    • 运行 git push
    • 确保远程分支是最新状态

部署流程

  1. 构建生产版本

    bash
    npm run build:staging
  2. 运行部署脚本

    bash
    ./scripts/deploy-staging.sh
  3. 等待部署完成

    • 显示部署进度
    • 捕获并显示错误信息
  4. 验证部署

    bash
    curl -f https://staging.example.com/health
  5. 报告部署结果

    • 成功:提供访问链接
    • 失败:显示错误日志和回滚建议

错误处理

如果部署失败:

  1. 保存错误日志到 .logs/deploy-staging-{timestamp}.log
  2. 建议用户检查日志
  3. 提供回滚命令:./scripts/rollback-staging.sh

部署后检查

部署成功后,提醒用户验证:

  • 关键功能是否正常
  • 数据库迁移是否成功
  • 静态资源是否加载正常

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

Files

Just SKILL.md in skills/deploy-staging of einverne/dotfiles.

Open the folder on GitHubat commit c6c0686

Compare with similar skills

Deploy Staging 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.

Deploy Staging compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deploy Staging this skilleinverne/dotfiles121—~188Automated safety check: PassGPL-3.0
Classroom Stage Design MethodTHU-MAIC/OpenMAIC40k—~1.4kAutomated safety check: PassMIT
Stage Tamagotchi Godot Csharpmoeru-ai/airi50k—~677Automated safety check: PassMIT
OpenMAIC Stage Document MapTHU-MAIC/OpenMAIC40k—~2.4kAutomated safety check: PassMIT
Multi Stage Dockerfilegithub/awesome-copilot40k3 repos~577Automated safety check: PassMIT
Project Stage DetectionDonchitos/Claude-Code-Game-Studios26k—~3.2kAutomated safety check: PassMIT

Similar skills

  • Baseline procedure for building one new classroom stage: settle the page plan with you, create the stage, write the roster, then generate each page in order.

    40k GitHub stars~1.4k tokensUpdated today
    EducationAuto-check passed
  • Apply the Stage Tamagotchi Godot C development method and code style when working in apps/stage-tamagotchi-kirie or its migration predecessor, engines/stage-tamagotchi-godot.

    50k GitHub stars~677 tokensUpdated today
    Game DevelopmentAuto-check passed
  • Maps the structure of an OpenMAIC stage document so an agent can find the right path, read it and patch quizzes, widgets, actions and project pages without guessing.

    40k GitHub stars~2.4k tokensUpdated today
    EducationAuto-check passed
  • Multi Stage Dockerfile

    github/awesome-copilot

    Official

    Create optimized multi-stage Dockerfiles for any language or framework

    40k GitHub starsUsed in 3 repos~577 tokens
    DevOps & CloudAuto-check passed
  • Project Stage Detection

    Donchitos/Claude-Code-Game-Studios

    Scans a game project to detect its development stage, check artifacts for gaps and recommend next steps, with gap rules that depend on the workflow tier.

    26k GitHub stars~3.2k tokensUpdated 8 days ago
    Game DevelopmentAuto-check passed
  • Hunting For Data Staging Before Exfiltration

    mukul975/Anthropic-Cybersecurity-Skills

    Detect data-staging activity (MITRE ATT&CK T1074) by analyzing EDR/Sysmon process-creation and file-system telemetry (Event ID 4688, Sysmon 1/11) for 7-Zip/RAR/tar archive creation, unusual temp or…

    34k GitHub stars~801 tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from einverne/dotfiles

All 39 skills in this repo
  • Chrome Devtools

    einverne/dotfiles

    Browser automation, debugging, and performance analysis using Puppeteer CLI scripts.

    121 GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check: notes
  • DOCX

    einverne/dotfiles

    Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction.

    121 GitHub starsUsed in 35 repos~2.5k tokens
    Auto-check: notes
  • PDF

    einverne/dotfiles

    Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.

    121 GitHub starsUsed in 47 repos~1.8k tokens
    Auto-check passed
  • Gemini Audio

    einverne/dotfiles

    Guide for implementing Google Gemini API audio capabilities - analyze audio with transcription, summarization, and understanding (up to 9.5 hours), plus generate speech with controllable TTS.

    121 GitHub starsUsed in 1 repo~2k tokens
    Auto-check: notes
  • Gemini Image Gen

    einverne/dotfiles

    Guide for implementing Google Gemini API image generation - create high-quality images from text prompts using gemini-2.5-flash-image model.

    121 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes
  • Gemini Vision

    einverne/dotfiles

    Guide for implementing Google Gemini API image understanding - analyze images with captioning, classification, visual QA, object detection, segmentation, and multi-image comparison.

    121 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes

Questions about Deploy Staging

What does Deploy Staging do?

将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用. An agent skill from einverne/dotfiles. Deploy Staging is an agent skill from einverne/dotfiles.

How do I install Deploy Staging in Claude Code?

Run `npx skills add einverne/dotfiles --skill deploy-staging -a claude-code`. Or copy the skill folder (skills/deploy-staging in einverne/dotfiles) into .claude/skills/deploy-staging in your project. Claude Code loads it when a task matches its description.

How do I install Deploy Staging in Codex?

Run `npx skills add einverne/dotfiles --skill deploy-staging -a codex`. Or copy the skill folder (skills/deploy-staging in einverne/dotfiles) into .agents/skills/deploy-staging in your project. Codex loads it when a task matches its description.

Can I use Deploy Staging 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 einverne/dotfiles --skill deploy-staging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deploy-staging, .gemini/skills/deploy-staging, .github/skills/deploy-staging and .opencode/skills/deploy-staging in your project.

What does Deploy Staging need to run?

Going by SKILL.md and its folder, Deploy Staging needs the command-line tools its instructions call (npm, git and curl).

Does Deploy Staging access the network?

SKILL.md contains no URLs. Its commands use npm, git and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Deploy Staging 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 Deploy Staging use?

Deploy Staging is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deploy Staging use?

About 188 tokens (SKILL.md is roughly 752 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 Deploy Staging?

Skills that share tags, products or a category with Deploy Staging: Classroom Stage Design Method (THU-MAIC/OpenMAIC, 40k stars), Stage Tamagotchi Godot Csharp (moeru-ai/airi, 50k stars), OpenMAIC Stage Document Map (THU-MAIC/OpenMAIC, 40k stars) and Multi Stage Dockerfile (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deploy Staging?

einverne (a GitHub user) maintains it in einverne/dotfiles, which has 121 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 9, 2026.

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