Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

coding-agent-workflow编码 Agent 工作流程

Agent Skill

coding-agent-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

416

周安装

17

GitHub Stars

163

下载量

133
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coding-agent-workflow(编码 Agent 工作流程)
来源仓库:https://github.com/oocx/tfplan2md
仓库路径:skills/coding-agent-workflow
安装命令:
npx skills add https://github.com/oocx/tfplan2md --skill coding-agent-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oocx/tfplan2md --skill coding-agent-workflow

简介

coding-agent-workflow 定义 GitHub Copilot 类编码 Agent 的标准操作流程,确保任务在 Pull Request 环境中规范执行。

  • 涵盖分支管理、问题处理、进度汇报与总结评论等关键环节,自动集成到主流 AI 编码工具中。
  • 强调分支隔离、PR 关联与变更追踪,防止误操作主分支或遗漏必要审查步骤。
  • 使用前请确认当前会话已绑定有效 PR 及分支权限,避免因环境缺失导致流程中断或数据泄露风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Coding Agent Workflow Skill

Purpose

Provides the standard operational workflow that all GitHub Copilot coding agents must follow when executing tasks in pull requests.

When to Use

This skill is automatically loaded by all coding agents. It defines the core workflow for:

  • Handling questions (direct vs delegated contexts)
  • Reporting progress with the report_progress tool
  • Creating summary comments after work completion

Workflow

You are running as a GitHub Copilot coding agent. Follow this workflow:

CRITICAL: Branch and PR Management

GitHub Copilot automatically creates branches and PRs - you do NOT create them:

  • When an issue is assigned to @copilot, GitHub automatically creates a copilot/* branch and draft PR
  • When you start working, you're already on the correct branch with an active PR
  • NEVER run git checkout, git switch, or git branch commands - you're already on the right branch
  • NEVER attempt to create a new PR - one already exists for your work
  • Your job is to commit work to the existing branch using report_progress (which handles git push automatically)

Why this fails:

  • Manual git checkout -b commands will fail (permission denied)
  • Attempting to create PRs will fail or create duplicate PRs
  • These operations are GitHub's responsibility, not yours
  1. For Direct Questions (When Running as Primary Agent): If you are the primary agent on a PR (not delegated via task tool), you can create PR comments to ask the Maintainer questions. Wait for a response before proceeding.
  2. For Delegated Execution (When Invoked via task Tool): If you were invoked by the Workflow Orchestrator via the task tool, you run in an isolated context. In this case:

- DO NOT attempt to create PR comments - you cannot access the parent PR from your isolated context - Include questions in your response - return them as part of your output text - The orchestrator will forward your questions to the maintainer and resume you with answers - Wait for the orchestrator to re-invoke you with the maintainer's answer - You MUST use edit/create tools to apply all file changes - do not just describe changes; actually apply them - You MUST use git commit to commit your changesreport_progress is NOT available to subagents; use git add <files> && git commit -m "type: message" instead (see step 4 for details)

  1. Complete Your Work: Implement the requested changes following your role's guidelines. Use edit/create tools to apply all file modifications — never just describe or list changes without applying them.
  2. Commit and Push Changes:

- Primary agent (running the top-level PR): Use the report_progress tool. It handles git add, git commit, and git push automatically with the GitHub Actions token. Manual git push fails (no personal credentials). Call it with: report_progress(commitMessage="feat: implement user authentication", prDescription=""" - [x] Add authentication service - [] Add authorization middleware """) - commitMessage: Conventional commit message (e.g., "feat: add feature X") - prDescription: Markdown checklist showing completed and remaining work - Delegated subagent (spawned via task tool): report_progress is NOT available — it exists only in the primary agent's tool context. Use git commit instead: git add <changed files> git commit -m "type: description of changes" # Do NOT run git push — it will fail with HTTP 403 Your commits accumulate in the local branch. When the parent agent calls report_progress, ALL local commits (including yours) are pushed to the remote PR branch.

  1. Create Summary Comment (After Progress Reported): Post a PR comment with: Note: If you're running in delegated mode (via task tool), include this summary in your response text instead of creating a PR comment.

- Summary: Brief description of what you completed - Changes: List of key files/features modified - Next Agent: Recommend which agent should continue the workflow (see docs/agents.md for workflow sequence) - Status: Ready for next step, or Blocked (with reason)

Example Summary Comment:

✅ Implementation complete

**Summary:** Implemented feature X with tests and documentation

**Changes:**
- Added FeatureX.cs with core logic
- Added FeatureXTests.cs with 15 test cases
- Updated README.md

**Next Agent:** Technical Writer (to review documentation)
**Status:** Ready

Key Principles

  • GitHub creates branches/PRs automatically - never attempt to create them yourself
  • report_progress is only available to the primary agent - subagents spawned via task tool must use git commit instead
  • Always use report_progress for commits and pushes (primary agent) - never use manual git push commands
  • Subagents MUST git commit before completing - uncommitted changes will be lost if only in memory; the parent's report_progress can pick up uncommitted files via git add. but this is a fallback, not the primary mechanism
  • Always use edit/create tools to apply file changes - never just describe changes in your response without applying them
  • Respect execution context - behave differently when delegated vs primary agent
  • Communicate clearly - provide complete summaries with status and next steps
  • Track progress - use markdown checklists in PR descriptions to show work completed and remaining

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.65%
按下载量换算47

Claude

32.13%
按下载量换算43

Cursor

18.73%
按下载量换算25

Gemini CLI

9.53%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills