@willbooster/agent-skills 1.17.3 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/package.json +3 -3
- package/skills/complete-pr/SKILL.md +1 -1
- package/skills/fetch-issue/SKILL.md +0 -2
- package/skills/fetch-pr/SKILL.md +0 -2
- package/skills/fix-bug/SKILL.md +1 -0
- package/skills/open-pr/SKILL.md +14 -1
- package/skills/refactor-structure/SKILL.md +2 -1
- package/skills/update-pr/SKILL.md +15 -25
- package/skills/wbfy/SKILL.md +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/agent-skills",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "A collection of agent skills for WillBooster Inc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@types/bun": "1.3.11",
|
|
49
49
|
"@willbooster/biome-config": "3.4.1",
|
|
50
50
|
"@willbooster/prettier-config": "10.4.0",
|
|
51
|
-
"@willbooster/wb": "13.
|
|
51
|
+
"@willbooster/wb": "13.7.0",
|
|
52
52
|
"build-ts": "17.0.22",
|
|
53
53
|
"conventional-changelog-conventionalcommits": "9.3.0",
|
|
54
|
-
"lefthook": "2.1.
|
|
54
|
+
"lefthook": "2.1.5",
|
|
55
55
|
"prettier": "3.8.1",
|
|
56
56
|
"prettier-plugin-java": "2.8.1",
|
|
57
57
|
"semantic-release": "25.0.3",
|
|
@@ -4,7 +4,7 @@ description: Complete GitHub pull requests by iterating on CI and review feedbac
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read the PR body and its messages using the `fetch-pr` skill.
|
|
7
|
-
Then, merge the latest remote `main` branch into the current branch fixing any conflicts.
|
|
7
|
+
Then, merge the latest remote `main` branch into the current branch fixing any conflicts and push it.
|
|
8
8
|
After that, fetch the current repository owner with `gh repo view --json owner --jq '.owner.login'`.
|
|
9
9
|
If the owner is `WillBooster` or `WillBoosterLab`, follow the first workflow below. Otherwise, follow the second workflow below.
|
|
10
10
|
|
|
@@ -4,6 +4,4 @@ description: Fetch a GitHub issue body and its messages for the current reposito
|
|
|
4
4
|
allowed-tools: Bash(bun:*), Bash(gh:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Fetch GitHub Issue Messages
|
|
8
|
-
|
|
9
7
|
Run the following command to fetch the issue body and its messages: `bunx @willbooster/agent-skills@latest fetch-issue <issue-number-or-url>`
|
package/skills/fetch-pr/SKILL.md
CHANGED
|
@@ -4,6 +4,4 @@ description: Fetch a GitHub pull request body and its messages for the current r
|
|
|
4
4
|
allowed-tools: Bash(bun:*), Bash(gh:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Fetch GitHub PR Messages
|
|
8
|
-
|
|
9
7
|
Run the following command to fetch the pull request body and messages, excluding inline review comments: `bunx @willbooster/agent-skills@latest fetch-pr <pr-number-or-url>`
|
package/skills/fix-bug/SKILL.md
CHANGED
|
@@ -19,3 +19,4 @@ description: Fix a reported bug by first enhancing tests until the bug is reprod
|
|
|
19
19
|
6. Run the enhanced tests and confirm they pass with the fix in place.
|
|
20
20
|
7. If the repository workflow requires broader verification, run the relevant checks after the targeted tests pass.
|
|
21
21
|
8. Summarize the root cause, the test enhancement, and the implementation fix.
|
|
22
|
+
9. Commit and push the changes, then run either the `open-pr` or `update-pr` skill.
|
package/skills/open-pr/SKILL.md
CHANGED
|
@@ -13,7 +13,7 @@ Run the following command to open a pull request.
|
|
|
13
13
|
Finally, report the PR URL.
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
bunx @willbooster/agent-skills@latest open-pr <<'EOF'
|
|
16
|
+
bunx @willbooster/agent-skills@latest open-pr "feat: concise PR title" <<'EOF'
|
|
17
17
|
Close #<issue>
|
|
18
18
|
|
|
19
19
|
## Summary
|
|
@@ -37,3 +37,16 @@ Close #<issue>
|
|
|
37
37
|
- Breaking changes, rollout concerns, screenshots, or follow-up work
|
|
38
38
|
EOF
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
Note that the prefix of the PR title must follow the Conventional Commits specification:
|
|
42
|
+
|
|
43
|
+
- feat: A new feature for the user or API.
|
|
44
|
+
- fix: A bug fix for the user or API.
|
|
45
|
+
- build: Changes that affect the build system or external dependencies (e.g., npm, webpack, typescript).
|
|
46
|
+
- chore: Routine tasks, maintenance, or tooling changes that don't modify source or test files.
|
|
47
|
+
- ci: Changes to CI/CD configuration files and scripts.
|
|
48
|
+
- docs: Documentation-only changes.
|
|
49
|
+
- perf: A code change that improves performance.
|
|
50
|
+
- refactor: A code change that neither fixes a bug nor adds a feature, but improves code structure or readability.
|
|
51
|
+
- style: Changes that do not affect the meaning of the code (e.g., formatting).
|
|
52
|
+
- test: Adding missing tests or correcting existing tests.
|
|
@@ -9,4 +9,5 @@ description: Refactor the source tree by splitting oversized files, grouping rel
|
|
|
9
9
|
2. Reorganize by responsibility to improve cohesion and reduce coupling: split oversized files, group related modules, and add directories only when they make ownership clearer.
|
|
10
10
|
3. Update imports as you go and preserve existing behavior unless broader changes are explicitly requested.
|
|
11
11
|
4. Run the lightest relevant verification, such as typecheck or lint, to catch broken imports or module wiring.
|
|
12
|
-
5.
|
|
12
|
+
5. Commit and push the changes, then run either the `open-pr` or `update-pr` skill.
|
|
13
|
+
6. Summarize what moved and why the new structure is easier to maintain.
|
|
@@ -7,34 +7,11 @@ allowed-tools: Bash(bun:*), Bash(gh:*), Bash(git:*)
|
|
|
7
7
|
# Update PR workflow
|
|
8
8
|
|
|
9
9
|
Write the full replacement pull request title and the complete replacement PR body so they reflect the current scope, motivation, and validation.
|
|
10
|
-
Run `update-pr
|
|
10
|
+
Run `update-pr` with the title as the first argument and the body on stdin.
|
|
11
11
|
Finally, report the pull request URL.
|
|
12
12
|
|
|
13
|
-
## Update the PR title
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
bunx @willbooster/agent-skills@latest update-pr-title <<'EOF'
|
|
17
|
-
feat: concise PR title
|
|
18
|
-
EOF
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Note that the prefix of the PR title must follow the Conventional Commits specification:
|
|
22
|
-
|
|
23
|
-
- feat: A new feature for the user or API.
|
|
24
|
-
- fix: A bug fix for the user or API.
|
|
25
|
-
- build: Changes that affect the build system or external dependencies (e.g., npm, webpack, typescript).
|
|
26
|
-
- chore: Routine tasks, maintenance, or tooling changes that don't modify source or test files.
|
|
27
|
-
- ci: Changes to CI/CD configuration files and scripts.
|
|
28
|
-
- docs: Documentation-only changes.
|
|
29
|
-
- perf: A code change that improves performance.
|
|
30
|
-
- refactor: A code change that neither fixes a bug nor adds a feature, but improves code structure or readability.
|
|
31
|
-
- style: Changes that do not affect the meaning of the code (e.g., formatting).
|
|
32
|
-
- test: Adding missing tests or correcting existing tests.
|
|
33
|
-
|
|
34
|
-
## Update the PR body
|
|
35
|
-
|
|
36
13
|
```bash
|
|
37
|
-
bunx @willbooster/agent-skills@latest update-pr
|
|
14
|
+
bunx @willbooster/agent-skills@latest update-pr "feat: concise PR title" <<'EOF'
|
|
38
15
|
Close #<issue>
|
|
39
16
|
|
|
40
17
|
## Summary
|
|
@@ -58,3 +35,16 @@ Close #<issue>
|
|
|
58
35
|
- Breaking changes, rollout concerns, screenshots, or follow-up work
|
|
59
36
|
EOF
|
|
60
37
|
```
|
|
38
|
+
|
|
39
|
+
Note that the prefix of the PR title must follow the Conventional Commits specification:
|
|
40
|
+
|
|
41
|
+
- feat: A new feature for the user or API.
|
|
42
|
+
- fix: A bug fix for the user or API.
|
|
43
|
+
- build: Changes that affect the build system or external dependencies (e.g., npm, webpack, typescript).
|
|
44
|
+
- chore: Routine tasks, maintenance, or tooling changes that don't modify source or test files.
|
|
45
|
+
- ci: Changes to CI/CD configuration files and scripts.
|
|
46
|
+
- docs: Documentation-only changes.
|
|
47
|
+
- perf: A code change that improves performance.
|
|
48
|
+
- refactor: A code change that neither fixes a bug nor adds a feature, but improves code structure or readability.
|
|
49
|
+
- style: Changes that do not affect the meaning of the code (e.g., formatting).
|
|
50
|
+
- test: Adding missing tests or correcting existing tests.
|
package/skills/wbfy/SKILL.md
CHANGED
|
@@ -6,12 +6,12 @@ allowed-tools: Bash(bun:*), Bash(gh:*), Bash(git:*), Bash(yarn:*)
|
|
|
6
6
|
|
|
7
7
|
# wbfy application workflow
|
|
8
8
|
|
|
9
|
-
1. If the current branch is `main`, create and switch to a new branch
|
|
10
|
-
-
|
|
11
|
-
2. Run `yarn start <root_path_of_target_repo>`
|
|
12
|
-
3. Run `yarn check-for-ai` or `bun check-for-ai` in the target repository (do not run this
|
|
13
|
-
4. If any checks fail,
|
|
14
|
-
-
|
|
15
|
-
- If the failure
|
|
16
|
-
5. Commit and push
|
|
17
|
-
- `wbfy` creates, modifies, and deletes
|
|
9
|
+
1. If the current branch is `main`, create and switch to a new branch based on the latest remote `main` branch.
|
|
10
|
+
- Ensure the new branch is derived from the latest remote `main` branch to prevent merge conflicts when opening a pull request (PR).
|
|
11
|
+
2. Run `yarn start <root_path_of_target_repo>` inside `~/ghq/github.com/WillBooster/wbfy`.
|
|
12
|
+
3. Run either `yarn check-for-ai` or `bun check-for-ai` in the target repository (do not run this within the `wbfy` directory).
|
|
13
|
+
4. If any checks fail, resolve them using one of the following methods:
|
|
14
|
+
- If the failure originates in the target repository (e.g., existing code violates new linter rules), fix the issue there, commit and push the changes, and then return to step 3.
|
|
15
|
+
- If the failure is caused by configuration files modified by `wbfy` (e.g., a `wbfy`-edited `tsconfig.json` does not match the target repository), fix the issue in `~/ghq/github.com/WillBooster/wbfy`, commit and push the changes, open a PR in the `wbfy` repository, and then return to step 2.
|
|
16
|
+
5. Commit and push the applied changes to the target repository, then run either the `open-pr` or `update-pr` skill.
|
|
17
|
+
- Since `wbfy` creates, modifies, and deletes multiple files in the target repository, verify that all changes are included in your commit.
|