@groupby/ai-dev 0.4.2 → 0.5.1

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # @groupby/ai-dev
2
2
 
3
- Interactive CLI installer for Rezolve Ai development skills.
3
+ Interactive CLI installer for Rezolve Ai development skills, prompts, and resources.
4
4
 
5
- Discover, browse, and install shared AI skills (SKILL.md files) into any project with automatic client detection for **GitHub Copilot**, **Claude Code**, and **Codex**.
5
+ Discover, browse, and install shared AI skills (SKILL.md files), team prompts, team resources, and other team content folders into any project with automatic client detection for **GitHub Copilot**, **Claude Code**, and **Codex**.
6
6
 
7
7
  ## Installation
8
8
 
@@ -28,14 +28,14 @@ npm install --save-dev @groupby/ai-dev
28
28
  npx @groupby/ai-dev
29
29
  ```
30
30
 
31
- Walks you through selecting and installing skills via an interactive prompt.
31
+ Walks you through selecting and installing AI content via interactive prompts.
32
32
 
33
- ### List available skills and teams
33
+ ### List available content
34
34
 
35
35
  ```sh
36
36
  npx @groupby/ai-dev list # List everything
37
37
  npx @groupby/ai-dev list skills # List skills only
38
- npx @groupby/ai-dev list teams # List teams only
38
+ npx @groupby/ai-dev list teams # List teams and content counts
39
39
  ```
40
40
 
41
41
  ### Install a specific skill
@@ -44,20 +44,26 @@ npx @groupby/ai-dev list teams # List teams only
44
44
  npx @groupby/ai-dev install skill <skill-name>
45
45
  ```
46
46
 
47
- ### Install all skills for a team
47
+ ### Install all team content
48
48
 
49
49
  ```sh
50
50
  npx @groupby/ai-dev install team <team-name>
51
51
  ```
52
52
 
53
- When installing a team's skills, you will be prompted to optionally include skills from the shared library as well.
53
+ This installs the team's skills, prompts, and resources. A team's `prompts/`
54
+ folder lands beside `skills/` under the AI directory, for example
55
+ `docs/ai/prompts/`. A team's `resources/` folder installs to
56
+ `docs/ai/resources/`. Other direct team content folders follow the same pattern.
57
+ Installing a specific team or toolset skill also installs resources from that
58
+ skill's owning team or toolset. You will also be prompted to optionally include
59
+ skills from the shared library.
54
60
 
55
61
  ### Options
56
62
 
57
63
  | Flag | Description |
58
64
  | --- | --- |
59
65
  | `--target <dir>` | Install into a specific directory (defaults to cwd) |
60
- | `--ai-dir <path>` | Override the AI skills/resources directory (defaults to `docs/ai`) |
66
+ | `--ai-dir <path>` | Override the AI content directory (defaults to `docs/ai`) |
61
67
  | `--dry-run` | Preview what would be installed without writing files |
62
68
  | `--force` | Overwrite existing files without prompting |
63
69
  | `--skip-existing` | Skip files that already exist |
@@ -66,12 +72,15 @@ When installing a team's skills, you will be prompted to optionally include skil
66
72
  Parent-directory segments such as `../shared-ai` are supported so teams can keep
67
73
  AI docs in a workspace-level or shared location while client stubs stay in the
68
74
  target project. Use `--dry-run` first when trying a new install layout.
75
+ Direct `install` subcommands use these options instead of prompting for a
76
+ location. Interactive mode (`npx @groupby/ai-dev`) prompts for the AI content
77
+ directory before showing the final install summary.
69
78
 
70
79
  ## How it works
71
80
 
72
- 1. **Discovery** — The CLI scans bundled `skills/` and `teams/` directories for `SKILL.md` files and reads their YAML frontmatter (name, description, etc.).
81
+ 1. **Discovery** — The CLI scans bundled `skills/`, `teams/`, and `toolsets/` directories for `SKILL.md` files, team prompts, team resources, and other team content folders.
73
82
  2. **Client detection** — It checks the target project for known config directories (`.github/`, `.claude/`, `.agents/`) to determine which LLM clients are in use.
74
- 3. **Installation** — Each selected skill is copied into `<ai-dir>/skills/<name>/` (default: `docs/ai/skills/<name>/`) and a stub `SKILL.md` is generated in each client's skills directory pointing back to the full skill file.
83
+ 3. **Installation** — Each selected skill is copied into `<ai-dir>/skills/<name>/` (default: `docs/ai/skills/<name>/`) and a stub `SKILL.md` is generated in each client's skills directory pointing back to the full skill file. Team prompts, resources, and other content folders are copied beside `skills/`, such as `<ai-dir>/prompts/` and `<ai-dir>/resources/`. Installing a skill also installs resources from its owning team or toolset.
75
84
  4. **Conflict handling** — If a file already exists and its content differs, you are prompted to overwrite or skip (unless `--force` or `--skip-existing` is set).
76
85
  5. **Path patching** — When `--ai-dir` is set to a non-default value, any `docs/ai/` references inside installed `.md` files are replaced with the custom path so LLMs can find resource files at runtime.
77
86