Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[guidelines] workshop/25-audit-and-observability.md: multi-line prompt violates single-sentence prompt rule

已关闭 适合新手
#3,590 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
92/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
领域
documentation

调研方向

打开 workshop/25-audit-and-observability.md 并检查报告中的 prompt 块。将面向学习者的 prompt 改写为一个清晰的句子,并将粘贴报告的指示移到周围的文字中。完成的标准是 prompt 遵循单句规则,同时保留预期的审计请求。

由索引模型根据 Issue 内容生成。

描述

documentation guidelines

File reviewed

workshop/25-audit-and-observability.md

Violations

Prompt-simplicity rule (AI agent guidance)

Offending text:

/agentic-workflows Here is my audit report. The agent called github.list_issues
three times and AIC was higher than expected. Help me understand why and
suggest how to reduce it.

(paste report here)

Suggested fix:
Guidelines require prompts shown to learners to be "a single clear sentence" that "a human would write in one shot," avoiding multi-part instructions inside the prompt block. This block spans three sentences plus a placeholder line. Shorten it to one sentence, e.g. "Use the /agentic-workflows skill to review this audit report and explain why github.list_issues was called three times and AIC was higher than expected," and move the <paste report here> instruction to the surrounding prose instead of inside the prompt block.

[!WARNING]

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.github.com"

See Network Configuration for more information.

Generated by 📋 Guidelines Enforcer · copilot · auto · 162.9 AIC · ⌖ 14.5 AIC · ⊞ 9.1K · ◷

  • expires on Sep 27, 2026, 4:03 AM UTC
主要语言
JavaScript
星标
53
派生
35
平均合并
1 天 5 小时
30 天内合并 PR
16

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。