@willbooster/agent-skills 1.21.10 → 1.21.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/agent-skills",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.12",
|
|
4
4
|
"description": "A collection of agent skills for WillBooster Inc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "build-ts app --input src/cli.ts && chmod +x dist/cli.js",
|
|
21
|
-
"check-all-for-ai": "bun run check-for-ai && bun run test",
|
|
22
|
-
"check-for-ai": "bun install > /dev/null && bun run cleanup",
|
|
23
21
|
"cleanup": "bun --bun wb lint --fix --format",
|
|
24
22
|
"format": "bun --bun wb lint --format",
|
|
25
23
|
"install-skills": "bunx skills@latest add ./ --skill '*' --agent claude-code --agent codex --agent gemini-cli --yes",
|
|
@@ -46,12 +44,12 @@
|
|
|
46
44
|
"@semantic-release/npm": "13.1.5",
|
|
47
45
|
"@semantic-release/release-notes-generator": "14.1.0",
|
|
48
46
|
"@tsconfig/bun": "1.0.10",
|
|
49
|
-
"@types/bun": "1.3.
|
|
47
|
+
"@types/bun": "1.3.13",
|
|
50
48
|
"@typescript/native-preview": "7.0.0-dev.20260421.2",
|
|
51
49
|
"@willbooster/oxfmt-config": "1.2.2",
|
|
52
50
|
"@willbooster/oxlint-config": "1.4.6",
|
|
53
|
-
"@willbooster/wb": "13.12.
|
|
54
|
-
"build-ts": "17.1.
|
|
51
|
+
"@willbooster/wb": "13.12.10",
|
|
52
|
+
"build-ts": "17.1.10",
|
|
55
53
|
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
56
54
|
"lefthook": "2.1.6",
|
|
57
55
|
"oxfmt": "0.47.0",
|
|
@@ -5,10 +5,13 @@ description: Refactor the source tree by splitting oversized files, grouping rel
|
|
|
5
5
|
|
|
6
6
|
# Structure refactor workflow
|
|
7
7
|
|
|
8
|
-
1. Inspect the current layout using
|
|
8
|
+
1. Inspect the current layout using the following commands to identify structural issues, such as oversized files, mixed responsibilities, misplaced modules, unclear names, and duplicated organization patterns.
|
|
9
|
+
- `find src -type f -not -path '*/__generated__/*' -print0 | xargs -0 wc -l 2>/dev/null | sort -rn | head -30`
|
|
10
|
+
- `tree -h src`
|
|
11
|
+
- If the user specifies a directory, replace `src` with it.
|
|
9
12
|
2. Reorganize the code by responsibility to improve cohesion and reduce coupling.
|
|
10
13
|
- Split oversized files, group related modules, and create new directories only when they clarify ownership.
|
|
11
|
-
- Update imports alongside your changes maintaining existing behavior.
|
|
14
|
+
- Update imports alongside your changes while maintaining existing behavior.
|
|
12
15
|
3. Rename files and identifiers (such as variables and functions) to more accurately reflect their roles.
|
|
13
16
|
- Ensure all references are updated accordingly.
|
|
14
17
|
4. Run the quickest relevant verification tools, such as type checkers or linters, to detect broken imports or incorrect module wiring.
|
|
@@ -9,8 +9,8 @@ allowed-tools: Bash(bun:*), Bash(bunx:*), Bash(gh:*), Bash(git:*), Bash(yarn:*)
|
|
|
9
9
|
1. Update all dependencies, including subpackages, from the repository root.
|
|
10
10
|
- For Yarn projects, run `yarn up '**'`.
|
|
11
11
|
- For Bun projects, run `bunx @willbooster/agent-skills@latest update-bun-deps`.
|
|
12
|
-
2. Run either `yarn
|
|
13
|
-
3. Fix any issues reported by the `
|
|
12
|
+
2. Run either `yarn verify` or `bun verify`.
|
|
13
|
+
3. Fix any issues reported by the `verify` command.
|
|
14
14
|
- For updating Vitest, see https://raw.githubusercontent.com/WillBooster/shared/refs/heads/main/packages/wb/vitest.config.ts
|
|
15
15
|
- For other issues, refer to the latest official documentation.
|
|
16
16
|
4. Check whether each updated dependency is still required for the project.
|
package/skills/wbfy/SKILL.md
CHANGED
|
@@ -9,7 +9,7 @@ allowed-tools: Bash(bun:*), Bash(gh:*), Bash(git:*), Bash(yarn:*)
|
|
|
9
9
|
1. If the current branch is `main`, create and switch to a new branch based on the latest remote `main` branch.
|
|
10
10
|
- Ensure the new branch is derived from the latest remote `main` branch to prevent merge conflicts when opening a pull request (PR).
|
|
11
11
|
2. Run `yarn start <root_path_of_target_repo>` inside `~/ghq/github.com/WillBooster/shared/packages/wbfy`.
|
|
12
|
-
3. Run either `yarn
|
|
12
|
+
3. Run either `yarn verify` or `bun verify` in the target repository (do not run this within the `wbfy` directory).
|
|
13
13
|
4. If any checks fail, resolve them using one of the following methods:
|
|
14
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, then return to step 3.
|
|
15
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 the `wbfy` directory, commit and push the changes, open a PR in the `wbfy` repository, then return to step 2.
|