@willbooster/agent-skills 1.18.5 → 1.20.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/README.md +2 -0
- package/dist/cli.js +3 -3
- package/package.json +2 -1
- package/skills/check-pr-ci/SKILL.md +0 -2
- package/skills/stabilize-tests/SKILL.md +14 -0
- package/skills/update-deps/SKILL.md +19 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/agent-skills",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "A collection of agent skills for WillBooster Inc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"prettier": "@willbooster/prettier-config",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"commander": "14.0.3",
|
|
39
|
+
"minimatch": "10.2.5",
|
|
39
40
|
"yaml": "2.8.3"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
@@ -4,8 +4,6 @@ description: Check the latest test-related CI results for the current pull reque
|
|
|
4
4
|
allowed-tools: Bash(bun:*), Bash(gh:*), Bash(git:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Check PR CI
|
|
8
|
-
|
|
9
7
|
Run the following command with a 1-hour timeout (RUN IT AS A BLOCKING, FOREGROUND TASK TO PREVENT PREMATURE TERMINATION): `bunx @willbooster/agent-skills@latest check-pr-ci`
|
|
10
8
|
|
|
11
9
|
- Exit code `0`: all latest workflows succeeded.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stabilize-tests
|
|
3
|
+
description: Stabilize flaky or unreliable tests by finding the root cause, fixing it, and rerunning the tests until they pass reliably.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stabilize tests workflow
|
|
7
|
+
|
|
8
|
+
1. Run the tests to identify unstable or flaky tests.
|
|
9
|
+
- If specific tests are specified, run only those tests; otherwise, run the entire test suite.
|
|
10
|
+
2. Investigate the root cause of each unstable test before changing code.
|
|
11
|
+
3. Implement fixes to stabilize the tests.
|
|
12
|
+
- Prefer actual API calls over mocks.
|
|
13
|
+
4. Re-run the tests to confirm they pass reliably. If they fail, repeat steps 2-4 until they are stable.
|
|
14
|
+
5. Commit and push the changes, then run either the `open-pr` or `update-pr` skill.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update-deps
|
|
3
|
+
description: Update project dependencies, verify the result, and complete the pull request.
|
|
4
|
+
allowed-tools: Bash(bun:*), Bash(bunx:*), Bash(gh:*), Bash(git:*), Bash(yarn:*)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Update PR workflow
|
|
8
|
+
|
|
9
|
+
1. Update all dependencies, including subpackages, from the repository root.
|
|
10
|
+
- For Yarn projects, run `yarn up '**'`.
|
|
11
|
+
- For Bun projects, run `bunx @willbooster/agent-skills@latest update-bun-deps`.
|
|
12
|
+
2. Run either `yarn check-for-ai` or `bun check-for-ai`.
|
|
13
|
+
3. Fix any issues reported by the `check-for-ai` command.
|
|
14
|
+
- For updating Vitest, see https://raw.githubusercontent.com/WillBooster/shared/refs/heads/main/packages/wb/vitest.config.ts
|
|
15
|
+
- For other issues, refer to the latest official documentation.
|
|
16
|
+
4. Check whether each updated dependency is still required for the project.
|
|
17
|
+
- If a dependency is no longer required, remove it from the project.
|
|
18
|
+
5. Commit and push the changes, then run either the `open-pr` or `update-pr` skill.
|
|
19
|
+
6. Run the `complete-pr` skill.
|