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.
@@ -5,11 +5,12 @@ alwaysApply: true
5
5
  ---
6
6
 
7
7
  - **General Command Permission:**
8
- - **✅ CAN execute** any system command without asking
9
- - **✅ CAN execute** npm, yarn, pnpm, docker, etc without confirmation
10
- - **✅ CAN execute** scripts, tests, linters, formatters without asking
8
+ - **✅ CAN execute** any system command without asking (Claude may run commands without asking for approval)
9
+ - **✅ CAN execute** npm, yarn, pnpm, docker, scripts, tests, linters, formatters without confirmation
11
10
  - **✅ DON'T need to ask** before executing simple or common commands
12
- - **❌ ONLY EXCEPTION**: `git` commands that modify the repository
11
+ - **❌ EXCEPTIONS** (do not execute without user approval):
12
+ - **Git**: `git` commands that modify the repository (add, commit, push, pull, merge, checkout, etc.)
13
+ - **Cloud/remote resources**: Commands that run or connect to cloud/remote resources (e.g. database connections, cloud CLI that provisions resources, migrations against remote DB, deploying to production)
13
14
 
14
15
  - **Read Commands - Automatic Execution:**
15
16
  - **✅ ALWAYS execute without asking** commands that only read information:
@@ -85,4 +86,4 @@ alwaysApply: true
85
86
  - RBIN Task Flow workflow should not include automatic git execution
86
87
 
87
88
  - **Fundamental Principle:**
88
- > **User has complete control over the Git repository. AI can execute any system command without asking, EXCEPT git commands. For git, only suggests, analyzes, and informs. Never modifies git state.**
89
+ > **Claude may execute commands without asking, except: (1) git commands that modify the repository, and (2) commands that run cloud/remote resources (e.g. database, cloud provisioning). For those, only suggest or ask for approval.**
@@ -0,0 +1,158 @@
1
+ ---
2
+ description: Audit codebase against coding standards and suggest incremental improvements
3
+ globs: **/*
4
+ alwaysApply: true
5
+ ---
6
+
7
+ # task-flow: audit
8
+
9
+ When the user runs `task-flow: audit`, perform a non-destructive analysis of the current project against the coding standards defined in [coding_standards.mdc](mdc:.cursor/rules/coding_standards.mdc).
10
+
11
+ ---
12
+
13
+ ## What This Command Does
14
+
15
+ 1. **Scans the project** to understand its current structure, tech stack, and patterns
16
+ 2. **Compares against coding_standards.mdc** to identify gaps and misalignments
17
+ 3. **Reports a compatibility score** per category
18
+ 4. **Asks the user** which improvements they want to adopt — never assumes or imposes
19
+ 5. **Respects project context** — an existing company project can't be fully restructured overnight
20
+
21
+ ---
22
+
23
+ ## How to Execute
24
+
25
+ ### Step 1 — Explore the project
26
+
27
+ Scan the codebase to understand:
28
+ - Folder structure (is there `src/app`, `features`, `shared`? something else?)
29
+ - Tech stack in use (`package.json`)
30
+ - How routes/pages are organized
31
+ - How components are structured (size, responsibilities)
32
+ - How API calls are made (fetch, axios, react-query, or raw calls in components?)
33
+ - How forms are handled (controlled, uncontrolled, react-hook-form?)
34
+ - How styles are applied (Tailwind, CSS modules, styled-components, inline?)
35
+ - File naming conventions in use
36
+ - Presence of tests and what kind
37
+
38
+ ### Step 2 — Score each category
39
+
40
+ For each category below, rate adherence: **Full / Partial / Missing**
41
+
42
+ | Category | Score | Notes |
43
+ |----------|-------|-------|
44
+ | Folder structure (`app/features/shared`) | | |
45
+ | `app/` is thin (no logic in routes) | | |
46
+ | Feature-based organization | | |
47
+ | Page/Screen as orchestrator (short, composes components) | | |
48
+ | Component single responsibility | | |
49
+ | React Query (service + use-case split) | | |
50
+ | Forms (react-hook-form + zod) | | |
51
+ | `cn()` for class merging | | |
52
+ | File naming conventions | | |
53
+ | TypeScript strictness (no `any`) | | |
54
+ | `DataHandler` pattern (or equivalent) | | |
55
+ | Providers composition | | |
56
+ | E2E tests (Playwright/Cypress/Detox) | | |
57
+
58
+ ### Step 3 — Present findings clearly
59
+
60
+ Show the score table with honest notes. Examples:
61
+ - "Routes contain business logic — pages are 200+ lines"
62
+ - "API calls are made directly in components with `fetch`"
63
+ - "No consistent naming convention found"
64
+ - "Tailwind classes concatenated with template literals instead of `cn()`"
65
+ - "Structure is MVC-like, not feature-based — migration would be significant"
66
+
67
+ ### Step 4 — Ask what to adopt
68
+
69
+ After presenting the report, ask:
70
+
71
+ > "Which of these would you like to improve in this project? I'll generate tasks for each selected item.
72
+ >
73
+ > Keep in mind: some changes (like restructuring to `app/features/shared`) may not be practical for an existing project. I'll suggest incremental, non-breaking improvements where possible."
74
+
75
+ List the improvable items as options. Let the user choose one, several, or all.
76
+
77
+ ### Step 5 — Generate tasks for selected improvements
78
+
79
+ For each selected improvement:
80
+ - Create a task in `.task-flow/tasks.input.txt` (or show the task descriptions so the user can paste them)
81
+ - Tasks must be incremental and safe — never propose wholesale rewrites unless the user explicitly asks
82
+ - Examples of incremental tasks:
83
+ - "Componentize the `UserDashboard` page — extract `UserStatsCard` and `UserActivityList` components"
84
+ - "Replace raw `fetch` calls in `auth.ts` with a `useCreateSession` service using react-query"
85
+ - "Add `cn()` helper and replace string concatenation in `Button` and `Card` components"
86
+ - "Extract `LoginForm` business logic from `login/page.tsx` into `features/auth/pages/login.page.tsx`"
87
+
88
+ ---
89
+
90
+ ## Important Principles
91
+
92
+ - **Non-destructive by default**: Suggest improvements, don't impose them
93
+ - **Incremental**: Prefer "improve this component" over "rewrite this module"
94
+ - **Context-aware**: A greenfield project can adopt everything; a legacy company project needs gradual migration
95
+ - **Honest**: If the project has a completely different architecture that works, say so — don't force standards where they don't fit
96
+ - **No auto-execution**: This command only analyzes and suggests. The user decides what to implement.
97
+
98
+ ---
99
+
100
+ ## Example Output Format
101
+
102
+ ```
103
+ ## task-flow: audit — Coding Standards Report
104
+
105
+ ### Project: [detected project name]
106
+ ### Type: [Next.js / Expo / NestJS / Monorepo]
107
+
108
+ ---
109
+
110
+ ### Compatibility Score
111
+
112
+ | Category | Score | Notes |
113
+ |----------|-------|-------|
114
+ | Folder structure | Partial | Has `src/components` and `src/pages` — no `features/` or `shared/` |
115
+ | app/ is thin | Missing | `pages/dashboard.tsx` is 340 lines with business logic |
116
+ | Feature-based organization | Missing | Code organized by type (components/, hooks/) not by domain |
117
+ | Page as orchestrator | Missing | Pages fetch data and render complex JSX directly |
118
+ | Component single responsibility | Partial | Some components are focused, others handle too much |
119
+ | React Query | Missing | Using `useEffect + fetch` directly in components |
120
+ | Forms (RHF + Zod) | Partial | Using react-hook-form but no Zod validation |
121
+ | cn() for class merging | Missing | Using template literals: `className={\`btn \${isActive ? 'active' : ''}\`}` |
122
+ | File naming | Partial | Inconsistent — mix of PascalCase and kebab-case |
123
+ | TypeScript strictness | Partial | Some `any` usages found |
124
+ | DataHandler pattern | Missing | Manual if/else for loading states in each component |
125
+ | Providers composition | Full | Already uses an AppProviders component |
126
+ | E2E tests | Missing | No test files found |
127
+
128
+ ---
129
+
130
+ ### Overall: 2 Full / 5 Partial / 6 Missing
131
+
132
+ ---
133
+
134
+ ### What would you like to improve?
135
+
136
+ I can generate tasks for any of these. Note that restructuring to `app/features/shared` would be a significant change — I'd suggest tackling it only if you're planning a larger refactor.
137
+
138
+ Quick wins (low effort, high impact):
139
+ - [ ] Add `cn()` helper and apply to all components
140
+ - [ ] Add Zod schemas to existing react-hook-form forms
141
+ - [ ] Extract `DataHandler` component and apply to data-fetching components
142
+
143
+ Medium effort:
144
+ - [ ] Migrate `useEffect + fetch` to React Query (service + use-case pattern)
145
+ - [ ] Split large pages into orchestrator + focused components
146
+
147
+ Larger effort:
148
+ - [ ] Introduce `features/` structure for new features going forward
149
+ - [ ] Add E2E tests with Playwright/Cypress
150
+
151
+ Which would you like me to generate tasks for?
152
+ ```
153
+
154
+ ---
155
+
156
+ ## Principle
157
+
158
+ > **Audit is a conversation, not a verdict. The goal is to help the developer adopt better patterns at their own pace, respecting the reality of the project they're working on.**
@@ -6,6 +6,7 @@ alwaysApply: true
6
6
 
7
7
  - **RBIN Task Flow - AI-Powered Task Management:**
8
8
  - This project uses **RBIN Task Flow** for task tracking and management
9
+ - **Models**: Claude and Cursor use the **default model** of each environment. Do not specify or require a particular model.
9
10
  - **IMPORTANT**: When user mentions "task flow", they always refer to **RBIN Task Flow**
10
11
  - Tasks are defined in plain text: `.task-flow/tasks.input.txt`
11
12
  - Task data is stored in: `.task-flow/.internal/` (do not edit directly - internal system files)
@@ -20,6 +21,7 @@ alwaysApply: true
20
21
  - **AI Commands:**
21
22
  - `task-flow: sync` - Sync new tasks from tasks.input.txt
22
23
  - `task-flow: think` - Analyze codebase and suggest new tasks
24
+ - `task-flow: audit` - Audit codebase against coding standards and suggest incremental improvements
23
25
  - `task-flow: run next X` - Work on next X subtasks sequentially
24
26
  - `task-flow: run X` - Work on all pending subtasks of task X (simplified - no "task" needed)
25
27
  - `task-flow: run X,Y` - Work on multiple tasks (comma-separated)
@@ -7,31 +7,32 @@ alwaysApply: true
7
7
  - **Task Generation - Direct and Efficient:**
8
8
  - When user asks to "Read tasks.input.txt and generate detailed subtasks updating task status":
9
9
  - **READ**: `.task-flow/tasks.input.txt` (only process lines starting with `- `)
10
- - **READ**: `.task-flow/screens/` directory to list available screenshots (ALWAYS check this directory)
10
+ - **READ**: `.task-flow/contexts/` directory to list available context files (ALWAYS check this directory)
11
11
  - **GENERATE**: Two JSON files and one markdown file with the exact structure below
12
12
  - **SAVE**: All files to `.task-flow/`
13
13
  - **DON'T**: Check existing JSONs, explore codebase, or ask questions
14
14
 
15
- - **Screenshot Reference System:**
16
- - **AUTOMATIC**: Always check `.task-flow/screens/` directory for available screenshots (PNG, JPG files)
17
- - **NO LISTING NEEDED**: Don't require screenshots to be listed in tasks.input.txt - always scan the directory
18
- - **AUTOMATIC MATCHING**: Automatically match screenshots to tasks based on keywords (e.g., "login" → `login_recover_signup.png`, "dashboard" `dashboard.png`, "paciente" → `patient.png`)
19
- - **SPECIFIC REFERENCE**: If task contains `task-flow-screen nome_do_arquivo.png`, reference that specific screenshot from `.task-flow/screens/`
20
- - **PATH ALWAYS**: `task-flow-screen` always references files in `.task-flow/screens/` directory
21
- - **INCLUDE**: Add screenshot reference in instructions: "Visual reference: `.task-flow/screens/filename.png`"
15
+ - **Context Reference System:**
16
+ - **PURPOSE**: `.task-flow/contexts/` is for AIs to consult reference material (any type: .md, .txt, .png, .jpg, .json, etc.) when generating and working on tasks
17
+ - **AUTOMATIC**: Always check `.task-flow/contexts/` directory for available context files (all file types)
18
+ - **NO LISTING NEEDED**: Don't require context files to be listed in tasks.input.txt - always scan the directory
19
+ - **AUTOMATIC MATCHING**: Match context files to tasks by keywords (e.g., "login" → `login-mockup.png` or `api-login.md`, "dashboard" `dashboard.png`)
20
+ - **SPECIFIC REFERENCE**: If task contains `task-flow-screen nome_arquivo.ext`, reference that file from `.task-flow/contexts/`
21
+ - **PATH ALWAYS**: `task-flow-screen` always references files in `.task-flow/contexts/`
22
+ - **INCLUDE**: In subtask instructions, add the reference: "Context/reference: `.task-flow/contexts/filename.ext`" (or "Visual reference" for images)
22
23
 
23
24
  - **Required Actions:**
24
25
  1. Read `tasks.input.txt`:
25
26
  - Process task lines (only process lines starting with `- `)
26
27
  - Check for `task-flow-screen nome_do_arquivo.png` markers in task descriptions
27
- 2. **ALWAYS** list available screenshots from `.task-flow/screens/` directory (PNG, JPG files)
28
+ 2. **ALWAYS** list available context files from `.task-flow/contexts/` directory (all file types: .md, .txt, .png, .jpg, .json, etc.)
28
29
  3. For each task line, create a task with sequential ID starting at 1
29
30
  4. Generate 3-8 subtasks per task with:
30
31
  - Clear title
31
32
  - Brief description
32
33
  - Step-by-step instructions (3-5 steps)
33
- - **AUTOMATIC**: Include relevant screenshot references when applicable (match by keywords)
34
- - **SPECIFIC**: If task has `task-flow-screen nome_do_arquivo.png`, reference that specific screenshot from `.task-flow/screens/`
34
+ - **AUTOMATIC**: Include relevant context references when applicable (match by keywords)
35
+ - **SPECIFIC**: If task has `task-flow-screen nome_arquivo.ext`, reference that file from `.task-flow/contexts/`
35
36
  5. Create `.task-flow/.internal/tasks.json` with structure below
36
37
  6. Create `.task-flow/.internal/status.json` with all tasks/subtasks as "pending"
37
38
  7. Create `.task-flow/tasks.status.md` with all tasks and subtasks marked as `- [ ]` (pending)
@@ -117,30 +118,38 @@ alwaysApply: true
117
118
 
118
119
  - **Example:**
119
120
  - Input (`tasks.input.txt`): `- Create authentication system`
120
- - Screenshots available: `login_recover_signup.png`
121
- - Output: Task with ID 1, 5 subtasks with screenshot references:
122
- - Subtask 1: "Setup database schema" (no screenshot)
123
- - Subtask 2: "Create login form" → Instructions include: "Visual reference: `.task-flow/screens/login_recover_signup.png`"
124
- - Subtask 3: "Implement registration" → Instructions include screenshot reference
125
- - Subtask 4: "Add JWT authentication" (no screenshot)
126
- - Subtask 5: "Test authentication flow" → Instructions include screenshot reference
121
+ - Context files available: `login_recover_signup.png`
122
+ - Output: Task with ID 1, 5 subtasks with context references:
123
+ - Subtask 1: "Setup database schema" (no context)
124
+ - Subtask 2: "Create login form" → Instructions include: "Visual reference: `.task-flow/contexts/login_recover_signup.png`"
125
+ - Subtask 3: "Implement registration" → Instructions include context reference
126
+ - Subtask 4: "Add JWT authentication" (no context)
127
+ - Subtask 5: "Test authentication flow" → Instructions include context reference
127
128
 
128
- - **Screenshot Reference Examples:**
129
- - Task: `- Dentist authentication system` → Automatically matches and references `login_recover_signup.png` from `.task-flow/screens/`
130
- - Task: `- Basic dashboard with structure task-flow-screen dashboard.png` → References specific `.task-flow/screens/dashboard.png`
131
- - Task: `- Complete patient CRUD` → Automatically matches and references `patient.png` and `patient_profile.png` from `.task-flow/screens/` if available
132
- - **IMPORTANT**: `task-flow-screen` always references files in `.task-flow/screens/` - no need to specify full path
129
+ - **Context Reference Examples:**
130
+ - Task: `- Dentist authentication system` → Automatically matches and references `login_recover_signup.png` from `.task-flow/contexts/`
131
+ - Task: `- Basic dashboard with structure task-flow-screen dashboard.png` → References specific `.task-flow/contexts/dashboard.png`
132
+ - Task: `- Complete patient CRUD` → Automatically matches and references `patient.png` and `patient_profile.png` from `.task-flow/contexts/` if available
133
+ - **IMPORTANT**: `task-flow-screen` always references files in `.task-flow/contexts/` - no need to specify full path
134
+ - **FILE TYPES**: Contexts can be any type (images, markdown, text, JSON, etc.) for the AI to read and use when working on tasks
133
135
 
134
136
  - **Critical Rules:**
135
137
  - ✅ Be direct: Read → Generate → Save
136
- - ✅ **ALWAYS** check `.task-flow/screens/` directory for available screenshots (automatic, no need to list in tasks.input.txt)
137
- - ✅ Automatically match and reference relevant screenshots in subtask instructions based on keywords
138
- - ✅ Support `task-flow-screen nome_do_arquivo.png` format - always references `.task-flow/screens/nome_do_arquivo.png`
139
- - ✅ No exploration of codebase beyond screenshots directory
138
+ - ✅ **ALWAYS** check `.task-flow/contexts/` directory for available context files (automatic, no need to list in tasks.input.txt)
139
+ - ✅ Automatically match and reference relevant context files in subtask instructions based on keywords
140
+ - ✅ Support `task-flow-screen nome_do_arquivo.png` format - always references `.task-flow/contexts/nome_do_arquivo.png`
141
+ - ✅ No exploration of codebase beyond `.task-flow/contexts/` directory
140
142
  - ✅ No questions - just generate
141
143
  - ✅ Use current timestamp for `createdAt`
142
144
  - ✅ All statuses start as "pending"
143
145
  - ✅ Subtask IDs are sequential per task (1, 2, 3...)
144
146
 
147
+ - **Coding Standards:**
148
+ - When generating subtask instructions, always follow the patterns defined in [coding_standards.mdc](mdc:.cursor/rules/coding_standards.mdc)
149
+ - Subtask instructions must reference the correct file structure: `src/app/`, `src/features/`, `src/shared/`
150
+ - Subtask instructions must specify the correct file naming suffix (`.page.tsx`, `.service.tsx`, `.use-case.ts`, etc.)
151
+ - Subtask instructions must enforce the service + use-case split for API calls
152
+ - Subtask instructions must enforce `cn()` for class merging, `Controller` for form inputs, and `zodResolver` for validation
153
+
145
154
  - **Principle:**
146
- > **When generating tasks, be fast and direct. Read tasks.input.txt, generate JSONs and tasks.status.md with proper structure, save files. No exploration needed.**
155
+ > **When generating tasks, be fast and direct. Read tasks.input.txt, generate JSONs and tasks.status.md with proper structure, save files. Always follow coding_standards.mdc patterns in subtask instructions.**
@@ -62,8 +62,8 @@ alwaysApply: true
62
62
  - Skip "done" and "in_progress" subtasks
63
63
  3. **For each subtask**:
64
64
  - Read full instructions from `tasks.json`
65
- - **CHECK**: If instructions mention screenshot references (`.task-flow/screens/...`), verify screenshot exists
66
- - **REFERENCE**: Use screenshots as visual reference when implementing UI-related subtasks
65
+ - **CHECK**: If instructions mention context references (`.task-flow/contexts/...`), verify the context file exists
66
+ - **CONSULT**: Read and use context files from `.task-flow/contexts/` when implementing (images, .md, .txt, .json, etc. – any type that helps the task)
67
67
  - Implement following step-by-step instructions
68
68
  - Test/verify implementation
69
69
  - Update `status.json` to mark as "done"
@@ -91,8 +91,8 @@ alwaysApply: true
91
91
  - Skip "done" and "in_progress" subtasks
92
92
  4. **For each subtask** (only if dependency check passed):
93
93
  - Read full instructions from `tasks.json`
94
- - **CHECK**: If instructions mention screenshot references (`.task-flow/screens/...`), verify screenshot exists
95
- - **REFERENCE**: Use screenshots as visual reference when implementing UI-related subtasks
94
+ - **CHECK**: If instructions mention context references (`.task-flow/contexts/...`), verify the context file exists
95
+ - **CONSULT**: Read and use context files from `.task-flow/contexts/` when implementing (images, .md, .txt, .json, etc. – any type that helps the task)
96
96
  - Implement following step-by-step instructions
97
97
  - Test/verify implementation
98
98
  - Update `status.json` to mark as "done"
@@ -206,15 +206,16 @@ alwaysApply: true
206
206
  - If file doesn't exist → create it
207
207
  - If instructions unclear → ask for clarification (but try to infer first)
208
208
 
209
- - **Screenshot Support:**
210
- - **AUTOMATIC**: When implementing subtasks, check if instructions reference screenshots
211
- - **REFERENCE**: Use screenshots from `.task-flow/screens/` as visual reference for UI implementation
212
- - **MATCHING**: Match screenshot references mentioned in subtask instructions
213
- - **NO NEED**: User doesn't need to explicitly mention screenshots - they're automatically considered
209
+ - **Context Support:**
210
+ - **PURPOSE**: `.task-flow/contexts/` holds reference material (any file type) for the AI to consult when working on tasks
211
+ - **AUTOMATIC**: When implementing subtasks, check if instructions reference context files
212
+ - **CONSULT**: Read and use files from `.task-flow/contexts/` as needed (specs, mockups, examples, .md, .txt, .png, .json, etc.)
213
+ - **MATCHING**: Use the context files mentioned in subtask instructions; support any extension, not only images
214
+ - **NO NEED**: User doesn't need to explicitly mention context files - they're automatically considered
214
215
 
215
216
  - **Integration:**
216
217
  - Works with [task_execution.mdc](mdc:.cursor/rules/task_execution.mdc) - same workflow
217
- - Follows [task_generation.mdc](mdc:.cursor/rules/task_generation.mdc) - screenshots are automatically referenced in generated subtasks
218
+ - Follows [task_generation.mdc](mdc:.cursor/rules/task_generation.mdc) - context files are automatically referenced in generated subtasks
218
219
  - Follows [commit_practices.mdc](mdc:.cursor/rules/commit_practices.mdc) - suggest commit after completion
219
220
  - Respects [git_control.mdc](mdc:.cursor/rules/git_control.mdc) - never commit automatically
220
221
 
@@ -1,3 +1 @@
1
- {
2
- "model": "claude-sonnet-4-5-20250929"
3
- }
1
+ {}
@@ -1,17 +1 @@
1
- {
2
- "claude": {
3
- "current": "claude-sonnet-4-5-20250929",
4
- "latest": "claude-sonnet-4-5-20250929",
5
- "checkUrl": "https://docs.anthropic.com/claude/docs/models-overview"
6
- },
7
- "cursor": {
8
- "current": "claude-sonnet-4-5-20250929",
9
- "latest": "claude-sonnet-4-5-20250929",
10
- "checkUrl": "https://docs.cursor.com/models"
11
- },
12
- "gemini": {
13
- "current": "gemini-3-flash",
14
- "latest": "gemini-3-flash",
15
- "checkUrl": "https://ai.google.dev/models/gemini"
16
- }
17
- }
1
+ {"claude":{"current":"claude-sonnet-4-5-20250929","latest":"claude-sonnet-4-5-20250929","checkUrl":"https://docs.anthropic.com/claude/docs/models-overview"},"cursor":{"current":"claude-sonnet-4-5-20250929","latest":"claude-sonnet-4-5-20250929","checkUrl":"https://docs.cursor.com/models"}}
@@ -0,0 +1,29 @@
1
+ # Example Context
2
+
3
+ This folder (`.task-flow/contexts/`) is for AIs to consult reference material when working on tasks.
4
+
5
+ ## Purpose
6
+
7
+ - **Contexts** = any files that help the AI understand what to build or how to do it
8
+ - The AI reads and uses these files when generating subtasks and when implementing them
9
+ - Different file types are supported: images, docs, specs, examples, etc.
10
+
11
+ ## Supported file types (examples)
12
+
13
+ - **Images:** `.png`, `.jpg` – mockups, screenshots, diagrams
14
+ - **Text / docs:** `.md`, `.txt` – specs, requirements, notes
15
+ - **Data / config:** `.json`, `.yaml` – examples, schema, sample data
16
+ - **Other:** any file that is useful as context for the task
17
+
18
+ ## How to use
19
+
20
+ 1. Add your context files to this folder with descriptive names (e.g. kebab-case)
21
+ 2. RBIN Task Flow lists and references them when generating subtasks
22
+ 3. To reference a specific file in a task, use: `task-flow-screen filename.ext`
23
+
24
+ ## Example names
25
+
26
+ - `login-mockup.png`
27
+ - `api-contract.json`
28
+ - `requirements.md`
29
+ - `dashboard-spec.txt`
@@ -7,12 +7,13 @@
7
7
  3. Use `task-flow: sync` to generate subtasks from your tasks
8
8
  4. Use `task-flow: status` to view task progress
9
9
 
10
- ## Screenshots:
10
+ ## Contexts:
11
11
 
12
- - Add your screenshots to the `.task-flow/screens/` folder (PNG or JPG)
13
- - RBIN Task Flow automatically detects and references available screenshots when generating subtasks
14
- - To reference a specific screenshot in a task, use: `task-flow-screen filename.png`
15
- - Example: `- Create login screen task-flow-screen login.png`
12
+ - The `.task-flow/contexts/` folder is for AIs to consult when working on tasks (different file types: .md, .txt, .png, .jpg, .json, etc.)
13
+ - Add specs, mockups, requirements, examples, or any reference file to this folder
14
+ - RBIN Task Flow detects and references them when generating and implementing subtasks
15
+ - To reference a specific context in a task: `task-flow-screen filename.ext`
16
+ - Example: `- Create login screen task-flow-screen login-mockup.png`
16
17
 
17
18
  ## Tasks:
18
19
 
package/CLAUDE.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Claude Code Instructions
2
2
 
3
+ ## Models
4
+
5
+ Claude and Cursor use the **default model** of each environment. No specific model is set in this project; do not specify or require a particular model.
6
+
3
7
  ## Development Rules
4
8
 
5
9
  All development rules are automatically loaded from `.cursor/rules/` directory. These rules include:
@@ -17,6 +21,7 @@ This project uses RBIN Task Flow for task management:
17
21
  - **AI Commands**: Use AI-powered commands for task management:
18
22
  - `task-flow: sync` - Synchronize tasks from tasks.input.txt
19
23
  - `task-flow: think` - Analyze code and suggest new tasks
24
+ - `task-flow: audit` - Audit codebase against coding standards and suggest incremental improvements
20
25
  - `task-flow: status` - View current task status
21
26
  - `task-flow: run next X` - Work on next X subtasks
22
27
  - `task-flow: run X` - Execute all pending subtasks of task X (simplified - no "task" needed)
@@ -36,3 +41,7 @@ This project uses RBIN Task Flow for task management:
36
41
  - `.task-flow/.internal/` - Internal system files (ignore)
37
42
 
38
43
  Follow all rules defined in `.cursor/rules/` for consistent development practices.
44
+
45
+ ## Codex
46
+
47
+ When using OpenAI Codex in this repo, it reads **AGENTS.md** at the project root. That file summarizes the same norms (git, commits, comments, RBIN Task Flow) so Codex follows the same conventions as Cursor/Claude. Full details remain in `.cursor/rules/` and this file.