@willbooster/agent-skills 1.21.10 → 1.21.11

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.10",
3
+ "version": "1.21.11",
4
4
  "description": "A collection of agent skills for WillBooster Inc.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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 `tree -h src` (or `tree -h <specified_dir>`) to identify structural issues such as oversized files, mixed responsibilities, misplaced modules, unclear names, and duplicated organization patterns.
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.