AGENT SKILL

yeet

Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.

License 许可
Apache-2.0
最近更新
2026-11-06
Stars
★ 98
Forks
39

01 前言 Front Matter

name
yeet
description
Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.

02 资源文件 4

03 SKILL.md 正文

GitHub Publish Changes

Overview

Use this skill only when the user explicitly wants the full publish flow from the local checkout: branch setup if needed, staging, commit, push, and opening a pull request.

This workflow is hybrid:

  • Use local git for branch creation, staging, commit, and push.
  • Prefer the GitHub app from this plugin for pull request creation after the branch is on the remote.
  • Use gh as a fallback for current-branch PR discovery, auth checks, or PR creation when the connector path cannot infer the repository or head branch cleanly.

Prerequisites

  • Require GitHub CLI gh. Check gh --version. If missing, ask the user to install gh and stop.
  • Require authenticated gh session. Run gh auth status. If not authenticated, ask the user to run gh auth login (and re-run gh auth status) before continuing.
  • Require a local git repository with a clean understanding of which changes belong in the PR.

Naming conventions

  • Branch: agent/{description} when starting from main/master/default.
  • Commit: {description} (terse).
  • PR title: {description} summarizing the full diff.

Workflow

  1. Confirm intended scope.
    • Run git status -sb and inspect the diff before staging.
    • If the working tree contains unrelated changes, do not default to git add -A. Ask the user which files belong in the PR.
  2. Determine the branch strategy.
    • If on main, master, or another default branch, create agent/{description}.
    • Otherwise stay on the current branch.
  3. Stage only the intended changes.
    • Prefer explicit file paths when the worktree is mixed.
    • Use git add -A only when the user has confirmed the whole worktree belongs in scope.
  4. Commit tersely with the confirmed description.
  5. Run the most relevant checks available if they have not already been run.
    • If checks fail due to missing dependencies or tools, install what is needed and rerun once.
  6. Push with tracking: git push -u origin $(git branch --show-current).
  7. Open a draft PR.
    • Prefer the GitHub app from this plugin for PR creation after the push succeeds.
    • Derive repository_full_name from the remote, for example by normalizing git remote get-url origin or by using gh repo view --json nameWithOwner.
    • Derive head_branch from git branch --show-current.
    • Derive base_branch from the user request when specified; otherwise use the remote default branch, for example via gh repo view --json defaultBranchRef.
    • If the branch is being pushed from a fork or the PR target differs from the remote that was just pushed, prefer gh pr create fallback because the connector PR creation flow expects one repository target and may not encode cross-repo head semantics cleanly.
    • If connector-based PR creation cannot infer the repository or branch cleanly, fall back to gh pr create --draft --fill --head $(git branch --show-current).
    • Write the PR body to a temp file with real newlines when using CLI fallback so the markdown renders cleanly.
  8. Summarize the result with branch name, commit, PR target, validation, and anything the user still needs to confirm.

Write Safety

  • Never stage unrelated user changes silently.
  • Never push without confirming scope when the worktree is mixed.
  • Default to a draft PR unless the user explicitly asks for a ready-for-review PR.
  • If the repository does not appear to be connected to an accessible GitHub remote, stop and explain the blocker before making assumptions.

PR Body Expectations

The PR description should use real Markdown prose and cover:

  • what changed
  • why it changed
  • the user or developer impact
  • the root cause when the PR is a fix
  • the checks used to validate it

04 同仓库更多 Skills

ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

xiaoyi-pdf-win

PDF 综合处理技能,处理文档生成、编辑、安全与解析。 适用情形: 1. 创建与排版:从零生成报告、提案、简历等 PDF,或对现有文档重新排版美化; 2. 表单与水印:自动填写 PDF 表单字段,或添加文字/图片水印(如打水印、标机密); 3. 页面管理:合并多个 PDF,或拆分、提取指定页码; 4. 安全控制:为 PDF 添加密码(加密)或移除密码(解密); 5. 内容提取:从 PDF 中提取纯文本或导出表格数据。 只要用户诉求涉及生成、排版、美化、转换、拼接、拆分 PDF,或处理水印、表单、密码,必须触发本技能。

★ 98
ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

skill-creator-win

Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.

★ 98
ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

markitdown-win

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

★ 98
ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

minimax-docx

Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say "write a report", "draft a proposal", "make a contract", "fill in this form", "reformat to match this template", or any task whose final output is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task implies a printable/formal document, use this skill.

★ 98
ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

skillhub-daily

SkillHub 每日推荐 - 扫描 skillhub.cn 全站 Top100 + 7 大分类各 Top20(共 240 个 Skill), 基于用户痛点精准推荐高价值 Skill,支持 IMA/飞书/Obsidian 多通道存储。 触发词:每日推荐、SkillHub 日报、潜力Skill、帮我推荐技能。 支持两种使用模式:常规 Skills 模式(对话触发)/ Cron 定时任务模式。

★ 98
ahang1598
ahang1598/doubao-workbuddy-qwenwork-skills

deep-research

Structured deep research workflow with human-in-the-loop control. Use /research to generate research outline, /research-deep for parallel web search across items, /research-report to compile markdown reports. Supports academic research, benchmark research, technology selection, market analysis, and due diligence. Triggers: 'deep research', 'research topic', 'benchmark comparison', 'technology survey', 'market analysis'. Requires: WebSearch capability.

★ 98