Agent Skillswarpdotdev/warp › classify-changelog-pr

classify-changelog-pr

GitHub

提供PR变更日志分类规则,用于判断未标记PR是否应纳入Changelog及所属类别。涵盖新功能、改进、修复等分类标准,以及针对TUI和OZ的特定影响判定逻辑,辅助自动生成发布说明。

.agents/skills/classify-changelog-pr/SKILL.md warpdotdev/warp

Trigger Scenarios

分析未标记PR是否需要加入Changelog 确定PR在Changelog中的具体分类 生成发布说明草稿

Install

npx skills add warpdotdev/warp --skill classify-changelog-pr -g -y
More Options

Non-standard path

npx skills add https://github.com/warpdotdev/warp/tree/master/.agents/skills/classify-changelog-pr -g -y

Use without installing

npx skills use warpdotdev/warp@classify-changelog-pr

指定 Agent (Claude Code)

npx skills add warpdotdev/warp --skill classify-changelog-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add warpdotdev/warp --all -g -y

预览 repo 内 skill

npx skills add warpdotdev/warp --list

SKILL.md

Frontmatter
{
    "name": "classify-changelog-pr",
    "description": "Reference guidance for classifying whether an unmarked PR should appear in the changelog and under which category. Used inline by the changelog-draft skill — not dispatched as a separate agent."
}

Classify Changelog PR

This document provides classification rules for PRs that lack explicit CHANGELOG-* markers. The changelog-draft agent follows these rules inline when deciding whether to include an unmarked PR.

Categories

  • NEW-FEATURE — A substantial new user-facing capability. Reserve for features that would warrant docs, marketing, or social media attention.
  • IMPROVEMENT — Enhances an existing feature in a way users would notice (performance, UX, new options).
  • BUG-FIX — Fixes a user-visible bug or regression.
  • OZ — Changes to Oz / AI agent capabilities. At most 4 per release in the stable changelog.
  • TUI — User-visible changes that impact the Warp Agent CLI/headless TUI, including shared Agent capabilities.
  • NONE — Explicitly opt out of changelog inclusion. Handled upstream by fetch_prs.py marker extraction.

Decision rules

Always exclude

  • PRs with an explicit CHANGELOG-NONE marker (contributor opted out)
  • PRs authored by known bots (dependabot, renovate, github-actions, codecov)
  • PRs that exclusively modify CI workflows (.github/workflows/), test files, or dev tooling
  • PRs that only update internal docs, comments, or README files
  • Dependency bumps with no user-facing behavior change
  • Refactors with no observable behavior change (code moves, renames, formatting)

Always include

  • PRs with explicit CHANGELOG-* markers (handled before this guidance applies)
  • PRs that fix a crash, data loss, or security issue — even without a marker

TUI surface classification

  • Treat explicit CHANGELOG-TUI and CHANGELOG-OZ markers as authoritative entries. They are independent and may coexist with each other or with regular changelog categories.
  • Determine TUI impact independently from the regular New Feature, Improvement, or Bug Fix category. A shared Agent capability may belong in both its regular category and TUI.
  • Classify a user-visible entry as impacting TUI when commit_subject contains TUI as a standalone token.
  • For stable releases, also use the PR title/body and TUI-owned paths such as crates/warp_tui or crates/warpui_core/src/elements/tui. Shared capabilities such as Agent tool-call or edit-file behavior also impact TUI when Warp Agent CLI users observe the change. If metadata is ambiguous, inspect the commit diff.
  • Do not infer TUI impact from file paths alone; confirm that Warp Agent CLI users observe the changed behavior.
  • A TUI-only entry belongs only in the TUI category. An entry that impacts both TUI and another surface should appear in both TUI and its regular category.

Conditional on channel

  • Stable channel: Only include changes that are live for all users. Exclude PRs gated behind DOGFOOD_FLAGS or PREVIEW_FLAGS.
  • Preview channel: Include PRs gated behind PREVIEW_FLAGS. Still exclude DOGFOOD_FLAGS-only changes.
  • Dev channel: Include everything that's user-visible, regardless of flag gates.

Feature-flagged PRs

If a PR mentions a FeatureFlag variant in its diff or title:

  1. Check which flag list it belongs to (RELEASE_FLAGS, PREVIEW_FLAGS, DOGFOOD_FLAGS).
  2. Apply the channel rules above.
  3. If the flag is in RELEASE_FLAGS or enabled by default in app/Cargo.toml, treat it as live.
  4. Set feature_flag in the classification output to the flag name.

Confidence levels

  • high — Clear user-visible change with obvious category.
  • medium — Likely user-visible but category or scope is somewhat ambiguous.
  • low — Unclear whether users would notice; or the PR touches both internal and user-facing code. Set needs_review: true.

Writing changelog text

  • Write from the user's perspective: "Added X", "Fixed Y", "Improved Z".
  • Keep it to one sentence, ≤ 120 characters.
  • Don't reference internal implementation details, file paths, or function names.
  • Don't start with "PR" or the PR number — those are added as metadata.
  • Use active voice and present tense for new features ("Adds dark mode"), past tense for fixes ("Fixed crash on startup").

Version History

  • 04a7f83 Current 2026-08-19 21:12
  • 726c1b6 2026-07-24 20:21

Same Skill Collection

.agents/skills/add-feature-flag/SKILL.md
.agents/skills/add-telemetry/SKILL.md
.agents/skills/changelog-draft/SKILL.md
.agents/skills/cross-platform-cloud-verification/SKILL.md
.agents/skills/dedupe-issue-local/SKILL.md
.agents/skills/gui-create-launch-modal/SKILL.md
.agents/skills/gui-integration-test/SKILL.md
.agents/skills/gui-reproduce-bug-report-local/SKILL.md
.agents/skills/gui-settings-ui/SKILL.md
.agents/skills/gui-ui-guidelines/SKILL.md
.agents/skills/logging-and-error-reporting/SKILL.md
.agents/skills/promote-feature/SKILL.md
.agents/skills/remove-feature-flag/SKILL.md
.agents/skills/review-pr-local/SKILL.md
.agents/skills/rust-unit-tests/SKILL.md
.agents/skills/triage-issue-local/SKILL.md
.agents/skills/tui-testing/SKILL.md
.agents/skills/tui-ui-guidelines/SKILL.md
.agents/skills/tui-verify-change/SKILL.md
resources/bundled/mcp_skills/figma/figma-code-connect-components/SKILL.md
resources/bundled/mcp_skills/figma/figma-create-design-system-rules/SKILL.md
resources/bundled/mcp_skills/figma/figma-create-new-file/SKILL.md
resources/bundled/mcp_skills/figma/figma-generate-library/SKILL.md
resources/bundled/mcp_skills/figma/figma-implement-design/SKILL.md
resources/bundled/skills/add-mcp-server/SKILL.md
resources/bundled/skills/change-keybinding/SKILL.md
resources/bundled/skills/create-skill/SKILL.md
resources/bundled/skills/create-tab-config/SKILL.md
resources/bundled/skills/factory-files/SKILL.md
resources/bundled/skills/factory-mcp/SKILL.md
resources/bundled/skills/modify-settings/SKILL.md
resources/bundled/skills/oz-platform/SKILL.md
resources/bundled/skills/pr-comments/SKILL.md
resources/bundled/skills/tab-configs/SKILL.md
resources/bundled/skills/tui-migrate-setup/SKILL.md
resources/bundled/skills/update-tab-config/SKILL.md
resources/bundled/skills/warpctrl/SKILL.md
resources/channel-gated-skills/dogfood/test-warp-ui/SKILL.md
resources/channel-gated-skills/dogfood/triage-vulnerabilities/SKILL.md
resources/channel-gated-skills/dogfood/verify-ui-change-in-cloud/SKILL.md
.agents/skills/gui-onboarding-verification-skill/SKILL.md
.warp/skills/gui-integration-test-video/SKILL.md
resources/bundled/mcp_skills/figma/edit-figma-design/SKILL.md
resources/bundled/mcp_skills/figma/figma-generate-design/SKILL.md
resources/bundled/mcp_skills/figma/figma-use/SKILL.md
resources/bundled/skills/claude-api/SKILL.md

Metadata

Files
0
Version
04a7f83
Hash
e73155ee
Indexed
2026-07-24 20:21

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:16
浙ICP备14020137号-1 $Гость$