@ranimontagna/agent-toolkit 0.1.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/LICENSE +21 -0
- package/README.md +426 -0
- package/dist/bin/agent-toolkit.d.ts +2 -0
- package/dist/bin/agent-toolkit.js +14 -0
- package/dist/bin/agent-toolkit.js.map +1 -0
- package/dist/src/args.d.ts +1 -0
- package/dist/src/args.js +152 -0
- package/dist/src/args.js.map +1 -0
- package/dist/src/checksum.d.ts +2 -0
- package/dist/src/checksum.js +9 -0
- package/dist/src/checksum.js.map +1 -0
- package/dist/src/context.d.ts +3 -0
- package/dist/src/context.js +10 -0
- package/dist/src/context.js.map +1 -0
- package/dist/src/installers/caveman.d.ts +1 -0
- package/dist/src/installers/caveman.js +23 -0
- package/dist/src/installers/caveman.js.map +1 -0
- package/dist/src/installers/frontend-skills.d.ts +1 -0
- package/dist/src/installers/frontend-skills.js +82 -0
- package/dist/src/installers/frontend-skills.js.map +1 -0
- package/dist/src/installers/graphify.d.ts +1 -0
- package/dist/src/installers/graphify.js +58 -0
- package/dist/src/installers/graphify.js.map +1 -0
- package/dist/src/installers/gsd.d.ts +1 -0
- package/dist/src/installers/gsd.js +19 -0
- package/dist/src/installers/gsd.js.map +1 -0
- package/dist/src/installers/rtk.d.ts +1 -0
- package/dist/src/installers/rtk.js +158 -0
- package/dist/src/installers/rtk.js.map +1 -0
- package/dist/src/installers/superpowers.d.ts +1 -0
- package/dist/src/installers/superpowers.js +73 -0
- package/dist/src/installers/superpowers.js.map +1 -0
- package/dist/src/logger.d.ts +18 -0
- package/dist/src/logger.js +35 -0
- package/dist/src/logger.js.map +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/main.js +104 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/menu.d.ts +1 -0
- package/dist/src/menu.js +98 -0
- package/dist/src/menu.js.map +1 -0
- package/dist/src/provenance.d.ts +1 -0
- package/dist/src/provenance.js +44 -0
- package/dist/src/provenance.js.map +1 -0
- package/dist/src/runtimes.d.ts +7 -0
- package/dist/src/runtimes.js +123 -0
- package/dist/src/runtimes.js.map +1 -0
- package/dist/src/skills.d.ts +12 -0
- package/dist/src/skills.js +247 -0
- package/dist/src/skills.js.map +1 -0
- package/dist/src/state.d.ts +51 -0
- package/dist/src/state.js +137 -0
- package/dist/src/state.js.map +1 -0
- package/dist/src/system.d.ts +21 -0
- package/dist/src/system.js +109 -0
- package/dist/src/system.js.map +1 -0
- package/dist/src/tool-lock.d.ts +60 -0
- package/dist/src/tool-lock.js +109 -0
- package/dist/src/tool-lock.js.map +1 -0
- package/dist/src/ui.d.ts +3 -0
- package/dist/src/ui.js +41 -0
- package/dist/src/ui.js.map +1 -0
- package/dist/src/usage.d.ts +1 -0
- package/dist/src/usage.js +66 -0
- package/dist/src/usage.js.map +1 -0
- package/package.json +50 -0
- package/setup-agent-toolkit.sh +20 -0
- package/skills/core/agent-toolkit-maintainer/SKILL.md +68 -0
- package/tools.lock.json +84 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
5
|
+
|
|
6
|
+
if ! command -v node >/dev/null 2>&1; then
|
|
7
|
+
echo "Node.js 22+ is required to run Agent Toolkit." >&2
|
|
8
|
+
echo "Install Node.js, then run this command again." >&2
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
CLI_ENTRYPOINT="$SCRIPT_DIR/dist/bin/agent-toolkit.js"
|
|
13
|
+
|
|
14
|
+
if [[ ! -f "$CLI_ENTRYPOINT" ]]; then
|
|
15
|
+
echo "Agent Toolkit build not found: dist/bin/agent-toolkit.js" >&2
|
|
16
|
+
echo "Run npm install && npm run build, then run this command again." >&2
|
|
17
|
+
exit 1
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
exec node "$CLI_ENTRYPOINT" "$@"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-toolkit-maintainer
|
|
3
|
+
description: Use when modifying, publishing, or validating the Agent Toolkit installer, bundled personal skills, runtime support, README, or public-safe repository hygiene.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Toolkit Maintainer
|
|
7
|
+
|
|
8
|
+
Use this skill when working in the Agent Toolkit repository.
|
|
9
|
+
|
|
10
|
+
## Priorities
|
|
11
|
+
|
|
12
|
+
- Keep the repository public-safe: no internal company names, private URLs, tokens, or credentials.
|
|
13
|
+
- Keep the installer focused on Claude Code, Codex CLI, OpenCode and Gemini CLI.
|
|
14
|
+
- Keep bundled skills organized by scope under `skills/<scope>/<skill-name>/SKILL.md`.
|
|
15
|
+
- Keep third-party skills out of `skills/`; install them through CLI-backed tool installers.
|
|
16
|
+
- Install skills flat into runtime skill directories using the skill directory name.
|
|
17
|
+
- Prefer configurable sources over hard-coded local paths.
|
|
18
|
+
- Keep external tool defaults pinned in `tools.lock.json`; do not reintroduce mutable defaults like `@latest`.
|
|
19
|
+
- Use `rtk` for shell commands when the local project instructions require it.
|
|
20
|
+
- Use Conventional Commits for repository commits.
|
|
21
|
+
|
|
22
|
+
## Installer Changes
|
|
23
|
+
|
|
24
|
+
When changing `bin/agent-toolkit.ts`, `src/**/*.ts` or `setup-agent-toolkit.sh`:
|
|
25
|
+
|
|
26
|
+
1. Add or update focused Vitest tests in `tests/unit/` for pure module behavior.
|
|
27
|
+
2. Add or update behavior tests in `tests/test-agent-toolkit.sh` for installer flows.
|
|
28
|
+
3. Keep `bin/agent-toolkit.ts` as a thin entrypoint into `src/main.ts`.
|
|
29
|
+
4. Keep each install concern in a focused module under `src/installers/`.
|
|
30
|
+
5. Keep TypeScript imports using `.js` extensions so compiled ESM works in Node.
|
|
31
|
+
6. Keep the published runtime CLI dependency-free unless there is a strong reason to add a production package.
|
|
32
|
+
7. Keep `package.json` bin entries pointed at `dist/bin/agent-toolkit.js`.
|
|
33
|
+
8. Preserve non-interactive flags for automation.
|
|
34
|
+
9. Keep interactive runs explicit: the user should select tools, runtimes and skill scopes.
|
|
35
|
+
10. Keep external source provenance checks active unless an explicit override is documented.
|
|
36
|
+
11. Do not make runtime support claims unless the install path is implemented.
|
|
37
|
+
12. Run TypeScript build/typecheck, Biome, Vitest and the integration test before claiming completion.
|
|
38
|
+
13. Run lint and tests before every commit.
|
|
39
|
+
|
|
40
|
+
## Skill Changes
|
|
41
|
+
|
|
42
|
+
When adding a personal skill:
|
|
43
|
+
|
|
44
|
+
1. Create `skills/<scope>/<skill-name>/SKILL.md`.
|
|
45
|
+
2. Use concise YAML frontmatter with `name` and `description`.
|
|
46
|
+
3. Keep `SKILL.md` procedural and short.
|
|
47
|
+
4. Move large examples or detailed references into `references/`.
|
|
48
|
+
5. Do not add README or changelog files inside a skill directory.
|
|
49
|
+
|
|
50
|
+
When adding third-party skills, add a dedicated installer or extend an existing
|
|
51
|
+
external-skill installer, pin sources in `tools.lock.json`, and document the
|
|
52
|
+
license/source in README.
|
|
53
|
+
|
|
54
|
+
## Verification
|
|
55
|
+
|
|
56
|
+
Run:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
rtk npm run check
|
|
60
|
+
rtk npm run security
|
|
61
|
+
rtk npm run lint
|
|
62
|
+
rtk npm run build
|
|
63
|
+
rtk npm run typecheck
|
|
64
|
+
rtk npm run test:unit
|
|
65
|
+
rtk npm run test:integration
|
|
66
|
+
rtk rg -n "private-company-or-old-tooling-pattern" .
|
|
67
|
+
rtk graphify update .
|
|
68
|
+
```
|
package/tools.lock.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"tools": {
|
|
4
|
+
"rtk": {
|
|
5
|
+
"source": "github-release",
|
|
6
|
+
"repository": "rtk-ai/rtk",
|
|
7
|
+
"tag": "v0.42.1",
|
|
8
|
+
"assets": {
|
|
9
|
+
"rtk-aarch64-apple-darwin.tar.gz": {
|
|
10
|
+
"sha256": "401d72a80c0efc597ae9469f053ce51c70334ea427527464ab76f8e298da2447"
|
|
11
|
+
},
|
|
12
|
+
"rtk-aarch64-unknown-linux-gnu.tar.gz": {
|
|
13
|
+
"sha256": "32f4d78766e2f5b43756efce3c699dc4da8beef5296deb02fa7756f3257eb25c"
|
|
14
|
+
},
|
|
15
|
+
"rtk-x86_64-apple-darwin.tar.gz": {
|
|
16
|
+
"sha256": "6165d80f40db0f46f8af2ea15d0132e957e2717aa74507906c7ce5b3c20c655e"
|
|
17
|
+
},
|
|
18
|
+
"rtk-x86_64-pc-windows-msvc.zip": {
|
|
19
|
+
"sha256": "5f292b031595405671b41e29aa5016931e8598949c25d9751f0eebd2eccefe0b"
|
|
20
|
+
},
|
|
21
|
+
"rtk-x86_64-unknown-linux-musl.tar.gz": {
|
|
22
|
+
"sha256": "a37ca300a42510a964453f2bc2e217769ef0872780af802db8a7d698f1da2465"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"caveman": {
|
|
27
|
+
"source": "github",
|
|
28
|
+
"repository": "JuliusBrussee/caveman",
|
|
29
|
+
"ref": "655b7d9c5431f822264b7732e9901c5578ac84cf"
|
|
30
|
+
},
|
|
31
|
+
"graphify": {
|
|
32
|
+
"source": "pypi",
|
|
33
|
+
"package": "graphifyy",
|
|
34
|
+
"version": "0.8.31"
|
|
35
|
+
},
|
|
36
|
+
"gsd": {
|
|
37
|
+
"source": "npm",
|
|
38
|
+
"package": "get-shit-done-cc",
|
|
39
|
+
"version": "1.42.3"
|
|
40
|
+
},
|
|
41
|
+
"frontendSkills": {
|
|
42
|
+
"source": "skills-cli",
|
|
43
|
+
"skillsCli": {
|
|
44
|
+
"source": "npm",
|
|
45
|
+
"package": "skills",
|
|
46
|
+
"version": "1.5.10"
|
|
47
|
+
},
|
|
48
|
+
"impeccable": {
|
|
49
|
+
"source": "github",
|
|
50
|
+
"repository": "pbakaus/impeccable",
|
|
51
|
+
"ref": "1d5d745823aae7019044e8b0a621af4366dae224",
|
|
52
|
+
"skill": "impeccable"
|
|
53
|
+
},
|
|
54
|
+
"tasteSkill": {
|
|
55
|
+
"source": "github",
|
|
56
|
+
"repository": "Leonxlnx/taste-skill",
|
|
57
|
+
"ref": "3c7017d636c3a4aad378433ea6d0cfa6c921da4a",
|
|
58
|
+
"skill": "design-taste-frontend"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"runtimeClis": {
|
|
63
|
+
"claude": {
|
|
64
|
+
"source": "npm",
|
|
65
|
+
"package": "@anthropic-ai/claude-code",
|
|
66
|
+
"version": "2.1.162"
|
|
67
|
+
},
|
|
68
|
+
"codex": {
|
|
69
|
+
"source": "npm",
|
|
70
|
+
"package": "@openai/codex",
|
|
71
|
+
"version": "0.137.0"
|
|
72
|
+
},
|
|
73
|
+
"opencode": {
|
|
74
|
+
"source": "npm",
|
|
75
|
+
"package": "opencode-ai",
|
|
76
|
+
"version": "1.15.13"
|
|
77
|
+
},
|
|
78
|
+
"gemini": {
|
|
79
|
+
"source": "npm",
|
|
80
|
+
"package": "@google/gemini-cli",
|
|
81
|
+
"version": "0.45.0"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|