takomi 2.0.4 → 2.0.5

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.
Files changed (30) hide show
  1. package/README.md +26 -2
  2. package/assets/.agent/skills/takomi/SKILL.md +59 -0
  3. package/assets/.agent/skills/takomi/references/migration-map.md +28 -0
  4. package/assets/.agent/skills/takomi/workflows/agent_reset.md +173 -0
  5. package/assets/.agent/skills/takomi/workflows/escalate.md +112 -0
  6. package/assets/.agent/skills/takomi/workflows/migrate.md +135 -0
  7. package/assets/.agent/skills/takomi/workflows/mode-architect.md +422 -0
  8. package/assets/.agent/skills/takomi/workflows/mode-ask.md +294 -0
  9. package/assets/.agent/skills/takomi/workflows/mode-code.md +481 -0
  10. package/assets/.agent/skills/takomi/workflows/mode-debug.md +407 -0
  11. package/assets/.agent/skills/takomi/workflows/mode-orchestrator.md +222 -0
  12. package/assets/.agent/skills/takomi/workflows/mode-review.md +341 -0
  13. package/assets/.agent/skills/takomi/workflows/mode-visionary.md +186 -0
  14. package/assets/.agent/skills/takomi/workflows/optimize-agent-context.md +54 -0
  15. package/assets/.agent/skills/takomi/workflows/remotion-build.md +323 -0
  16. package/assets/.agent/skills/takomi/workflows/reverse_genesis.md +132 -0
  17. package/assets/.agent/skills/takomi/workflows/review_code.md +133 -0
  18. package/assets/.agent/skills/takomi/workflows/spawn-jstar-code-review.md +121 -0
  19. package/assets/.agent/skills/takomi/workflows/stitch.md +149 -0
  20. package/assets/.agent/skills/takomi/workflows/vibe-build.md +271 -0
  21. package/assets/.agent/skills/takomi/workflows/vibe-continueBuild.md +184 -0
  22. package/assets/.agent/skills/takomi/workflows/vibe-design.md +98 -0
  23. package/assets/.agent/skills/takomi/workflows/vibe-finalize.md +208 -0
  24. package/assets/.agent/skills/takomi/workflows/vibe-genesis.md +191 -0
  25. package/assets/.agent/skills/takomi/workflows/vibe-primeAgent.md +110 -0
  26. package/assets/.agent/skills/takomi/workflows/vibe-spawnTask.md +188 -0
  27. package/assets/.agent/skills/takomi/workflows/vibe-syncDocs.md +90 -0
  28. package/package.json +1 -1
  29. package/src/cli.js +7 -6
  30. 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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takomi",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "šŸŽÆ Stop wrestling with AI. Start building with purpose. The artisan's toolkit that transforms AI from chatbot to development partner.",
5
5
  "type": "module",
6
6
  "bin": {
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
- 'ai-sdk', 'code-review', 'component-analysis',
165
- 'nextjs-standards', 'security-audit', 'spawn-task',
166
- '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'
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. Type '/init_vibecode_genesis' in your IDE to begin.`));
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 (8 essentials)', value: 'core', description: 'ai-sdk, code-review, nextjs-standards...' },
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
- 'ai-sdk', 'code-review', 'component-analysis', 'context7',
88
- 'nextjs-standards', 'security-audit', 'spawn-task', 'stitch',
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 = [];