rbin-task-flow 1.3.0 → 1.5.0
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/.cursor/rules/coding_standards.mdc +712 -0
- package/.cursor/rules/git_control.mdc +6 -5
- package/.cursor/rules/task_audit.mdc +158 -0
- package/.cursor/rules/task_execution.mdc +2 -0
- package/.cursor/rules/task_generation.mdc +37 -28
- package/.cursor/rules/task_work.mdc +11 -10
- package/.cursor/settings.json +1 -3
- package/.model-versions.json +1 -17
- package/.task-flow/contexts/example.png.txt +29 -0
- package/.task-flow/tasks.input.txt +6 -5
- package/CLAUDE.md +9 -0
- package/README.md +21 -64
- package/bin/cli.js +2 -2
- package/lib/install.js +6 -47
- package/lib/version.js +0 -4
- package/package.json +5 -8
- package/.gemini/settings.json +0 -5
- package/.task-flow/screens/example.png.txt +0 -23
- package/GEMINI.md +0 -38
package/README.md
CHANGED
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
5
|

|
|
6
|
-

|
|
7
6
|

|
|
8
7
|

|
|
9
8
|

|
|
10
9
|

|
|
11
10
|
|
|
12
|
-
**Configuração com um comando para Claude Code,
|
|
11
|
+
**Configuração com um comando para Claude Code, Cursor e RBIN Task Flow em qualquer projeto**
|
|
13
12
|
|
|
14
13
|
<div style="margin-top: 20px; margin-bottom: 20px;">
|
|
15
14
|
<a href="#português">🇧🇷 Português</a> | <a href="#english">🇬🇧 English</a>
|
|
@@ -36,13 +35,13 @@
|
|
|
36
35
|
|
|
37
36
|
## O Que É Este Projeto?
|
|
38
37
|
|
|
39
|
-
RBIN Task Flow é um sistema de gerenciamento de tarefas alimentado por IA que configura automaticamente Claude Code
|
|
38
|
+
RBIN Task Flow é um sistema de gerenciamento de tarefas alimentado por IA que configura automaticamente Claude Code e Cursor IDE em qualquer projeto. Você define tarefas em texto simples e a IA gera subtarefas detalhadas e acionáveis automaticamente.
|
|
40
39
|
|
|
41
40
|
**Principais benefícios:**
|
|
42
41
|
- ✅ Instalação global NPM - instale uma vez, use em qualquer projeto
|
|
43
42
|
- ✅ Zero configuração - pronto para usar imediatamente
|
|
44
43
|
- ✅ Gerenciamento simples - escreva tarefas em texto, a IA faz o resto
|
|
45
|
-
- ✅ Múltiplos modelos de IA - Claude
|
|
44
|
+
- ✅ Múltiplos modelos de IA - Claude e Cursor configurados
|
|
46
45
|
|
|
47
46
|
## Instalação
|
|
48
47
|
|
|
@@ -80,12 +79,13 @@ rbin-task-flow report <ids> # Gera relatório (ex: "1" ou "1,2" ou "all")
|
|
|
80
79
|
|
|
81
80
|
### Comandos da IA - Por Que Usar?
|
|
82
81
|
|
|
83
|
-
Após inicializar, use estes comandos na IA (Cursor/Claude
|
|
82
|
+
Após inicializar, use estes comandos na IA (Cursor/Claude) para gerenciar tarefas automaticamente:
|
|
84
83
|
|
|
85
84
|
| Comando | Por Que Usar | Feature Principal |
|
|
86
85
|
|---------|--------------|-------------------|
|
|
87
86
|
| `task-flow: sync` | **Sincroniza** tarefas do arquivo texto com o sistema | Mantém tudo sincronizado automaticamente - adiciona novas, remove deletadas, preserva seu progresso |
|
|
88
87
|
| `task-flow: think` | **Descobre** tarefas que você esqueceu | Analisa código e sugere tarefas que faltam (testes, refatoração, documentação) |
|
|
88
|
+
| `task-flow: audit` | **Avalia** o quanto o código bate com os padrões de codificação | Analisa a codebase, dá um score por categoria e pergunta quais melhorias você quer adotar — sem impor nada |
|
|
89
89
|
| `task-flow: status` | **Visualiza** o progresso rapidamente | Vê resumo com tasks completas, em andamento e quantas subtarefas faltam |
|
|
90
90
|
| `task-flow: run next X` | **Automatiza** o trabalho nas próximas subtarefas | A IA trabalha nas próximas X subtarefas sequencialmente, você só acompanha |
|
|
91
91
|
| `task-flow: run X` | **Completa** uma tarefa inteira de uma vez | Executa todas as subtarefas de uma tarefa específica (permite trabalho paralelo) |
|
|
@@ -116,13 +116,13 @@ cd meu-projeto && rbin-task-flow init
|
|
|
116
116
|
|
|
117
117
|
## Visão Geral
|
|
118
118
|
|
|
119
|
-
Repositório centralizado de configurações e regras de desenvolvimento que podem ser instaladas instantaneamente em qualquer projeto. Fornece configuração completa para Claude Code,
|
|
119
|
+
Repositório centralizado de configurações e regras de desenvolvimento que podem ser instaladas instantaneamente em qualquer projeto. Fornece configuração completa para Claude Code, Cursor IDE e RBIN Task Flow - um sistema simples de gerenciamento de tarefas alimentado por IA.
|
|
120
120
|
|
|
121
121
|
### Principais Recursos
|
|
122
122
|
|
|
123
123
|
- **Instalação Global NPM** - Instale uma vez, use em qualquer lugar com `npm install -g rbin-task-flow`
|
|
124
124
|
- **Gerenciamento Simples de Tarefas** - Defina tarefas em texto simples, a IA gera subtarefas detalhadas
|
|
125
|
-
- **Múltiplos Modelos de IA** - Claude Code Sonnet
|
|
125
|
+
- **Múltiplos Modelos de IA** - Claude Code Sonnet configurado e pronto para uso
|
|
126
126
|
- **.gitignore Discreto** - Configurações de IA ocultas com comentários genéricos
|
|
127
127
|
- **Zero Configuração** - Pronto para usar imediatamente
|
|
128
128
|
- **RBIN Task Flow** - Gerenciamento de tarefas alimentado por IA com interface de texto simples
|
|
@@ -131,7 +131,7 @@ Repositório centralizado de configurações e regras de desenvolvimento que pod
|
|
|
131
131
|
|
|
132
132
|
- **Sistema Operacional:** macOS, Linux ou Windows (WSL)
|
|
133
133
|
- **Ferramentas:** Git, Bash, Node.js
|
|
134
|
-
- **Necessário:** Claude Code CLI
|
|
134
|
+
- **Necessário:** Claude Code CLI ou Cursor IDE (com assinatura Pro)
|
|
135
135
|
|
|
136
136
|
### Alternativa: Instalação Legacy (Sem NPM)
|
|
137
137
|
|
|
@@ -165,9 +165,6 @@ seu-projeto/
|
|
|
165
165
|
├── .claude/
|
|
166
166
|
│ └── settings.json # Configurações do Claude Code
|
|
167
167
|
│
|
|
168
|
-
├── .gemini/
|
|
169
|
-
│ └── settings.json # Configurações do Gemini
|
|
170
|
-
│
|
|
171
168
|
├── .task-flow/ # RBIN Task Flow
|
|
172
169
|
│ ├── tasks.input.txt # Definições de tarefas em texto simples (edite isso!)
|
|
173
170
|
│ ├── tasks.status.md # ⚠️ Status das tarefas (atualizado automaticamente, NÃO EDITE)
|
|
@@ -182,7 +179,6 @@ seu-projeto/
|
|
|
182
179
|
|
|
183
180
|
Nenhuma configuração adicional necessária! Apenas certifique-se de ter:
|
|
184
181
|
- Claude Code CLI instalado, OU
|
|
185
|
-
- Acesso à API Gemini configurado, OU
|
|
186
182
|
- Cursor IDE com assinatura Pro ativa
|
|
187
183
|
|
|
188
184
|
**Você está pronto!**
|
|
@@ -207,13 +203,6 @@ O Claude Code vem pré-configurado com:
|
|
|
207
203
|
- Integração com RBIN Task Flow
|
|
208
204
|
- Melhores práticas de desenvolvimento
|
|
209
205
|
|
|
210
|
-
### Integração com Gemini
|
|
211
|
-
|
|
212
|
-
O Gemini vem pré-configurado com:
|
|
213
|
-
- Configurações personalizadas
|
|
214
|
-
- Integração com RBIN Task Flow
|
|
215
|
-
- Melhores práticas de desenvolvimento
|
|
216
|
-
|
|
217
206
|
## O Que Está Configurado
|
|
218
207
|
|
|
219
208
|
### Regras de Desenvolvimento
|
|
@@ -241,11 +230,9 @@ O instalador adiciona estas entradas ao `.gitignore`:
|
|
|
241
230
|
|
|
242
231
|
```gitignore
|
|
243
232
|
.claude/
|
|
244
|
-
.gemini/
|
|
245
233
|
.cursor/
|
|
246
234
|
.task-flow/
|
|
247
235
|
CLAUDE.md
|
|
248
|
-
GEMINI.md
|
|
249
236
|
```
|
|
250
237
|
|
|
251
238
|
**Por que discreto?**
|
|
@@ -290,9 +277,6 @@ rbin-task-flow/
|
|
|
290
277
|
├── .claude/
|
|
291
278
|
│ └── settings.json # Configurações do Claude Code
|
|
292
279
|
│
|
|
293
|
-
├── .gemini/
|
|
294
|
-
│ └── settings.json # Configurações do Gemini
|
|
295
|
-
│
|
|
296
280
|
├── .task-flow/
|
|
297
281
|
│ ├── README.md # Referência rápida de comandos
|
|
298
282
|
│ ├── tasks.input.txt # Template de definições de tarefas
|
|
@@ -304,7 +288,6 @@ rbin-task-flow/
|
|
|
304
288
|
├── .gitignore # Template gitignore
|
|
305
289
|
├── .model-versions.json # Referência de versão do modelo (atualize quando novos modelos forem lançados)
|
|
306
290
|
├── CLAUDE.md # Instruções principais do Claude
|
|
307
|
-
├── GEMINI.md # Instruções principais do Gemini
|
|
308
291
|
├── install.sh # Script de instalação
|
|
309
292
|
└── README.md # Este arquivo
|
|
310
293
|
```
|
|
@@ -315,11 +298,11 @@ rbin-task-flow/
|
|
|
315
298
|
- ✅ Use RBIN Task Flow em **projetos que recebem** as configurações via instalação
|
|
316
299
|
- 🔄 O instalador **sempre sobrescreve** configurações existentes
|
|
317
300
|
- 🤫 As entradas do .gitignore são **discretas** (sem menções a IA)
|
|
318
|
-
- 🎯 Funciona com **Claude Code CLI
|
|
301
|
+
- 🎯 Funciona com **Claude Code CLI** ou **Cursor Pro**
|
|
319
302
|
- 📦 O diretório Task Flow (`.task-flow/`) é **automaticamente gitignored**
|
|
320
303
|
- 📝 Defina tarefas em `.task-flow/tasks.input.txt` usando formato simples: `- Descrição da tarefa`
|
|
321
304
|
- 🚀 **Instalação Global NPM**: `npm install -g rbin-task-flow`, depois use `rbin-task-flow init` em qualquer projeto
|
|
322
|
-
- 🔒 **Chaves de API podem ser necessárias** - depende do seu provedor de IA (Claude Code
|
|
305
|
+
- 🔒 **Chaves de API podem ser necessárias** - depende do seu provedor de IA (Claude Code ou Cursor Pro)
|
|
323
306
|
- 🔔 **Verificação de versão do modelo** - Use `rbin-task-flow version-check` para verificar versões mais recentes dos modelos (verificação rápida e local)
|
|
324
307
|
|
|
325
308
|
## Atualizando Versões dos Modelos
|
|
@@ -337,16 +320,11 @@ Quando novas versões de modelos forem lançadas, atualize `.model-versions.json
|
|
|
337
320
|
"current": "claude-sonnet-4-5-20250929",
|
|
338
321
|
"latest": "NOVA_VERSÃO_AQUI",
|
|
339
322
|
"checkUrl": "https://docs.cursor.com/models"
|
|
340
|
-
},
|
|
341
|
-
"gemini": {
|
|
342
|
-
"current": "gemini-3-flash",
|
|
343
|
-
"latest": "NOVA_VERSÃO_AQUI",
|
|
344
|
-
"checkUrl": "https://ai.google.dev/models/gemini"
|
|
345
323
|
}
|
|
346
324
|
}
|
|
347
325
|
```
|
|
348
326
|
|
|
349
|
-
O instalador verificará automaticamente versões mais recentes dos modelos e **perguntará individualmente** se você deseja atualizar cada um (Claude, Cursor
|
|
327
|
+
O instalador verificará automaticamente versões mais recentes dos modelos e **perguntará individualmente** se você deseja atualizar cada um (Claude, Cursor). Esta verificação é **rápida e local** - sem chamadas de API, sem solicitações de rede, apenas uma simples comparação de strings.
|
|
350
328
|
|
|
351
329
|
**Atualizações Interativas:** Quando uma versão mais recente estiver disponível, o instalador irá:
|
|
352
330
|
- Mostrar versões atuais e mais recentes
|
|
@@ -401,13 +379,13 @@ Para problemas ou perguntas:
|
|
|
401
379
|
|
|
402
380
|
## What Is This Project?
|
|
403
381
|
|
|
404
|
-
RBIN Task Flow is an AI-powered task management system that automatically configures Claude Code
|
|
382
|
+
RBIN Task Flow is an AI-powered task management system that automatically configures Claude Code and Cursor IDE in any project. You define tasks in plain text and the AI automatically generates detailed, actionable subtasks.
|
|
405
383
|
|
|
406
384
|
**Key benefits:**
|
|
407
385
|
- ✅ Global NPM installation - install once, use in any project
|
|
408
386
|
- ✅ Zero configuration - ready to use immediately
|
|
409
387
|
- ✅ Simple management - write tasks in text, AI does the rest
|
|
410
|
-
- ✅ Multiple AI models - Claude
|
|
388
|
+
- ✅ Multiple AI models - Claude and Cursor configured
|
|
411
389
|
|
|
412
390
|
## Installation
|
|
413
391
|
|
|
@@ -445,12 +423,13 @@ rbin-task-flow report <ids> # Generate report (e.g., "1" or "1,2" or "all")
|
|
|
445
423
|
|
|
446
424
|
### AI Commands - Why Use Them?
|
|
447
425
|
|
|
448
|
-
After initializing, use these commands in your AI (Cursor/Claude
|
|
426
|
+
After initializing, use these commands in your AI (Cursor/Claude) to automatically manage tasks:
|
|
449
427
|
|
|
450
428
|
| Command | Why Use It | Key Feature |
|
|
451
429
|
|---------|------------|-------------|
|
|
452
430
|
| `task-flow: sync` | **Sync** tasks from text file with system | Keeps everything synchronized automatically - adds new, removes deleted, preserves your progress |
|
|
453
431
|
| `task-flow: think` | **Discover** tasks you forgot | Analyzes code and suggests missing tasks (tests, refactoring, documentation) |
|
|
432
|
+
| `task-flow: audit` | **Evaluate** how well your code matches coding standards | Scans the codebase, scores it by category and asks which improvements you want to adopt — never imposes changes |
|
|
454
433
|
| `task-flow: status` | **Visualize** progress quickly | See summary with completed tasks, in progress, and remaining subtasks |
|
|
455
434
|
| `task-flow: run next X` | **Automate** work on next subtasks | AI works on next X subtasks sequentially, you just follow along |
|
|
456
435
|
| `task-flow: run X` | **Complete** an entire task at once | Executes all subtasks of a specific task (allows parallel work) |
|
|
@@ -481,13 +460,13 @@ cd my-project && rbin-task-flow init
|
|
|
481
460
|
|
|
482
461
|
## Overview
|
|
483
462
|
|
|
484
|
-
A centralized repository of development configurations and rules that can be instantly installed in any project. Provides complete setup for Claude Code,
|
|
463
|
+
A centralized repository of development configurations and rules that can be instantly installed in any project. Provides complete setup for Claude Code, Cursor IDE, and RBIN Task Flow - a simple AI-powered task management system.
|
|
485
464
|
|
|
486
465
|
### Key Features
|
|
487
466
|
|
|
488
467
|
- **NPM Global Installation** - Install once, use everywhere with `npm install -g rbin-task-flow`
|
|
489
468
|
- **Simple Task Management** - Define tasks in plain text, AI generates detailed subtasks
|
|
490
|
-
- **Multiple AI Models** - Claude Code Sonnet
|
|
469
|
+
- **Multiple AI Models** - Claude Code Sonnet configured and ready to use
|
|
491
470
|
- **Discrete .gitignore** - AI configs hidden with generic comments
|
|
492
471
|
- **Zero Configuration** - Ready to use immediately
|
|
493
472
|
- **RBIN Task Flow** - AI-powered task management with simple text interface
|
|
@@ -496,7 +475,7 @@ A centralized repository of development configurations and rules that can be ins
|
|
|
496
475
|
|
|
497
476
|
- **Operating System:** macOS, Linux, or Windows (WSL)
|
|
498
477
|
- **Tools:** Git, Bash, Node.js
|
|
499
|
-
- **Required:** Claude Code CLI
|
|
478
|
+
- **Required:** Claude Code CLI or Cursor IDE (with Pro subscription)
|
|
500
479
|
|
|
501
480
|
### Alternative: Legacy Installation (Without NPM)
|
|
502
481
|
|
|
@@ -530,9 +509,6 @@ your-project/
|
|
|
530
509
|
├── .claude/
|
|
531
510
|
│ └── settings.json # Claude Code settings
|
|
532
511
|
│
|
|
533
|
-
├── .gemini/
|
|
534
|
-
│ └── settings.json # Gemini settings
|
|
535
|
-
│
|
|
536
512
|
├── .task-flow/ # RBIN Task Flow
|
|
537
513
|
│ ├── tasks.input.txt # Plain text task definitions (edit this!)
|
|
538
514
|
│ ├── tasks.status.md # ⚠️ Task status (auto-updated, DO NOT EDIT)
|
|
@@ -547,7 +523,6 @@ your-project/
|
|
|
547
523
|
|
|
548
524
|
No additional configuration required! Just make sure you have:
|
|
549
525
|
- Claude Code CLI installed, OR
|
|
550
|
-
- Gemini API access configured, OR
|
|
551
526
|
- Cursor IDE with an active Pro subscription
|
|
552
527
|
|
|
553
528
|
**You're ready!**
|
|
@@ -572,13 +547,6 @@ Claude Code is pre-configured with:
|
|
|
572
547
|
- RBIN Task Flow integration
|
|
573
548
|
- Development best practices
|
|
574
549
|
|
|
575
|
-
### Gemini Integration
|
|
576
|
-
|
|
577
|
-
Gemini is pre-configured with:
|
|
578
|
-
- Custom settings
|
|
579
|
-
- RBIN Task Flow integration
|
|
580
|
-
- Development best practices
|
|
581
|
-
|
|
582
550
|
## What's Configured
|
|
583
551
|
|
|
584
552
|
### Development Rules
|
|
@@ -606,11 +574,9 @@ The installer adds these entries to `.gitignore`:
|
|
|
606
574
|
|
|
607
575
|
```gitignore
|
|
608
576
|
.claude/
|
|
609
|
-
.gemini/
|
|
610
577
|
.cursor/
|
|
611
578
|
.task-flow/
|
|
612
579
|
CLAUDE.md
|
|
613
|
-
GEMINI.md
|
|
614
580
|
```
|
|
615
581
|
|
|
616
582
|
**Why discrete?**
|
|
@@ -655,9 +621,6 @@ rbin-task-flow/
|
|
|
655
621
|
├── .claude/
|
|
656
622
|
│ └── settings.json # Claude Code settings
|
|
657
623
|
│
|
|
658
|
-
├── .gemini/
|
|
659
|
-
│ └── settings.json # Gemini settings
|
|
660
|
-
│
|
|
661
624
|
├── .task-flow/
|
|
662
625
|
│ ├── README.md # Quick commands reference
|
|
663
626
|
│ ├── tasks.input.txt # Task definitions template
|
|
@@ -669,7 +632,6 @@ rbin-task-flow/
|
|
|
669
632
|
├── .gitignore # Template gitignore
|
|
670
633
|
├── .model-versions.json # Model version reference (update when new models are released)
|
|
671
634
|
├── CLAUDE.md # Main Claude instructions
|
|
672
|
-
├── GEMINI.md # Main Gemini instructions
|
|
673
635
|
├── install.sh # Installation script
|
|
674
636
|
└── README.md # This file
|
|
675
637
|
```
|
|
@@ -680,11 +642,11 @@ rbin-task-flow/
|
|
|
680
642
|
- ✅ Use RBIN Task Flow in **projects that receive** the configs via installation
|
|
681
643
|
- 🔄 Installer **always overwrites** existing configs
|
|
682
644
|
- 🤫 .gitignore entries are **discrete** (no AI mentions)
|
|
683
|
-
- 🎯 Works with **Claude Code CLI
|
|
645
|
+
- 🎯 Works with **Claude Code CLI** or **Cursor Pro**
|
|
684
646
|
- 📦 Task Flow directory (`.task-flow/`) is **automatically gitignored**
|
|
685
647
|
- 📝 Define tasks in `.task-flow/tasks.input.txt` using simple format: `- Task description`
|
|
686
648
|
- 🚀 **NPM Global Install**: `npm install -g rbin-task-flow`, then use `rbin-task-flow init` in any project
|
|
687
|
-
- 🔒 **API keys may be required** - depends on your AI provider (Claude Code
|
|
649
|
+
- 🔒 **API keys may be required** - depends on your AI provider (Claude Code or Cursor Pro)
|
|
688
650
|
- 🔔 **Model version checking** - Use `rbin-task-flow version-check` to check for newer model versions (fast, local check)
|
|
689
651
|
|
|
690
652
|
## Updating Model Versions
|
|
@@ -702,16 +664,11 @@ When new model versions are released, update `.model-versions.json` in this repo
|
|
|
702
664
|
"current": "claude-sonnet-4-5-20250929",
|
|
703
665
|
"latest": "NEW_VERSION_HERE",
|
|
704
666
|
"checkUrl": "https://docs.cursor.com/models"
|
|
705
|
-
},
|
|
706
|
-
"gemini": {
|
|
707
|
-
"current": "gemini-3-flash",
|
|
708
|
-
"latest": "NEW_VERSION_HERE",
|
|
709
|
-
"checkUrl": "https://ai.google.dev/models/gemini"
|
|
710
667
|
}
|
|
711
668
|
}
|
|
712
669
|
```
|
|
713
670
|
|
|
714
|
-
The installer will automatically check for newer model versions and **ask you individually** if you want to update each one (Claude, Cursor
|
|
671
|
+
The installer will automatically check for newer model versions and **ask you individually** if you want to update each one (Claude, Cursor). This check is **fast and local** - no API calls, no network requests, just a simple string comparison.
|
|
715
672
|
|
|
716
673
|
**Interactive Updates:** When a newer version is available, the installer will:
|
|
717
674
|
- Show current and latest versions
|
package/bin/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ const chalk = require('chalk');
|
|
|
10
10
|
|
|
11
11
|
program
|
|
12
12
|
.name('rbin-task-flow')
|
|
13
|
-
.description('AI-powered task management for Claude
|
|
13
|
+
.description('AI-powered task management for Claude and Cursor')
|
|
14
14
|
.version(require('../package.json').version);
|
|
15
15
|
|
|
16
16
|
program
|
|
@@ -65,7 +65,7 @@ program
|
|
|
65
65
|
console.log('\n' + chalk.cyan('╔════════════════════════════════════════════════════════════════╗'));
|
|
66
66
|
console.log(chalk.cyan('║') + ' ' + chalk.magenta('✨ RBIN Task Flow ✨') + ' ' + chalk.cyan('║'));
|
|
67
67
|
console.log(chalk.cyan('╚════════════════════════════════════════════════════════════════╝') + '\n');
|
|
68
|
-
console.log(chalk.blue('AI-powered task management for Claude
|
|
68
|
+
console.log(chalk.blue('AI-powered task management for Claude and Cursor'));
|
|
69
69
|
console.log(chalk.yellow('\nVersion:'), require('../package.json').version);
|
|
70
70
|
console.log(chalk.yellow('Repository:'), 'https://github.com/rbinoliveira/rbin-task-flow');
|
|
71
71
|
console.log(chalk.yellow('\nCommands:'));
|
package/lib/install.js
CHANGED
|
@@ -39,7 +39,6 @@ async function installInProject(targetPath, options = {}) {
|
|
|
39
39
|
const dirs = [
|
|
40
40
|
'.cursor/rules',
|
|
41
41
|
'.claude',
|
|
42
|
-
'.gemini',
|
|
43
42
|
'.task-flow'
|
|
44
43
|
];
|
|
45
44
|
|
|
@@ -111,26 +110,6 @@ async function copyConfigs(targetPath) {
|
|
|
111
110
|
showSuccess('Claude instructions');
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
const geminiSettingsPath = path.join(TEMPLATE_DIR, '.gemini/settings.json');
|
|
115
|
-
if (fs.existsSync(geminiSettingsPath)) {
|
|
116
|
-
await fs.copy(
|
|
117
|
-
geminiSettingsPath,
|
|
118
|
-
path.join(targetPath, '.gemini/settings.json'),
|
|
119
|
-
{ overwrite: true }
|
|
120
|
-
);
|
|
121
|
-
showSuccess('Gemini settings');
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
const geminiInstructionsPath = path.join(TEMPLATE_DIR, 'GEMINI.md');
|
|
125
|
-
if (fs.existsSync(geminiInstructionsPath)) {
|
|
126
|
-
await fs.copy(
|
|
127
|
-
geminiInstructionsPath,
|
|
128
|
-
path.join(targetPath, 'GEMINI.md'),
|
|
129
|
-
{ overwrite: true }
|
|
130
|
-
);
|
|
131
|
-
showSuccess('Gemini instructions');
|
|
132
|
-
}
|
|
133
|
-
|
|
134
113
|
await copyTaskFlow(targetPath);
|
|
135
114
|
}
|
|
136
115
|
|
|
@@ -143,16 +122,16 @@ async function copyTaskFlow(targetPath) {
|
|
|
143
122
|
showSuccess('Task Flow directory');
|
|
144
123
|
showInfo('Note: .internal/tasks.json and .internal/status.json are NOT overwritten (your data is safe)');
|
|
145
124
|
|
|
146
|
-
const
|
|
147
|
-
await fs.ensureDir(
|
|
148
|
-
showSuccess('
|
|
125
|
+
const contextsDest = path.join(taskFlowDest, 'contexts');
|
|
126
|
+
await fs.ensureDir(contextsDest);
|
|
127
|
+
showSuccess('Contexts directory (.task-flow/contexts/)');
|
|
149
128
|
|
|
150
129
|
const docsDest = path.join(taskFlowDest, 'docs');
|
|
151
130
|
await fs.ensureDir(docsDest);
|
|
152
131
|
showSuccess('Documentation directory (.task-flow/docs/)');
|
|
153
132
|
|
|
154
|
-
const exampleSrc = path.join(taskFlowSrc, '
|
|
155
|
-
const exampleDest = path.join(
|
|
133
|
+
const exampleSrc = path.join(taskFlowSrc, 'contexts/example.png.txt');
|
|
134
|
+
const exampleDest = path.join(contextsDest, 'example.png.txt');
|
|
156
135
|
if (fs.existsSync(exampleSrc) && !fs.existsSync(exampleDest)) {
|
|
157
136
|
await fs.copy(exampleSrc, exampleDest);
|
|
158
137
|
}
|
|
@@ -186,11 +165,9 @@ async function updateGitignore(targetPath) {
|
|
|
186
165
|
|
|
187
166
|
const entries = [
|
|
188
167
|
'.claude/',
|
|
189
|
-
'.gemini/',
|
|
190
168
|
'.cursor/',
|
|
191
169
|
'.task-flow/',
|
|
192
|
-
'CLAUDE.md'
|
|
193
|
-
'GEMINI.md'
|
|
170
|
+
'CLAUDE.md'
|
|
194
171
|
];
|
|
195
172
|
|
|
196
173
|
for (const entry of entries) {
|
|
@@ -246,24 +223,6 @@ async function showModelVersions(targetPath) {
|
|
|
246
223
|
}
|
|
247
224
|
}
|
|
248
225
|
|
|
249
|
-
const geminiSettingsPath = path.join(targetPath, '.gemini/settings.json');
|
|
250
|
-
if (fs.existsSync(geminiSettingsPath)) {
|
|
251
|
-
try {
|
|
252
|
-
const settings = await fs.readJSON(geminiSettingsPath);
|
|
253
|
-
if (settings.model) {
|
|
254
|
-
const modelName = typeof settings.model === 'string'
|
|
255
|
-
? settings.model
|
|
256
|
-
: settings.model.name || 'Default (recommended)';
|
|
257
|
-
console.log(chalk.blue('Gemini:'), chalk.yellow(modelName));
|
|
258
|
-
hasModels = true;
|
|
259
|
-
} else {
|
|
260
|
-
console.log(chalk.blue('Gemini:'), chalk.yellow('Default (recommended)'));
|
|
261
|
-
hasModels = true;
|
|
262
|
-
}
|
|
263
|
-
} catch (error) {
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
226
|
if (!hasModels) {
|
|
268
227
|
console.log(chalk.yellow('No model versions configured yet'));
|
|
269
228
|
}
|
package/lib/version.js
CHANGED
|
@@ -43,10 +43,6 @@ async function checkVersionUpdates() {
|
|
|
43
43
|
await checkModelVersion('Cursor', versions.cursor, '.cursor/settings.json', rl);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
if (versions.gemini) {
|
|
47
|
-
await checkModelVersion('Gemini', versions.gemini, '.gemini/settings.json', rl);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
46
|
rl.close();
|
|
51
47
|
|
|
52
48
|
console.log(chalk.green('\n✅ Version check completed!\n'));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rbin-task-flow",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "AI-powered task management for Claude
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"description": "AI-powered task management for Claude and Cursor",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"rbin-task-flow": "
|
|
8
|
-
"task-flow": "
|
|
7
|
+
"rbin-task-flow": "bin/cli.js",
|
|
8
|
+
"task-flow": "bin/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"No tests yet\"",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"ai",
|
|
17
17
|
"claude",
|
|
18
18
|
"cursor",
|
|
19
|
-
"gemini",
|
|
20
19
|
"cli",
|
|
21
20
|
"task-management",
|
|
22
21
|
"ai-powered"
|
|
@@ -25,17 +24,15 @@
|
|
|
25
24
|
"license": "MIT",
|
|
26
25
|
"repository": {
|
|
27
26
|
"type": "git",
|
|
28
|
-
"url": "https://github.com/rbinoliveira/rbin-task-flow.git"
|
|
27
|
+
"url": "git+https://github.com/rbinoliveira/rbin-task-flow.git"
|
|
29
28
|
},
|
|
30
29
|
"files": [
|
|
31
30
|
"bin/",
|
|
32
31
|
".cursor/",
|
|
33
32
|
".claude/",
|
|
34
|
-
".gemini/",
|
|
35
33
|
".task-flow/",
|
|
36
34
|
".model-versions.json",
|
|
37
35
|
"CLAUDE.md",
|
|
38
|
-
"GEMINI.md",
|
|
39
36
|
"lib/"
|
|
40
37
|
],
|
|
41
38
|
"preferGlobal": true,
|
package/.gemini/settings.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Example Screenshot
|
|
2
|
-
|
|
3
|
-
This is a placeholder file. Replace this file with a real screenshot (PNG or JPG).
|
|
4
|
-
|
|
5
|
-
## How to add screenshots:
|
|
6
|
-
|
|
7
|
-
1. Add your image files (.png or .jpg) to this folder
|
|
8
|
-
2. Use descriptive names in kebab-case
|
|
9
|
-
3. RBIN Task Flow will automatically detect and reference the screenshots
|
|
10
|
-
|
|
11
|
-
## Example names:
|
|
12
|
-
|
|
13
|
-
- `login_recover_signup.png`
|
|
14
|
-
- `dashboard.png`
|
|
15
|
-
- `patient.png`
|
|
16
|
-
- `patient_profile.png`
|
|
17
|
-
- `prescriptions.png`
|
|
18
|
-
- `medicine.png`
|
|
19
|
-
|
|
20
|
-
## Reference in tasks:
|
|
21
|
-
|
|
22
|
-
To reference a specific screenshot in a task, use:
|
|
23
|
-
`task-flow-screen filename.png`
|
package/GEMINI.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Gemini Instructions
|
|
2
|
-
|
|
3
|
-
## Development Rules
|
|
4
|
-
|
|
5
|
-
All development rules are automatically loaded from `.cursor/rules/` directory. These rules include:
|
|
6
|
-
- Cursor rules formatting guidelines
|
|
7
|
-
- Self-improvement processes
|
|
8
|
-
- Code commenting standards
|
|
9
|
-
- Commit practices
|
|
10
|
-
- Git command control
|
|
11
|
-
- Task execution management with RBIN Task Flow
|
|
12
|
-
|
|
13
|
-
## RBIN Task Flow
|
|
14
|
-
|
|
15
|
-
This project uses RBIN Task Flow for task management:
|
|
16
|
-
- **Task Definition**: Edit `.task-flow/tasks.input.txt` using simple format: `- Task description`
|
|
17
|
-
- **AI Commands**: Use AI-powered commands for task management:
|
|
18
|
-
- `task-flow: sync` - Synchronize tasks from tasks.input.txt
|
|
19
|
-
- `task-flow: think` - Analyze code and suggest new tasks
|
|
20
|
-
- `task-flow: status` - View current task status
|
|
21
|
-
- `task-flow: run next X` - Work on next X subtasks
|
|
22
|
-
- `task-flow: run X` - Execute all pending subtasks of task X (simplified - no "task" needed)
|
|
23
|
-
- `task-flow: run X,Y` - Execute multiple tasks (comma-separated)
|
|
24
|
-
- `task-flow: run all` - Execute all tasks
|
|
25
|
-
- `task-flow: review X` - Review specific task(s) (comma-separated or "all")
|
|
26
|
-
- `task-flow: refactor X` - Refactor specific task(s) (comma-separated or "all")
|
|
27
|
-
- `task-flow: estimate X` - Estimate time for task X (simplified - no "task" needed)
|
|
28
|
-
- `task-flow: estimate X,Y` - Estimate multiple tasks (comma-separated)
|
|
29
|
-
- `task-flow: estimate all` - Estimate all tasks
|
|
30
|
-
- `task-flow: report X` - Generate implementation report for task X (simplified - no "task" needed)
|
|
31
|
-
- `task-flow: report X,Y` - Generate reports for multiple tasks (comma-separated)
|
|
32
|
-
- `task-flow: report all` - Generate reports for all tasks
|
|
33
|
-
- **Files**:
|
|
34
|
-
- `.task-flow/tasks.input.txt` - Define your tasks here
|
|
35
|
-
- `.task-flow/tasks.status.md` - Auto-generated status (DO NOT EDIT manually)
|
|
36
|
-
- `.task-flow/.internal/` - Internal system files (ignore)
|
|
37
|
-
|
|
38
|
-
Follow all rules defined in `.cursor/rules/` for consistent development practices.
|