[workflow-editor] Trim duplicated guideline text in workshop-author.md
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 65/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, javascript
- 领域
- devops, documentation
调研方向
同时阅读 .github/workflows/workshop-author.md 和 .github/workflows/guidelines.md,以核实重复的部分以及现有的应用共享指南的指示。issue 要求将重复的列表替换为指向共享指南的引用;使用 gh aw compile 重新生成 .github/workflows/workshop-author.lock.yml。当 workflow 引用共享规则且 lock 文件已重新生成时,即为完成。
由索引模型根据 Issue 内容生成。
描述
[!CAUTION]
Protected files were modified in this change.
This pull request is inrequest_reviewmode and requires explicit human scrutiny before merge.Protected files:
.github/workflows/workshop-author.lock.yml,.github/workflows/workshop-author.md
What changed
.github/workflows/workshop-author.md restated two whole rule sections verbatim
from .github/workflows/guidelines.md — the "Codespaces-first environment"
bullet list and the alert-callout formatting rules — even though the workflow
already instructs the agent to "read .github/workflows/guidelines.md and
apply it while authoring" earlier in the same file.
Why
Keeping two copies of the same rules risks drift: if guidelines.md is
updated (e.g. the alert-level ceiling or gh delay rule changes), the
duplicated copy in workshop-author.md would silently go stale. The shared
guidelines file is the single source of truth for authoring workflows.
How
Replaced the duplicated bullet lists in workshop-author.md with short
pointers back to the relevant sections of guidelines.md, which the agent
already has loaded in context. No behavior change — the agent still applies
the exact same rules, just from one source instead of two.
Files changed
.github/workflows/workshop-author.md— trimmed duplicated sections.github/workflows/workshop-author.lock.yml— regenerated viagh aw compile
This keeps the workflow source lean and Skills-like: direct instructions with
a single authoritative reference, rather than restating rules the agent
already read.
Generated by ✂️ Workflow Skills Editor · copilot · auto · 76.5 AIC · ⌖ 9.99 AIC · ⊞ 9.6K · ◷
- expires on Oct 7, 2026, 7:44 AM UTC
[!NOTE]
This was originally intended as a pull request, but the git push operation failed.Original error: The process '/usr/bin/git' failed with exit code 1
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.
Create the pull request manually
# Download the artifact from the workflow run
gh run download '37430925381' -n agent -D '/tmp/agent-37430925381'
# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-37430925381/aw-workflow-editor-trim-workshop-author-duplication.bundle'
temp_ref='refs/bundles/create-pr-workflow-editor-trim-workshop-author-duplication-c19269f4410b8410-02e699e1'
target_ref='refs/heads/workflow-editor/trim-workshop-author-duplication-c19269f4410b8410'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'workflow-editor/trim-workshop-author-duplication-c19269f4410b8410'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"
# Push the branch to the target remote
git push 'origin' 'workflow-editor/trim-workshop-author-duplication-c19269f4410b8410'
# Create the pull request
gh pr create --title '[workflow-editor] Trim duplicated guideline text in workshop-author.md' --base 'main' --head 'workflow-editor/trim-workshop-author-duplication-c19269f4410b8410' --repo 'githubnext/gh-aw-workshop'
- 主要语言
- JavaScript
- 星标
- 58
- 派生
- 40
- 平均合并
- 4 天 4 小时
- 30 天内合并 PR
- 8
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-aw-workshop 的其他 Issue
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 77/100
githubnext/gh-aw-workshop#5367 ·
维护者通常 3 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 84/100
githubnext/gh-aw-workshop#5360 ·
维护者通常 3 天内回复
-
[curriculum-eval] 05-agentic-workflows-intro.md: active_learning — 1,107 words with density 0.72未关闭curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 82/100
githubnext/gh-aw-workshop#5361 ·
维护者通常 3 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 76/100
githubnext/gh-aw-workshop#5359 ·
维护者通常 3 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 75/100
githubnext/gh-aw-workshop#5358 ·
维护者通常 3 天内回复
查看 githubnext/gh-aw-workshop 的全部 Issue
相似的 Issue
-
Build produces empty forge.min.js: package.json lists "forge" instead of "node-forge"可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 70/100
Fei2411/DeepSeek-Bot#963 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
Miaotofu01/Study-Mate#244 ·
维护者通常 1 天内回复
-
test-reliability
难度 2/5 1-3 小时 新手友好度 78/100
Azure/azure-sdk-for-js#40672 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
txn2/mcp-data-platform#2492 ·
维护者通常 1 天内回复