takomi 2.0.5 → 2.0.7
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 +35 -27
- package/assets/.agent/skills/21st-dev-components/21st-handoff.md +146 -0
- package/assets/.agent/skills/21st-dev-components/SKILL.md +198 -0
- package/assets/.agent/skills/21st-dev-components/references/categories.md +91 -0
- package/assets/.agent/skills/21st-dev-components/references/manual-handoff-template.md +79 -0
- package/assets/.agent/skills/21st-dev-components/references/section-detection-rubric.md +59 -0
- package/assets/.agent/skills/21st-dev-components/scripts/_shared.mjs +304 -0
- package/assets/.agent/skills/21st-dev-components/scripts/build-manual-handoff-template.mjs +115 -0
- package/assets/.agent/skills/21st-dev-components/scripts/fetch-21st-source.mjs +65 -0
- package/assets/.agent/skills/21st-dev-components/scripts/resolve-21st-component.mjs +115 -0
- package/assets/.agent/skills/code-review/SKILL.md +34 -81
- package/assets/.agent/skills/jstar-reviewer/SKILL.md +229 -0
- package/assets/.agent/skills/jstar-reviewer/agents/openai.yaml +7 -0
- package/assets/.agent/skills/takomi/workflows/review_code.md +96 -133
- package/assets/.agent/skills/takomi/workflows/spawn-jstar-code-review.md +161 -121
- package/assets/.agent/workflows/review_code.md +96 -133
- package/assets/.agent/workflows/spawn-jstar-code-review.md +161 -121
- package/package.json +7 -3
- package/src/cli.js +7 -7
- package/src/harness.js +13 -0
|
@@ -1,121 +1,161 @@
|
|
|
1
|
-
---
|
|
2
|
-
description:
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /spawn-jstar -
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
```
|
|
1
|
+
---
|
|
2
|
+
description: Install J-Star Reviewer in the current repository and set up the up-to-date review and audit flows.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /spawn-jstar - Install J-Star Reviewer in This Repository
|
|
6
|
+
|
|
7
|
+
Use this workflow to install the `jstar-reviewer` npm package and wire the repository for both code review and security audit.
|
|
8
|
+
|
|
9
|
+
## Core Rule
|
|
10
|
+
|
|
11
|
+
`review` and `audit` are separate steps.
|
|
12
|
+
|
|
13
|
+
For a serious verification pass, run both. Do not present one as a substitute for the other.
|
|
14
|
+
|
|
15
|
+
## Command Prefix
|
|
16
|
+
|
|
17
|
+
Examples below use `jstar`.
|
|
18
|
+
|
|
19
|
+
If you do not want a global install, replace `jstar` with `npx jstar-reviewer`.
|
|
20
|
+
|
|
21
|
+
## 1. Prerequisites
|
|
22
|
+
|
|
23
|
+
- Node.js 18+
|
|
24
|
+
- Git repository
|
|
25
|
+
- Gemini API key
|
|
26
|
+
- Groq API key
|
|
27
|
+
|
|
28
|
+
## 2. Install the CLI
|
|
29
|
+
|
|
30
|
+
Preferred:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pnpm add -g jstar-reviewer
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Fallback:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm install -g jstar-reviewer
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
No global install:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npx jstar-reviewer --help
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 3. Set Up the Repository
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
jstar setup
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
This should create or update:
|
|
55
|
+
- `.jstar/`
|
|
56
|
+
- `.env.example`
|
|
57
|
+
- `.gitignore`
|
|
58
|
+
|
|
59
|
+
## 4. Create `.env.local`
|
|
60
|
+
|
|
61
|
+
PowerShell:
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
Copy-Item .env.example .env.local
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
POSIX shell:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
cp .env.example .env.local
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Required variables:
|
|
74
|
+
|
|
75
|
+
```env
|
|
76
|
+
GEMINI_API_KEY=your_gemini_key
|
|
77
|
+
GROQ_API_KEY=your_groq_key
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Optional but useful:
|
|
81
|
+
|
|
82
|
+
```env
|
|
83
|
+
GEMINI_EMBEDDING_MODEL=gemini-embedding-001
|
|
84
|
+
REVIEW_MODEL_NAME=moonshotai/kimi-k2-instruct-0905
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## 5. Build the Local Index
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
jstar init
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
If indexing fails with a Google 404 for the embedding model, set:
|
|
94
|
+
|
|
95
|
+
```env
|
|
96
|
+
GEMINI_EMBEDDING_MODEL=gemini-embedding-001
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## 6. First Verification Pass
|
|
100
|
+
|
|
101
|
+
### Option A: Interactive user flow
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
jstar review
|
|
105
|
+
jstar audit
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Use this when the user wants the normal CLI/TUI experience.
|
|
109
|
+
|
|
110
|
+
### Option B: Agent automation flow
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
jstar review --json > .jstar/last-review.json
|
|
114
|
+
jstar audit --json > .jstar/audit_report.json
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Use this when an agent needs machine-readable output.
|
|
118
|
+
|
|
119
|
+
### Option C: Review debate flow
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
jstar chat --headless
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Headless commands:
|
|
126
|
+
- `{"action":"list"}`
|
|
127
|
+
- `{"action":"debate","issueId":0,"argument":"..."}`
|
|
128
|
+
- `{"action":"ignore","issueId":0}`
|
|
129
|
+
- `{"action":"accept","issueId":0}`
|
|
130
|
+
- `{"action":"exit"}`
|
|
131
|
+
|
|
132
|
+
## 7. Common Target Modes
|
|
133
|
+
|
|
134
|
+
Staged changes:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
jstar review
|
|
138
|
+
jstar audit
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Last commit:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
jstar review --last
|
|
145
|
+
jstar audit --last
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Branch or PR scope:
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
jstar review --pr
|
|
152
|
+
jstar audit --pr
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Outputs
|
|
156
|
+
|
|
157
|
+
- `.jstar/last-review.md`
|
|
158
|
+
- `.jstar/session.json`
|
|
159
|
+
- `.jstar/audit_report.md`
|
|
160
|
+
- `.jstar/audit_report.json`
|
|
161
|
+
- `.jstar/audit-ignore.json`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "takomi",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "🎯 Stop wrestling with AI. Start building with purpose. The artisan's toolkit
|
|
3
|
+
"version": "2.0.7",
|
|
4
|
+
"description": "🎯 Stop wrestling with AI. Start building with purpose. The artisan's toolkit for agent workflows, Codex skills, and original Takomi capabilities like 21st.dev integration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"takomi": "./bin/takomi.js"
|
|
@@ -21,13 +21,17 @@
|
|
|
21
21
|
"keywords": [
|
|
22
22
|
"takomi",
|
|
23
23
|
"ai",
|
|
24
|
+
"skills",
|
|
25
|
+
"codex",
|
|
26
|
+
"agentic",
|
|
27
|
+
"21st.dev",
|
|
24
28
|
"vibecode",
|
|
25
29
|
"cursor",
|
|
26
30
|
"windsurf",
|
|
27
31
|
"protocols"
|
|
28
32
|
],
|
|
29
33
|
"author": "J StaR Films Studios",
|
|
30
|
-
"license": "
|
|
34
|
+
"license": "UNLICENSED",
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"commander": "^13.1.0",
|
|
33
37
|
"figlet": "^1.8.0",
|
package/src/cli.js
CHANGED
|
@@ -160,11 +160,11 @@ async function init() {
|
|
|
160
160
|
// Handle Skills
|
|
161
161
|
if (response.skillMode === 'core') {
|
|
162
162
|
console.log(pc.green('✔ Downloading Core Skills...'));
|
|
163
|
-
const coreSkills = [
|
|
164
|
-
'takomi',
|
|
165
|
-
'ai-sdk', 'code-review', 'component-analysis',
|
|
166
|
-
'nextjs-standards', 'security-audit', 'spawn-task',
|
|
167
|
-
'stitch', 'sync-docs'
|
|
163
|
+
const coreSkills = [
|
|
164
|
+
'takomi',
|
|
165
|
+
'ai-sdk', 'code-review', 'component-analysis',
|
|
166
|
+
'nextjs-standards', 'security-audit', 'spawn-task',
|
|
167
|
+
'stitch', 'sync-docs'
|
|
168
168
|
];
|
|
169
169
|
await copySpecificSkills(coreSkills, skillsDest);
|
|
170
170
|
} else if (response.skillMode === 'all') {
|
|
@@ -220,7 +220,7 @@ async function install() {
|
|
|
220
220
|
|
|
221
221
|
if (detected.length === 0) {
|
|
222
222
|
console.log(pc.yellow(' No AI harnesses detected on this machine.'));
|
|
223
|
-
console.log(pc.dim(' We support: Antigravity, KiloCode, Windsurf, Cursor, Gemini CLI'));
|
|
223
|
+
console.log(pc.dim(' We support: Antigravity, KiloCode, Windsurf, Codex, Cursor, Gemini CLI'));
|
|
224
224
|
console.log(pc.dim(' Run "takomi init" instead for per-project setup.\n'));
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
@@ -535,7 +535,7 @@ async function harnesses() {
|
|
|
535
535
|
program
|
|
536
536
|
.name('takomi')
|
|
537
537
|
.description('Your AI team. Activated. 🎯')
|
|
538
|
-
.version('2.0.
|
|
538
|
+
.version('2.0.7');
|
|
539
539
|
|
|
540
540
|
// Per-project setup (backward compatible)
|
|
541
541
|
program
|
package/src/harness.js
CHANGED
|
@@ -73,6 +73,19 @@ export const HARNESS_MAP = {
|
|
|
73
73
|
},
|
|
74
74
|
},
|
|
75
75
|
|
|
76
|
+
codex: {
|
|
77
|
+
name: 'Codex',
|
|
78
|
+
rootPath: path.join(HOME, '.codex'),
|
|
79
|
+
detect() {
|
|
80
|
+
return fs.existsSync(this.rootPath);
|
|
81
|
+
},
|
|
82
|
+
targets: {
|
|
83
|
+
skills: path.join(HOME, '.codex', 'skills'),
|
|
84
|
+
workflows: null,
|
|
85
|
+
yamls: null,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
|
|
76
89
|
cursor: {
|
|
77
90
|
name: 'Cursor',
|
|
78
91
|
rootPath: path.join(HOME, '.cursor'),
|