Skip to content

Adopt Motivation/Solution/Docs PR description structure - #435

Merged
skyrpex merged 5 commits into
mainfrom
devx-1037-adopt-motivation-solution-docs-pr-structure
Aug 6, 2026
Merged

Adopt Motivation/Solution/Docs PR description structure#435
skyrpex merged 5 commits into
mainfrom
devx-1037-adopt-motivation-solution-docs-pr-structure

Conversation

@skyrpex

@skyrpex skyrpex commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Motivation

PR descriptions served reviewers but gave technical writers nothing to triage from: the old Motivation/Changes/Tests template had no place to flag user-facing changes, so writers had to read diffs or ask around to know whether a PR needed documentation work.

Solution

Restructure the PR body template around three audiences (template in .claude/skills/create-pr/SKILL.md, convention bullet in CLAUDE.md):

  • Motivation — high-level description of the issue or feature, readable without opening the diff.
  • Solution — a summary a reviewer can thumbs-up or thumbs-down.
  • Docs — always present and collapsible, written for technical writers: user-facing changes, new commands/flags/env vars, or an explicit "nothing to document" with the reason.
  • Review line, Todo, and ticket-reference rules unchanged.

First applied manually on #434; this PR's own description follows the new structure.

Docs

Nothing to document for lstk users — this changes contributor/process conventions only (repo-internal CLAUDE.md and the /create-pr skill), no CLI behavior.

Review

Human review advised — small diff, but it changes a team-wide PR convention, so teammates affected by it should weigh in.

Closes DEVX-1037

Co-Authored-By: Claude noreply@anthropic.com

skyrpex and others added 2 commits August 5, 2026 15:24
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@skyrpex skyrpex added semver: patch docs: skip Pull request does not require documentation changes labels Aug 5, 2026
skyrpex and others added 2 commits August 6, 2026 13:03
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@skyrpex
skyrpex marked this pull request as ready for review August 6, 2026 11:07
@skyrpex
skyrpex requested a review from a team as a code owner August 6, 2026 11:07

@anisaoshafi anisaoshafi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's see if this makes PR description more readable, otherwise we can adjust it again 💯

Comment thread .claude/skills/create-pr/SKILL.md Outdated
- Use `Closes TICKET-ID` if the PR fully resolves the issue
- Use `Towards TICKET-ID` if it's a partial contribution
- Keep bullet points concise — what changed, not how every line was modified
- The Docs section must agree with the docs label: `docs: skip` pairs with an explicit "nothing to document" explanation; `docs: needed` pairs with concrete pointers to what writers should cover.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

we might as well get rid of this label, it's not currently being used

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, please and would remove the required check that fails PRs.

@gtsiolis gtsiolis Aug 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was an attempt to apply an obsolete workflow from localstack-pro, see relevant discussion. The label was never used, and docs are now automatically handled, see relevant discusion.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay, will remove that bit. Thanks for the suggestions

## Docs

<Self-merge candidate — one-line reason. Or: Human review advisedone-line reason.>
<Context for technical writers to pick up: user-facing changes, new/changed commands, flags, env vars, or behavior worth documenting. Always include this sectionwhen nothing is user-facing, say so explicitly and why (e.g. test-only change, internal refactor), so writers can triage from the PR alone.>

@anisaoshafi anisaoshafi Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Perhaps we could make this Docs section a collapsible content, for whoever wants to check further

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, thanks!

Co-Authored-By: Claude <noreply@anthropic.com>
@skyrpex
skyrpex enabled auto-merge (squash) August 6, 2026 13:56
@skyrpex
skyrpex merged commit 9e32225 into main Aug 6, 2026
19 checks passed
@skyrpex
skyrpex deleted the devx-1037-adopt-motivation-solution-docs-pr-structure branch August 6, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes semver: patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants