Skip to content

Add setup-pr agent and pr-description skill; enable formatting pre-commit hooks - #762

Merged
kmontemayor2-sc merged 1 commit into
mainfrom
kmonte/port_agent_tooling_and_precommit
Sep 1, 2026
Merged

Add setup-pr agent and pr-description skill; enable formatting pre-commit hooks#762
kmontemayor2-sc merged 1 commit into
mainfrom
kmonte/port_agent_tooling_and_precommit

Conversation

@kmontemayor2-sc

Copy link
Copy Markdown
Collaborator

Migrating some skills / etc over :)

…mmit hooks

Agent sessions had no shared definition of what "ready for review" means, and
pre-commit only ran whitespace/EOF fixes, so formatting drift reached CI.

- `.claude/agents/setup-pr.md`: a blocking, tier-scaled checklist to run when a
  branch is ready for review, ending in a drafted PR title and description.
  Validation scales with the diff (docs-only / small / full) so small changes
  stay cheap. Cleanup is additive commits only; the agent never pushes or
  rewrites history.
- `.claude/skills/pr-description/SKILL.md`: owns PR-description structure and
  evidence rules, importing humanify's prose rules by reference with the
  inversion that the PR description IS the change story.
- humanify's trigger is narrowed to comments, docstrings, and reference docs so
  it no longer competes with pr-description on the same trigger.
- pre-commit now runs ruff (check --fix, format) and dprint on the staged files,
  mirroring `make format_py` / `make format_md`. Scoped to pre-commit only:
  both rewrite files, which would leave a dirty tree mid-push.
- dprint.json excludes `.claude/agents`, for the same reason `.claude/skills` is
  already excluded — the Markdown formatter mangles YAML frontmatter.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@mkolodner-sc mkolodner-sc 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.

Thanks!

@kmontemayor2-sc
kmontemayor2-sc marked this pull request as ready for review September 1, 2026 18:33
@kmontemayor2-sc
kmontemayor2-sc added this pull request to the merge queue Sep 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 1, 2026
@kmontemayor2-sc
kmontemayor2-sc added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit 72c26c1 Sep 1, 2026
7 checks passed
@kmontemayor2-sc
kmontemayor2-sc deleted the kmonte/port_agent_tooling_and_precommit branch September 1, 2026 21:44
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.

3 participants