Skip to content

Commit 241fa20

Browse files
Align agent skill names with directory and file conventions. (#1015)
Rename review-pr skill identifier from maintainer-pr-review and rename pr-workflows pre-commit reference to prek.md so frontmatter names match their paths. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 71be9df commit 241fa20

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

.agents/skills/pr-workflows/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ This skill covers the end-to-end PR flow, including commits and prek usage.
1717

1818
- [Issue to PR workflow](reference/issue-to-pr.md)
1919
- [Committing changes](reference/committing.md)
20-
- [Prek usage](reference/pre-commit.md)
20+
- [Prek usage](reference/prek.md)

.agents/skills/pr-workflows/reference/committing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: Create clean, focused commits with user confirmation and prek check
1616

1717
## Commit steps
1818

19-
1. Run prek (see `pre-commit.md` for details). Prefer scoped runs while iterating, then `prek run --all-files` before final commit.
19+
1. Run prek (see `prek.md` for details). Prefer scoped runs while iterating, then `prek run --all-files` before final commit.
2020
2. Stage only relevant files (avoid `git add -A` / `git add .`).
2121
3. Create the commit with a clear message.
2222

.agents/skills/pr-workflows/reference/issue-to-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description: Transform a GitHub issue into a complete pull request through a str
2626
## Implementation
2727

2828
1. Implement the fix, following `AGENTS.md` policies.
29-
2. Run prek and tests until green (see `pre-commit.md`). Use scoped prek runs during iteration and `--all-files` before handoff.
29+
2. Run prek and tests until green (see `prek.md`). Use scoped prek runs during iteration and `--all-files` before handoff.
3030

3131
## Prepare PR
3232

File renamed without changes.

.agents/skills/review-pr/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: maintainer-pr-review
2+
name: review-pr
33
description: Review CausalPy pull requests end-to-end by classifying PR type, checking branch freshness, mergeability, remote CI, correctness, security, tests, docs, and maintainer concerns. Use when asked to review a PR, assess a branch before merge, summarize PR risks, or request changes.
44
---
55

.agents/skills/review-pr/resources/maintenance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Skill Maintenance
22

3-
Use this resource when updating `maintainer-pr-review` with patterns learned from future reviews.
3+
Use this resource when updating `review-pr` with patterns learned from future reviews.
44

55
## When to Add a Pattern
66

0 commit comments

Comments
 (0)