takomi 2.0.4 ā 2.0.6
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 +26 -2
- 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/SKILL.md +59 -0
- package/assets/.agent/skills/takomi/references/migration-map.md +28 -0
- package/assets/.agent/skills/takomi/workflows/agent_reset.md +173 -0
- package/assets/.agent/skills/takomi/workflows/escalate.md +112 -0
- package/assets/.agent/skills/takomi/workflows/migrate.md +135 -0
- package/assets/.agent/skills/takomi/workflows/mode-architect.md +422 -0
- package/assets/.agent/skills/takomi/workflows/mode-ask.md +294 -0
- package/assets/.agent/skills/takomi/workflows/mode-code.md +481 -0
- package/assets/.agent/skills/takomi/workflows/mode-debug.md +407 -0
- package/assets/.agent/skills/takomi/workflows/mode-orchestrator.md +222 -0
- package/assets/.agent/skills/takomi/workflows/mode-review.md +341 -0
- package/assets/.agent/skills/takomi/workflows/mode-visionary.md +186 -0
- package/assets/.agent/skills/takomi/workflows/optimize-agent-context.md +54 -0
- package/assets/.agent/skills/takomi/workflows/remotion-build.md +323 -0
- package/assets/.agent/skills/takomi/workflows/reverse_genesis.md +132 -0
- package/assets/.agent/skills/takomi/workflows/review_code.md +96 -0
- package/assets/.agent/skills/takomi/workflows/spawn-jstar-code-review.md +161 -0
- package/assets/.agent/skills/takomi/workflows/stitch.md +149 -0
- package/assets/.agent/skills/takomi/workflows/vibe-build.md +271 -0
- package/assets/.agent/skills/takomi/workflows/vibe-continueBuild.md +184 -0
- package/assets/.agent/skills/takomi/workflows/vibe-design.md +98 -0
- package/assets/.agent/skills/takomi/workflows/vibe-finalize.md +208 -0
- package/assets/.agent/skills/takomi/workflows/vibe-genesis.md +191 -0
- package/assets/.agent/skills/takomi/workflows/vibe-primeAgent.md +110 -0
- package/assets/.agent/skills/takomi/workflows/vibe-spawnTask.md +188 -0
- package/assets/.agent/skills/takomi/workflows/vibe-syncDocs.md +90 -0
- package/assets/.agent/workflows/review_code.md +96 -133
- package/assets/.agent/workflows/spawn-jstar-code-review.md +161 -121
- package/package.json +1 -1
- package/src/cli.js +7 -6
- package/src/store.js +4 -3
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Document recent code changes by reviewing and updating feature docs
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Documentation Sync Workflow
|
|
6
|
+
|
|
7
|
+
This workflow updates `docs/features/` after major code changes.
|
|
8
|
+
|
|
9
|
+
## Prerequisites
|
|
10
|
+
- You have just completed a code change (feature, fix, refactor)
|
|
11
|
+
- You know which files were modified
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
### 1. Identify Changed Components
|
|
16
|
+
List the main files that were modified in the recent change. Focus on:
|
|
17
|
+
- `src/main/` (backend logic)
|
|
18
|
+
- `src/renderer/` (UI components)
|
|
19
|
+
- `src/shared/` (types, constants)
|
|
20
|
+
|
|
21
|
+
### 2. List Existing Feature Docs
|
|
22
|
+
// turbo
|
|
23
|
+
```bash
|
|
24
|
+
ls docs/features/
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### 3. Read Doc Names and Summaries
|
|
28
|
+
For each doc, read the first 20 lines to understand its scope:
|
|
29
|
+
// turbo
|
|
30
|
+
```bash
|
|
31
|
+
head -20 docs/features/*.md
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### 4. Determine Action
|
|
35
|
+
For each changed component, decide:
|
|
36
|
+
- **UPDATE** an existing doc if the feature already has documentation
|
|
37
|
+
- **CREATE** a new doc if this is a new feature or subsystem
|
|
38
|
+
- **SKIP** if the change is minor and already covered
|
|
39
|
+
|
|
40
|
+
### 5. Documentation Standards
|
|
41
|
+
Each feature doc should follow this template:
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
# Feature Name
|
|
45
|
+
|
|
46
|
+
## Overview
|
|
47
|
+
One paragraph explaining what this feature does.
|
|
48
|
+
|
|
49
|
+
## Architecture
|
|
50
|
+
- **Service/File:** `src/main/path/to/file.ts`
|
|
51
|
+
- **Dependencies:** List key dependencies
|
|
52
|
+
|
|
53
|
+
## Key Components
|
|
54
|
+
|
|
55
|
+
### Component 1
|
|
56
|
+
Explanation...
|
|
57
|
+
|
|
58
|
+
### Component 2
|
|
59
|
+
Explanation...
|
|
60
|
+
|
|
61
|
+
## Data Flow (optional)
|
|
62
|
+
Use mermaid diagrams for complex flows:
|
|
63
|
+
```mermaid
|
|
64
|
+
flowchart LR
|
|
65
|
+
A --> B --> C
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Configuration (if applicable)
|
|
69
|
+
| Setting | Type | Default | Description |
|
|
70
|
+
|---------|------|---------|-------------|
|
|
71
|
+
| ... | ... | ... | ... |
|
|
72
|
+
|
|
73
|
+
## Hotfixes / Changelog (optional)
|
|
74
|
+
Document significant bug fixes with dates:
|
|
75
|
+
### Hotfix YYYY-MM-DD: Brief Title
|
|
76
|
+
- **Problem:** What was broken
|
|
77
|
+
- **Solution:** How it was fixed
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 6. Write Updates
|
|
81
|
+
- If **UPDATE**: Use `view_file` to read the existing doc, then `replace_file_content` to add/modify sections.
|
|
82
|
+
- If **CREATE**: Use `write_to_file` to create a new doc following the template above.
|
|
83
|
+
|
|
84
|
+
### 7. Verify Links
|
|
85
|
+
Ensure any file paths mentioned in docs are correct (use backticks for paths).
|
|
86
|
+
|
|
87
|
+
### 8. Summary
|
|
88
|
+
After completion, list what was updated/created:
|
|
89
|
+
- Updated: `docs/features/foo.md` (added XYZ section)
|
|
90
|
+
- Created: `docs/features/bar.md` (new feature doc)
|
|
@@ -1,133 +1,96 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Run the J-Star
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# J-Star
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
##
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
```bash
|
|
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
|
-
## AI Agent Mode (Headless)
|
|
99
|
-
|
|
100
|
-
For programmatic interaction without TUI navigation, use headless mode.
|
|
101
|
-
|
|
102
|
-
### JSON Review (One-Shot)
|
|
103
|
-
Get findings as JSON for parsing:
|
|
104
|
-
// turbo
|
|
105
|
-
```bash
|
|
106
|
-
jstar review --json > .jstar/report.json
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Headless Chat (Interactive Protocol)
|
|
110
|
-
For debating specific issues via stdin/stdout:
|
|
111
|
-
```bash
|
|
112
|
-
echo '{"action": "list"}' | jstar chat --headless
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
**Commands:**
|
|
116
|
-
| Action | Parameters | Description |
|
|
117
|
-
|--------|------------|-------------|
|
|
118
|
-
| `list` | ā | List all current issues |
|
|
119
|
-
| `debate` | `issueId`, `argument` | Challenge an issue |
|
|
120
|
-
| `ignore` | `issueId` | Mark issue as ignored |
|
|
121
|
-
| `exit` | ā | End session, get final report |
|
|
122
|
-
|
|
123
|
-
See [Headless Mode Docs](../docs/features/headless-mode.md) for full protocol.
|
|
124
|
-
|
|
125
|
-
### AI Fix Cycle
|
|
126
|
-
```
|
|
127
|
-
1. jstar review --json ā Parse findings
|
|
128
|
-
2. Apply code fixes
|
|
129
|
-
3. git add . ā Stage changes
|
|
130
|
-
4. jstar init ā Update brain (if new files added)
|
|
131
|
-
5. jstar review --json ā Verify fixes
|
|
132
|
-
6. Repeat until P0/P1 = 0
|
|
133
|
-
```
|
|
1
|
+
---
|
|
2
|
+
description: Run the up-to-date J-Star review and audit loop for a change set.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# J-Star Review Workflow
|
|
6
|
+
|
|
7
|
+
Use this workflow when the repository already has J-Star installed and you need to verify a change set.
|
|
8
|
+
|
|
9
|
+
## Core Rule
|
|
10
|
+
|
|
11
|
+
`review` and `audit` are separate steps.
|
|
12
|
+
|
|
13
|
+
For a serious verification pass, run both.
|
|
14
|
+
|
|
15
|
+
## 1. Build the Local Index
|
|
16
|
+
|
|
17
|
+
If the repository is missing `.jstar/storage`, or if major files were added, run:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
jstar init
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 2. Choose the Scope
|
|
24
|
+
|
|
25
|
+
### Staged changes
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git add .
|
|
29
|
+
jstar review
|
|
30
|
+
jstar audit
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Last commit
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jstar review --last
|
|
37
|
+
jstar audit --last
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Branch or PR scope
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
jstar review --pr
|
|
44
|
+
jstar audit --pr
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## 3. Read the Outputs
|
|
48
|
+
|
|
49
|
+
Review outputs:
|
|
50
|
+
- `.jstar/last-review.md`
|
|
51
|
+
- `.jstar/session.json`
|
|
52
|
+
|
|
53
|
+
Audit outputs:
|
|
54
|
+
- `.jstar/audit_report.md`
|
|
55
|
+
- `.jstar/audit_report.json`
|
|
56
|
+
|
|
57
|
+
## 4. Fix Loop
|
|
58
|
+
|
|
59
|
+
Agent instructions:
|
|
60
|
+
1. Read both the review and audit outputs.
|
|
61
|
+
2. Prioritize review `P0_CRITICAL` and `P1_HIGH` issues first.
|
|
62
|
+
3. Prioritize audit `CRITICAL` and `HIGH` findings first.
|
|
63
|
+
4. Apply fixes.
|
|
64
|
+
5. Stage changes with `git add .`.
|
|
65
|
+
6. Re-run both `review` and `audit` for the same scope.
|
|
66
|
+
7. If only lower-priority review issues remain, stop when the remaining work is not worth another loop.
|
|
67
|
+
8. Maximum loops: 3. If issues persist, stop and ask the user.
|
|
68
|
+
|
|
69
|
+
## 5. False Positives and Debate
|
|
70
|
+
|
|
71
|
+
For review findings that need challenge or adjudication:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
jstar chat --headless
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Headless commands:
|
|
78
|
+
- `{"action":"list"}`
|
|
79
|
+
- `{"action":"debate","issueId":0,"argument":"..."}`
|
|
80
|
+
- `{"action":"ignore","issueId":0}`
|
|
81
|
+
- `{"action":"accept","issueId":0}`
|
|
82
|
+
- `{"action":"exit"}`
|
|
83
|
+
|
|
84
|
+
For known deterministic audit false positives, use:
|
|
85
|
+
- `.jstar/audit-ignore.json`
|
|
86
|
+
|
|
87
|
+
## 6. Automation Mode
|
|
88
|
+
|
|
89
|
+
Machine-readable review output:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
jstar review --json > .jstar/last-review.json
|
|
93
|
+
jstar audit --json > .jstar/audit_report.json
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Use `review --json` and `audit --json` for automation. Do not rely on `review --headless`.
|
|
@@ -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
package/src/cli.js
CHANGED
|
@@ -160,10 +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
|
-
'
|
|
165
|
-
'
|
|
166
|
-
'
|
|
163
|
+
const coreSkills = [
|
|
164
|
+
'takomi',
|
|
165
|
+
'ai-sdk', 'code-review', 'component-analysis',
|
|
166
|
+
'nextjs-standards', 'security-audit', 'spawn-task',
|
|
167
|
+
'stitch', 'sync-docs'
|
|
167
168
|
];
|
|
168
169
|
await copySpecificSkills(coreSkills, skillsDest);
|
|
169
170
|
} else if (response.skillMode === 'all') {
|
|
@@ -196,7 +197,7 @@ async function init() {
|
|
|
196
197
|
console.log(pc.white(`\nNext steps:`));
|
|
197
198
|
if (response.components.includes('agent')) {
|
|
198
199
|
console.log(pc.gray(`1. Your .agent folder is armed and ready.`));
|
|
199
|
-
console.log(pc.gray(`2.
|
|
200
|
+
console.log(pc.gray(`2. In Codex, say "use takomi genesis" (slash command optional).`));
|
|
200
201
|
}
|
|
201
202
|
console.log(pc.dim(`\nš” Pro tip: Run "takomi install" to sync this toolkit across all your IDEs.\n`));
|
|
202
203
|
|
|
@@ -263,7 +264,7 @@ async function install() {
|
|
|
263
264
|
name: 'skillMode',
|
|
264
265
|
message: 'Which skill pack?',
|
|
265
266
|
choices: [
|
|
266
|
-
{ title: 'Core (
|
|
267
|
+
{ title: 'Core (Takomi + essentials)', value: 'core', description: 'takomi, ai-sdk, code-review...' },
|
|
267
268
|
{ title: `All (${(await getSkills()).length} skills)`, value: 'all' },
|
|
268
269
|
{ title: 'Custom selection', value: 'custom' },
|
|
269
270
|
],
|
package/src/store.js
CHANGED
|
@@ -83,9 +83,10 @@ export async function populateSkills(mode) {
|
|
|
83
83
|
const storeSkills = path.join(STORE_PATH, 'skills');
|
|
84
84
|
await fs.ensureDir(storeSkills);
|
|
85
85
|
|
|
86
|
-
const coreSkills = [
|
|
87
|
-
'
|
|
88
|
-
'
|
|
86
|
+
const coreSkills = [
|
|
87
|
+
'takomi',
|
|
88
|
+
'ai-sdk', 'code-review', 'component-analysis', 'context7',
|
|
89
|
+
'nextjs-standards', 'security-audit', 'spawn-task', 'stitch',
|
|
89
90
|
];
|
|
90
91
|
|
|
91
92
|
let skillsToCopy = [];
|