@ranimontagna/agent-toolkit 0.1.28 → 0.1.30

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.30
4
+
5
+ - onboard-repo: fixed the runtime-selection guidance — bare runtime flags
6
+ are mutually exclusive, so the skill now instructs
7
+ `--all-runtimes --no-gemini --no-antigravity` for multi-runtime installs.
8
+
9
+ ## 0.1.29
10
+
11
+ - Added the bundled `onboard-repo` skill (`core` package): detects a
12
+ repository's stack, installs the matching toolkit skills, and organizes the
13
+ agent docs (canonical `AGENTS.md`, pointer `CLAUDE.md`, optional MCP
14
+ config), ending with a report of what was installed and skipped.
15
+
3
16
  ## 0.1.28
4
17
 
5
18
  - Frontend Skills: replaced Taste Skill with Vercel's Web Design Guidelines
package/README.md CHANGED
@@ -178,6 +178,8 @@ skills/
178
178
  core/
179
179
  agent-toolkit-maintainer/
180
180
  SKILL.md
181
+ onboard-repo/
182
+ SKILL.md
181
183
  backend/
182
184
  api/
183
185
  api-design/
@@ -355,6 +357,7 @@ Follow these steps...
355
357
  | Package | Skill | Source |
356
358
  |---|---|---|
357
359
  | `core` | `agent-toolkit-maintainer` | Maintained in this repository |
360
+ | `core` | `onboard-repo` | Maintained in this repository |
358
361
  | `backend` | `api-design` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/api-design) under the MIT license |
359
362
  | `backend` | `postgres-patterns` | Adapted from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/postgres-patterns) and [`sickn33/antigravity-awesome-skills`](https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/postgresql), both under the MIT license |
360
363
  | `backend` | `fastify-best-practices` | Copied from Matteo Collina's [`mcollina/skills`](https://github.com/mcollina/skills/tree/main/skills/fastify) under the MIT license |
@@ -599,6 +602,8 @@ skills/
599
602
  core/
600
603
  agent-toolkit-maintainer/
601
604
  SKILL.md
605
+ onboard-repo/
606
+ SKILL.md
602
607
  backend/
603
608
  fastify-best-practices/
604
609
  SKILL.md
@@ -688,8 +693,8 @@ Release a new npm version by updating `package.json`, pushing the change to
688
693
  `main`, then pushing a matching tag:
689
694
 
690
695
  ```bash
691
- git tag v0.1.28
692
- git push origin v0.1.28
696
+ git tag v0.1.30
697
+ git push origin v0.1.30
693
698
  ```
694
699
 
695
700
  For normal releases, prefer the scripted flow. It bumps `package.json`, updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranimontagna/agent-toolkit",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "Personal AI agent toolkit installer for Claude Code, Codex CLI, OpenCode, Gemini CLI, Antigravity and graph-aware workflows.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: onboard-repo
3
+ description: Use when setting up a repository for AI-assisted development - detect the stack, install the right skills through the Agent Toolkit, and organize the agent docs (AGENTS.md, CLAUDE.md, MCP config). Trigger phrases include "onboard this repo", "set up this project for AI", "which skills fit this repository", or "organize the agent config here".
4
+ ---
5
+
6
+ # Onboard Repo
7
+
8
+ Set up the current repository for AI-assisted development in three passes:
9
+ detect the stack, install matching skills, and organize the agent docs.
10
+ Report what you did and what you skipped at the end.
11
+
12
+ Do not run installs or write files before completing the detection pass and
13
+ showing the user your plan. Ask before overwriting any existing file.
14
+
15
+ ## Pass 1 — Detect the stack
16
+
17
+ Inspect the repository (prefer fast reads over full scans):
18
+
19
+ - Manifests: `package.json` (+ workspaces), `pyproject.toml`, `go.mod`,
20
+ `Cargo.toml`, `Gemfile`.
21
+ - Frameworks and libraries in dependencies: React, React Native, Astro,
22
+ Next.js, Vue, GSAP, Tailwind, Playwright, Vitest/Jest.
23
+ - Structure: monorepo (turbo/nx/pnpm workspaces), apps vs packages, CI
24
+ workflows, existing tests.
25
+ - Existing agent config: `AGENTS.md`, `CLAUDE.md`, `.mcp.json`, `RTK.md`,
26
+ `.rtk/`, skill directories, `.agents/`, `.codex/` (never modify or delete
27
+ agent-state directories you did not create).
28
+
29
+ Summarize findings in a few lines before proposing anything.
30
+
31
+ ## Pass 2 — Choose and install skills
32
+
33
+ Map the detected stack to skills using this table, then install with a single
34
+ Agent Toolkit run using only the flags that apply:
35
+
36
+ | Signal | Skills | Toolkit selector |
37
+ |---|---|---|
38
+ | Any repo | grilling interviews, domain modeling | `--planning-skills-only` |
39
+ | Frontend (React/Vue/Astro/CSS-heavy) | Impeccable, Web Design Guidelines, React Doctor | `--frontend-skills-only` |
40
+ | Frontend | bundled `frontend` package (accessibility, design, gsap, react, react-native, astro — pick relevant) | `--skills-only` with `--skills-package frontend` |
41
+ | Backend/API services | bundled `backend` package | `--skills-only` with `--skills-package backend` |
42
+ | Infra/CI-heavy | bundled `devops` package | `--skills-only` with `--skills-package devops` |
43
+ | Codebase feels tangled or user asks for audits | Improve | `--improve-only` |
44
+
45
+ Notes:
46
+
47
+ - Combine selections into as few toolkit invocations as possible; each
48
+ invocation is `npx -y @ranimontagna/agent-toolkit <flags>` plus runtime
49
+ selection. Bare runtime flags are mutually exclusive - to target several
50
+ runtimes use `--all-runtimes` with `--no-<runtime>` exclusions (default:
51
+ `--all-runtimes --no-gemini --no-antigravity`).
52
+ - Skip anything already installed (check the runtime skill directories first).
53
+ - Do not install skills for stacks the repo does not use; fewer, sharper
54
+ skills beat a pile of unused ones.
55
+
56
+ ## Pass 3 — Organize the agent docs
57
+
58
+ Follow this layout (create lazily, ask before overwriting):
59
+
60
+ - **`AGENTS.md`** — the canonical instruction file. Sections: project purpose
61
+ (one paragraph), stack and commands (dev/build/test/lint), repository rules
62
+ the agent must follow, available skills and when to reach for them, MCP
63
+ servers if any. Keep it under ~120 lines; link out instead of inlining long
64
+ docs.
65
+ - **`CLAUDE.md`** — minimal pointer only:
66
+
67
+ ```markdown
68
+ # Claude Instructions
69
+
70
+ Read and follow `AGENTS.md` for this project.
71
+ ```
72
+
73
+ - **`.mcp.json`** — only when the project benefits from specific MCP servers
74
+ (e.g. Playwright for browser validation, Firecrawl for research). Reference
75
+ env vars like `${FIRECRAWL_API_KEY}`; never hardcode secrets.
76
+ - **`RTK.md` / `.rtk/`** — only when the user uses RTK in this repo.
77
+
78
+ If an `AGENTS.md` already exists, update it (add the skills section, fix stale
79
+ commands) instead of rewriting it. Preserve the existing voice and structure.
80
+
81
+ ## Final report
82
+
83
+ End with a short report:
84
+
85
+ 1. Stack detected (one line).
86
+ 2. Skills installed (and for which runtimes) vs skipped-as-present.
87
+ 3. Files created or updated.
88
+ 4. Anything deliberately left out and why (e.g. "no MCP config — no browser
89
+ or research flows in this repo").