agileflow 2.73.0 → 2.75.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/README.md +3 -3
- package/package.json +1 -1
- package/scripts/agileflow-configure.js +315 -0
- package/src/core/agents/accessibility.md +1 -1
- package/src/core/agents/adr-writer.md +6 -6
- package/src/core/agents/analytics.md +1 -1
- package/src/core/agents/api.md +130 -41
- package/src/core/agents/ci.md +3 -3
- package/src/core/agents/compliance.md +1 -1
- package/src/core/agents/database.md +121 -36
- package/src/core/agents/datamigration.md +1 -1
- package/src/core/agents/design.md +1 -1
- package/src/core/agents/devops.md +2 -2
- package/src/core/agents/documentation.md +1 -1
- package/src/core/agents/epic-planner.md +4 -4
- package/src/core/agents/integrations.md +3 -3
- package/src/core/agents/mentor.md +6 -6
- package/src/core/agents/mobile.md +1 -1
- package/src/core/agents/monitoring.md +1 -1
- package/src/core/agents/performance.md +1 -1
- package/src/core/agents/product.md +3 -3
- package/src/core/agents/qa.md +1 -1
- package/src/core/agents/refactor.md +1 -1
- package/src/core/agents/security.md +4 -4
- package/src/core/agents/testing.md +2 -2
- package/src/core/agents/ui.md +129 -44
- package/src/core/commands/babysit.md +137 -0
- package/src/core/commands/blockers.md +3 -3
- package/src/core/commands/configure.md +88 -1
- package/src/core/commands/context/export.md +99 -0
- package/src/core/commands/context/full.md +172 -0
- package/src/core/commands/context/note.md +128 -0
- package/src/core/commands/research/ask.md +453 -0
- package/src/core/commands/research/import.md +287 -0
- package/src/core/commands/research/list.md +93 -0
- package/src/core/commands/research/view.md +113 -0
- package/src/core/experts/research/expertise.yaml +2 -2
- package/src/core/commands/context.md +0 -417
- package/src/core/commands/research.md +0 -124
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate/refresh full context brief for web AI tools
|
|
3
|
+
argument-hint: (no arguments)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /agileflow:context:full
|
|
7
|
+
|
|
8
|
+
Generate or refresh the comprehensive context brief for web AI tools.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Creates `docs/context.md` with managed sections containing:
|
|
15
|
+
- What we're building and current focus
|
|
16
|
+
- Feature map and tech/tooling summary
|
|
17
|
+
- Key decisions (ADRs) and architecture snapshot
|
|
18
|
+
- Testing & CI status
|
|
19
|
+
- Recent progress (last 10 bus messages)
|
|
20
|
+
- Risks and next steps
|
|
21
|
+
|
|
22
|
+
This file is designed to be pasted into ChatGPT, Perplexity, Gemini, or Claude web to give external AI tools full project context.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
27
|
+
## Compact Summary
|
|
28
|
+
|
|
29
|
+
**Command**: `/agileflow:context:full`
|
|
30
|
+
**Purpose**: Generate/refresh docs/context.md with project context for web AI tools
|
|
31
|
+
|
|
32
|
+
### Critical Rules
|
|
33
|
+
- **ALWAYS create TodoWrite list** to track multi-step workflow
|
|
34
|
+
- **Diff-first**: Show changes and wait for YES/NO before ANY file writes
|
|
35
|
+
- **Preserve user-written content**: Only update managed sections
|
|
36
|
+
- **Sources**: status.json, bus/log.jsonl, epics, stories, ADRs, practices, architecture, CI, CHANGELOG
|
|
37
|
+
|
|
38
|
+
### Workflow
|
|
39
|
+
1. Create todo list
|
|
40
|
+
2. Read existing docs/context.md (if exists)
|
|
41
|
+
3. Gather sources
|
|
42
|
+
4. Generate/update managed sections
|
|
43
|
+
5. Show diff for review
|
|
44
|
+
6. Apply changes after YES
|
|
45
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## IMMEDIATE ACTIONS
|
|
50
|
+
|
|
51
|
+
Upon invocation, execute these steps:
|
|
52
|
+
|
|
53
|
+
### Step 1: Create Todo List
|
|
54
|
+
|
|
55
|
+
```xml
|
|
56
|
+
<invoke name="TodoWrite">
|
|
57
|
+
<parameter name="todos">[
|
|
58
|
+
{"content": "Read existing docs/context.md", "status": "in_progress", "activeForm": "Reading context file"},
|
|
59
|
+
{"content": "Gather sources (status.json, bus, epics, ADRs)", "status": "pending", "activeForm": "Gathering sources"},
|
|
60
|
+
{"content": "Generate managed sections", "status": "pending", "activeForm": "Generating sections"},
|
|
61
|
+
{"content": "Show diff for review", "status": "pending", "activeForm": "Showing diff"},
|
|
62
|
+
{"content": "Apply changes after YES", "status": "pending", "activeForm": "Applying changes"}
|
|
63
|
+
]</parameter>
|
|
64
|
+
</invoke>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Step 2: Read Existing Context
|
|
68
|
+
|
|
69
|
+
Read `docs/context.md` if it exists. Note which sections are managed (between `<!-- MANAGED_SECTION -->` and `<!-- END_MANAGED -->` markers) vs user-written.
|
|
70
|
+
|
|
71
|
+
### Step 3: Gather Sources
|
|
72
|
+
|
|
73
|
+
Read these files if they exist:
|
|
74
|
+
- `docs/09-agents/status.json` - Current story status
|
|
75
|
+
- `docs/09-agents/bus/log.jsonl` - Last 10 progress messages
|
|
76
|
+
- `docs/05-epics/*.md` - Epic details
|
|
77
|
+
- `docs/06-stories/*/*.md` - Story details
|
|
78
|
+
- `docs/03-decisions/*.md` - ADRs
|
|
79
|
+
- `docs/02-practices/*.md` - Practices
|
|
80
|
+
- `docs/04-architecture/*.md` - Architecture docs
|
|
81
|
+
- `package.json` or `pyproject.toml` - Project manifest
|
|
82
|
+
- `.github/workflows/*.yml` - CI config
|
|
83
|
+
- `CHANGELOG.md` - Recent changes
|
|
84
|
+
|
|
85
|
+
### Step 4: Generate Managed Sections
|
|
86
|
+
|
|
87
|
+
Create or update these sections:
|
|
88
|
+
|
|
89
|
+
```markdown
|
|
90
|
+
<!-- MANAGED_SECTION: overview -->
|
|
91
|
+
## What We're Building
|
|
92
|
+
[Project description from package.json or README]
|
|
93
|
+
|
|
94
|
+
## Current Focus
|
|
95
|
+
[From status.json: active epics/stories]
|
|
96
|
+
<!-- END_MANAGED -->
|
|
97
|
+
|
|
98
|
+
<!-- MANAGED_SECTION: features -->
|
|
99
|
+
## Feature Map
|
|
100
|
+
| Epic | Status | Stories |
|
|
101
|
+
|------|--------|---------|
|
|
102
|
+
[One line per epic from status.json]
|
|
103
|
+
<!-- END_MANAGED -->
|
|
104
|
+
|
|
105
|
+
<!-- MANAGED_SECTION: tech -->
|
|
106
|
+
## Tech Stack
|
|
107
|
+
- Framework: [from package.json]
|
|
108
|
+
- Key dependencies: [list major deps]
|
|
109
|
+
- Testing: [from scripts or CI]
|
|
110
|
+
<!-- END_MANAGED -->
|
|
111
|
+
|
|
112
|
+
<!-- MANAGED_SECTION: decisions -->
|
|
113
|
+
## Key Decisions (ADRs)
|
|
114
|
+
[List of ADRs with titles and status]
|
|
115
|
+
<!-- END_MANAGED -->
|
|
116
|
+
|
|
117
|
+
<!-- MANAGED_SECTION: progress -->
|
|
118
|
+
## Recent Progress
|
|
119
|
+
[Last 10 entries from bus/log.jsonl]
|
|
120
|
+
<!-- END_MANAGED -->
|
|
121
|
+
|
|
122
|
+
<!-- MANAGED_SECTION: next -->
|
|
123
|
+
## Next Steps
|
|
124
|
+
[Stories in READY status]
|
|
125
|
+
<!-- END_MANAGED -->
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Step 5: Show Diff
|
|
129
|
+
|
|
130
|
+
Display the changes as a diff:
|
|
131
|
+
|
|
132
|
+
```diff
|
|
133
|
+
- [old content]
|
|
134
|
+
+ [new content]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Step 6: Ask for Confirmation
|
|
138
|
+
|
|
139
|
+
```xml
|
|
140
|
+
<invoke name="AskUserQuestion">
|
|
141
|
+
<parameter name="questions">[{
|
|
142
|
+
"question": "Apply these changes to docs/context.md?",
|
|
143
|
+
"header": "Confirm",
|
|
144
|
+
"multiSelect": false,
|
|
145
|
+
"options": [
|
|
146
|
+
{"label": "Yes, update", "description": "Write changes to file"},
|
|
147
|
+
{"label": "No, abort", "description": "Cancel without saving"}
|
|
148
|
+
]
|
|
149
|
+
}]</parameter>
|
|
150
|
+
</invoke>
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Step 7: Apply Changes
|
|
154
|
+
|
|
155
|
+
If YES: Write to `docs/context.md` using Edit tool, preserving user-written content.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Rules
|
|
160
|
+
|
|
161
|
+
- Update ONLY managed sections (between markers)
|
|
162
|
+
- NEVER modify user-written content outside markers
|
|
163
|
+
- Diff-first: Always show changes before writing
|
|
164
|
+
- Create file if it doesn't exist
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Related Commands
|
|
169
|
+
|
|
170
|
+
- `/agileflow:context:export` - Export concise excerpt for pasting
|
|
171
|
+
- `/agileflow:context:note` - Add quick timestamped note
|
|
172
|
+
- `/agileflow:research:ask` - Generate research prompt for web AI
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Add timestamped note to context file
|
|
3
|
+
argument-hint: NOTE=<text>
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /agileflow:context:note
|
|
7
|
+
|
|
8
|
+
Append a timestamped note to the context file.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Quickly add a note to `docs/context.md` under the "Notes" section. Useful for recording decisions, observations, or reminders that should persist in project context.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
19
|
+
## Compact Summary
|
|
20
|
+
|
|
21
|
+
**Command**: `/agileflow:context:note NOTE="your note here"`
|
|
22
|
+
**Purpose**: Append timestamped note to docs/context.md
|
|
23
|
+
**Key Rules**: Diff-first, creates Notes section if missing
|
|
24
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Arguments
|
|
29
|
+
|
|
30
|
+
| Argument | Required | Description |
|
|
31
|
+
|----------|----------|-------------|
|
|
32
|
+
| NOTE | Yes | 1-5 line note text to append |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## IMMEDIATE ACTIONS
|
|
37
|
+
|
|
38
|
+
Upon invocation, execute these steps:
|
|
39
|
+
|
|
40
|
+
### Step 1: Validate Input
|
|
41
|
+
|
|
42
|
+
Verify NOTE argument is provided. If missing:
|
|
43
|
+
|
|
44
|
+
```xml
|
|
45
|
+
<invoke name="AskUserQuestion">
|
|
46
|
+
<parameter name="questions">[{
|
|
47
|
+
"question": "What note would you like to add?",
|
|
48
|
+
"header": "Note text",
|
|
49
|
+
"multiSelect": false,
|
|
50
|
+
"options": [
|
|
51
|
+
{"label": "Enter note text", "description": "Type your note in the 'Other' field"}
|
|
52
|
+
]
|
|
53
|
+
}]</parameter>
|
|
54
|
+
</invoke>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 2: Read Context File
|
|
58
|
+
|
|
59
|
+
Read `docs/context.md`. If it doesn't exist, create it with a Notes section.
|
|
60
|
+
|
|
61
|
+
### Step 3: Find or Create Notes Section
|
|
62
|
+
|
|
63
|
+
Look for `## Notes` section. If not found, add it at the end of the file.
|
|
64
|
+
|
|
65
|
+
### Step 4: Generate Timestamped Entry
|
|
66
|
+
|
|
67
|
+
Format the note with ISO timestamp:
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
- **[2024-12-31T10:30:00Z]**: [Note text here]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Step 5: Show Diff
|
|
74
|
+
|
|
75
|
+
Display the change:
|
|
76
|
+
|
|
77
|
+
```diff
|
|
78
|
+
## Notes
|
|
79
|
+
|
|
80
|
+
+ - **[2024-12-31T10:30:00Z]**: User reported auth bug in production
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Step 6: Ask for Confirmation
|
|
84
|
+
|
|
85
|
+
```xml
|
|
86
|
+
<invoke name="AskUserQuestion">
|
|
87
|
+
<parameter name="questions">[{
|
|
88
|
+
"question": "Add this note to docs/context.md?",
|
|
89
|
+
"header": "Confirm",
|
|
90
|
+
"multiSelect": false,
|
|
91
|
+
"options": [
|
|
92
|
+
{"label": "Yes, add note", "description": "Append note to file"},
|
|
93
|
+
{"label": "No, cancel", "description": "Cancel without saving"}
|
|
94
|
+
]
|
|
95
|
+
}]</parameter>
|
|
96
|
+
</invoke>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Step 7: Apply Changes
|
|
100
|
+
|
|
101
|
+
If YES: Append the note to the Notes section using Edit tool.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Example Usage
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
/agileflow:context:note NOTE="Decided to use JWT instead of sessions"
|
|
109
|
+
/agileflow:context:note NOTE="User reported auth bug in production, investigating"
|
|
110
|
+
/agileflow:context:note NOTE="Sprint planning: focusing on US-0042 and US-0045 this week"
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Rules
|
|
116
|
+
|
|
117
|
+
- Diff-first: Always show changes before writing
|
|
118
|
+
- Creates Notes section if it doesn't exist
|
|
119
|
+
- ISO timestamp format for all entries
|
|
120
|
+
- Notes appear in chronological order (newest at bottom)
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Related Commands
|
|
125
|
+
|
|
126
|
+
- `/agileflow:context:full` - Generate/refresh full context brief
|
|
127
|
+
- `/agileflow:context:export` - Export concise excerpt for pasting
|
|
128
|
+
- `/agileflow:research:ask` - Generate research prompt for web AI
|