Skip to content

Surface pre-push format/lint checks for all packages, not just sdk/#39241

Open
jeremymeng wants to merge 2 commits into
mainfrom
jeremymeng-surface-pre-push-checks-docs
Open

Surface pre-push format/lint checks for all packages, not just sdk/#39241
jeremymeng wants to merge 2 commits into
mainfrom
jeremymeng-surface-pre-push-checks-docs

Conversation

@jeremymeng

Copy link
Copy Markdown
Member

What

Docs-only change to improve agent discoverability of pre-push format/lint/build/test checks.

Why

A PR that changed common/tools/dev-tool failed the check-format CI job because the code wasn't Prettier-formatted before pushing. The repo already documented the pre-push checks, but the guidance was buried (5th bullet under "Important Notes" in the sdk-workflow skill) and framed as SDK-only, so an agent editing an internal tools package under common/tools/* could easily miss it.

Fix

  • .github/skills/sdk-workflow/SKILL.md — Elevate the rule into a prominent new ## Before you push (required for every change) section near the top, and make its scope explicit: it applies to common/tools/* (e.g. dev-tool, warp) and eng/*, not just sdk/. The now-redundant Pre-push checks bullet under "Important Notes" is removed (relocated, not duplicated).
  • AGENTS.md — Add a one-line routing pointer right after the guidance table so the rule is visible without loading the skill.

Docs-only; no code changed.

A change under common/tools/dev-tool failed the check-format CI job because
the pre-push checks guidance was buried (5th bullet in sdk-workflow's
Important Notes) and read as SDK-only. Elevate it to a prominent "Before
you push" section, state that it applies to common/tools/* and eng/* too,
and add a one-line pointer from AGENTS.md so it's visible without loading
the skill.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 10, 2026 20:42
@jeremymeng jeremymeng requested review from a team and xirzec as code owners July 10, 2026 20:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves visibility of pre-push validation guidance across the repository.

Changes:

  • Elevates pre-push checks in the workflow skill.
  • Adds a prominent routing note to AGENTS.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
AGENTS.md Adds repository-wide pre-push guidance.
.github/skills/sdk-workflow/SKILL.md Documents required local checks and commands.

Comment thread .github/skills/sdk-workflow/SKILL.md Outdated
Comment thread .github/skills/sdk-workflow/SKILL.md Outdated
Comment thread AGENTS.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants