withastro/astro

astro-pr-writer

Write and update Astro pull requests with reviewer-friendly titles and high-signal bodies.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/withastro/astro --skill astro-pr-writer

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Astro PR Writer

Write Astro pull request descriptions that help reviewers quickly understand intent, behavior changes, and validation.

Use this skill whenever the user asks for any PR-writing task, including:

  • create/open a pull request
  • create/open a draft pull request
  • update a PR title
  • update a PR body/description
  • write PR notes/summary

Core Principle

Describe the change, how it works, and why it matters.

  • Changes explains what the fix/feature does.
  • Testing lists what test code was added or changed.
  • Docs explains whether user-facing docs changes are needed.

Do not use PR sections as a task log.

PR Title Rules

Use a human, reviewer-friendly title.

  • Describe the outcome in plain language.
  • Keep it concise and specific.
  • Prefer phrasing a person would naturally write in a review queue.

Do not use:

  • conventional commit prefixes in PR titles (fix:, feat:, docs:, etc.)
  • scoped commit-style titles (fix(cloudflare): ...)

Body Rules

Use this structure:

md
## Changes

- <Behavior change and why it matters>
- <Implementation detail and impact>

## Testing

- <New or changed test and what it covers>
- <Why an existing assertion changed>

## Docs

- <No docs update needed, because ...>

Changes

Focus on behavior, implementation approach, and impact.

Include:

  • what now works that did not work before
  • how the fix/feature works (reviewer-useful level)
  • user-facing reliability/compatibility/perf behavior changes

Do not include:

  • "added test" or "updated fixture" (belongs in Testing)
  • "added changeset"
  • internal process notes with no behavior impact

Testing

List what test code was added or changed, and why. Reviewers read this section to understand test coverage changes — not to hear that you ran a test suite.

Include:

  • new test files or test cases added, with a short description of what they cover
  • existing tests that were updated, and why the assertion changed

Do not include:

  • that tests pass (CI shows this; it's noise)
  • which commands you ran
  • how many tests passed

Docs

Explain docs impact clearly.

  • If docs are not needed, say why in one sentence.
  • If docs are needed, link the docs PR.

Brevity Guidance

Default to short. 1-2 bullets per section is normal — add more only when the change is genuinely complex. A reviewer scanning a PR queue should be able to read the whole body in under 30 seconds for a typical patch.

Too verbose:

- Moves .optional().prefault({}) outside z.preprocess() for the server config property in both base.ts and relative.ts, matching the integrations fix from #16531. Zod 4.4.0 rejects missing properties wrapped in z.preprocess() before the preprocessor or inner defaults can execute — moving .optional().prefault({}) outside the preprocess call resolves this. Fixes the server property issue reported there by @rururux. - Adds invalid_key, invalid_element, and discriminated union options handlers to both Astro and DB error maps for Zod 4.4.0 compatibility. Zod 4.4.0 surfaces record key refinement failures (e.g. env schema variable names) as structured invalid_key issues with nested errors instead of a flat message. The handlers extract the actual refinement message for clear user-facing errors. - All changes are backward-compatible with Zod 4.3.x. New error map branches only activate on issue codes that 4.4.0 starts emitting.

Better:

- Moves .optional().prefault({}) outside z.preprocess() for the server config, matching the integrations fix from #16531. Fixes the issue reported there by @rururux. - Adds invalid_key, invalid_element, and discriminated union options handlers to both error maps for Zod 4.4.0 compat. - Backward-compatible with Zod 4.3.x.

Changesets

Every PR that modifies a package requires a changeset. Only examples/* changes are exempt.

Load the changeset skill to create the changeset file and write the message. It covers file creation, format, bump types, and message conventions.

When writing the PR body:

  • Before posting, check whether a changeset exists. If the PR modifies a package and none exists, create it now using the changeset skill — do not post the PR without one.
  • Do not mention "added changeset" in the Changes section — it is process noise, not a behavior change

Self-Check Before Posting

  • Title is reviewer-friendly (not commit-style)
  • Changes bullets describe behavior/implementation/impact
  • Testing lists test code added/changed, not test run results
  • Docs decision is explicit
  • Changeset file exists in .changeset/ for any package-modifying PR — if missing, create it before posting
같은 저장소의 Skills

더 많은 Skills

모든 Skills
withastro
커뮤니티

analyze-github-action-logs

Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements. Use when asked to "analyze workflow logs", "review action runs", or "analyze GitHub Actions".

설치 수
4
GitHub Stars
6.3만
업데이트
10월 23일
withastro
커뮤니티

astro-adversary-blue

Independently implement and validate an alternative solution for an Astro pull request. Use only for Factory's adversary blue team.

설치 수
4
GitHub Stars
6.3만
업데이트
10월 23일
withastro
커뮤니티

astro-adversary-purple

Qualify and compare red and blue solutions for an Astro pull request using Astro-specific merge and tie-break criteria. Use only for Factory's adversary purple team.

설치 수
4
GitHub Stars
6.3만
업데이트
10월 23일
withastro
커뮤니티

astro-code-review

Perform a static, read-only code review of an Astro pull request or of a local branch, commit range, diff, patch, or working tree being prepared as a pull request. Determine whether the change satisfies its stated business requirements and is good enough to merge, using the PR description, linked requirement issues and roadmap items, and PR or issue discussions when available. Use this skill only for PR review or self-review, not issue triage or bug investigation. It reports only merge-relevant

설치 수
4
GitHub Stars
6.3만
업데이트
10월 23일