@itz4blitz/agentful 0.1.6 → 0.1.8
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/.claude/commands/agentful-status.md +1 -1
- package/.claude/commands/agentful.md +14 -11
- package/README.md +81 -609
- package/bin/cli.js +3 -1
- package/package.json +1 -1
- package/version.json +1 -1
|
@@ -165,15 +165,16 @@ Orchestrator:
|
|
|
165
165
|
|
|
166
166
|
## Quality Gates
|
|
167
167
|
|
|
168
|
-
Every change automatically passes through
|
|
168
|
+
Every change automatically passes through **6 core automated quality gates**:
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
170
|
+
1. **Type checking** - No type errors
|
|
171
|
+
2. **Linting** - Consistent code style
|
|
172
|
+
3. **Tests** - All tests passing
|
|
173
|
+
4. **Coverage** - Minimum 80% code coverage
|
|
174
|
+
5. **Security** - No vulnerabilities, hardcoded secrets
|
|
175
|
+
6. **Dead code** - No unused exports, imports, files
|
|
176
|
+
|
|
177
|
+
> **Note**: The reviewer agent may run additional context-specific checks beyond these 6 core gates based on project needs (e.g., performance benchmarks, accessibility audits).
|
|
177
178
|
|
|
178
179
|
**If gates fail** → @fixer automatically resolves issues → re-validates
|
|
179
180
|
|
|
@@ -207,7 +208,7 @@ Progress lives in `.agentful/`:
|
|
|
207
208
|
"no_type_errors": true,
|
|
208
209
|
"coverage_80": false
|
|
209
210
|
},
|
|
210
|
-
"
|
|
211
|
+
"overall_progress": 65
|
|
211
212
|
}
|
|
212
213
|
```
|
|
213
214
|
|
|
@@ -246,7 +247,7 @@ When agentful needs input:
|
|
|
246
247
|
|
|
247
248
|
## Continuous Development
|
|
248
249
|
|
|
249
|
-
For 24/7 autonomous development:
|
|
250
|
+
For 24/7 autonomous development, use the **Ralph Wiggum plugin** (requires separate installation):
|
|
250
251
|
|
|
251
252
|
```bash
|
|
252
253
|
/ralph-loop "/agentful-start" \
|
|
@@ -254,6 +255,8 @@ For 24/7 autonomous development:
|
|
|
254
255
|
--completion-promise "AGENTFUL_COMPLETE"
|
|
255
256
|
```
|
|
256
257
|
|
|
258
|
+
> **Note**: `/ralph-loop` is an external plugin command from the Ralph Wiggum plugin. Install separately from the Claude Code plugin registry.
|
|
259
|
+
|
|
257
260
|
Stops when:
|
|
258
261
|
- All features complete (100%)
|
|
259
262
|
- Decision needed (pauses for input)
|
|
@@ -326,4 +329,4 @@ It learns **your project's patterns** and generates agents that match your conve
|
|
|
326
329
|
- **Documentation**: https://agentful.app
|
|
327
330
|
- **GitHub**: https://github.com/itz4blitz/agentful
|
|
328
331
|
- **Issues**: https://github.com/itz4blitz/agentful/issues
|
|
329
|
-
- **Version**: 0.1.
|
|
332
|
+
- **Version**: 0.1.7 (check updates: `npm outdated @itz4blitz/agentful`)
|
package/README.md
CHANGED
|
@@ -1,670 +1,142 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
1
|
# agentful
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Transform any project into an intelligent, self-building product with specialized AI agents that work 24/7 to write, test, and validate your code.
|
|
8
|
-
|
|
9
|
-
**[📚 Full Documentation →](https://agentful.app)**
|
|
3
|
+
Autonomous product development framework for Claude Code.
|
|
10
4
|
|
|
11
5
|
[](https://opensource.org/licenses/MIT)
|
|
12
6
|
[](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
13
|
-
[](https://code.anthropic.com)
|
|
14
|
-
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## What is agentful?
|
|
20
|
-
|
|
21
|
-
**agentful** is an opinionated setup for Claude Code that transforms it into a powerful autonomous development system. It's not just another AI coding assistant—it's a complete product development framework that coordinates specialized agents to build your entire application autonomously.
|
|
22
|
-
|
|
23
|
-
Think of it as having a team of expert developers available 24/7, each with their own specialty, working together to build your product while you sleep.
|
|
24
|
-
|
|
25
|
-
### What Makes agentful Different?
|
|
26
|
-
|
|
27
|
-
Unlike single-purpose AI tools, agentful provides:
|
|
28
|
-
|
|
29
|
-
- **7 Specialized Agents** working in concert (Orchestrator, Architect, Backend, Frontend, Tester, Reviewer, Fixer)
|
|
30
|
-
- **Intelligent Init** that automatically detects your project structure (flat vs hierarchical)
|
|
31
|
-
- **Natural Conversation Interface**—just talk to agentful like a senior developer
|
|
32
|
-
- **24/7 Autonomous Development** that works while you sleep
|
|
33
|
-
- **Built-in Quality Gates** ensuring production-ready code
|
|
34
|
-
- **Tech Stack Auto-Detection** generating agents for your specific stack
|
|
35
|
-
- **Progress Tracking** showing exactly what's done and what's next
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## How agentful Works
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
43
|
-
│ 1. DEFINE YOUR PRODUCT │
|
|
44
|
-
│ Edit PRODUCT.md with your requirements, tech stack, and features │
|
|
45
|
-
└─────────────────────────────────────────────────────────────────────────────┘
|
|
46
|
-
↓
|
|
47
|
-
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
48
|
-
│ 2. INTELLIGENT INIT (Automatic) │
|
|
49
|
-
│ • Analyzes your project structure │
|
|
50
|
-
│ • Detects tech stack (Next.js, React, Prisma, etc.) │
|
|
51
|
-
│ • Creates optimal product structure (flat or hierarchical) │
|
|
52
|
-
│ • Generates specialized agents for your stack │
|
|
53
|
-
└─────────────────────────────────────────────────────────────────────────────┘
|
|
54
|
-
↓
|
|
55
|
-
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
56
|
-
│ 3. AUTONOMOUS DEVELOPMENT │
|
|
57
|
-
│ • Orchestrator coordinates work │
|
|
58
|
-
│ • Specialized agents implement features │
|
|
59
|
-
│ • Tester writes and runs tests │
|
|
60
|
-
│ • Reviewer validates quality gates │
|
|
61
|
-
│ • Fixer resolves any issues │
|
|
62
|
-
└─────────────────────────────────────────────────────────────────────────────┘
|
|
63
|
-
↓
|
|
64
|
-
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
65
|
-
│ 4. 24/7 ITERATION │
|
|
66
|
-
│ Loop continues until all features complete and quality gates pass │
|
|
67
|
-
└─────────────────────────────────────────────────────────────────────────────┘
|
|
68
|
-
↓
|
|
69
|
-
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
70
|
-
│ ✅ PRODUCTION-READY CODE │
|
|
71
|
-
│ All tests passing • No type errors • Coverage ≥80% • Secure │
|
|
72
|
-
└─────────────────────────────────────────────────────────────────────────────┘
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
## Quick Start (30 seconds)
|
|
78
|
-
|
|
79
|
-
### Step 1: Initialize in Your Project
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
npx @itz4blitz/agentful init
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
**Intelligent Structure Detection:**
|
|
86
|
-
|
|
87
|
-
agentful automatically analyzes your project and creates the optimal product structure:
|
|
88
7
|
|
|
89
|
-
- **Simple Projects** → Creates `PRODUCT.md` at root (flat, single-file)
|
|
90
|
-
- **Large/Complex Projects** → Creates `.claude/product/` with domain directories (hierarchical)
|
|
91
|
-
|
|
92
|
-
**Detection Logic:**
|
|
93
|
-
- ≥3 detected domains → Hierarchical structure
|
|
94
|
-
- ≥2 frameworks detected → Hierarchical structure
|
|
95
|
-
- Monorepo detected → Hierarchical structure
|
|
96
|
-
- Otherwise → Flat structure (recommended for beginners)
|
|
97
|
-
|
|
98
|
-
### Step 2: Edit Your Product Specification
|
|
99
|
-
|
|
100
|
-
**For Simple Projects (Flat Structure)** - Edit `PRODUCT.md`:
|
|
101
|
-
|
|
102
|
-
```markdown
|
|
103
8
|
## Overview
|
|
104
|
-
A task management app for remote teams with real-time collaboration.
|
|
105
|
-
|
|
106
|
-
## Tech Stack
|
|
107
|
-
- Frontend: Next.js 14 + TypeScript + Tailwind CSS
|
|
108
|
-
- Backend: Next.js API Routes
|
|
109
|
-
- Database: Prisma + PostgreSQL
|
|
110
|
-
- Testing: Vitest + Playwright
|
|
111
9
|
|
|
112
|
-
|
|
10
|
+
agentful is a Claude Code configuration that provides structured autonomous development through specialized AI agents. It coordinates multiple agents to implement features, write tests, and validate code quality according to a defined product specification.
|
|
113
11
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
#### User Registration - CRITICAL
|
|
117
|
-
**Description**: Allow new users to create accounts
|
|
118
|
-
|
|
119
|
-
**Subtasks**:
|
|
120
|
-
1. Create registration form UI - CRITICAL
|
|
121
|
-
- [ ] Email validation with regex
|
|
122
|
-
- [ ] Password minimum 8 characters
|
|
123
|
-
- [ ] Responsive design
|
|
124
|
-
|
|
125
|
-
2. Implement registration API endpoint - CRITICAL
|
|
126
|
-
- [ ] POST /api/auth/register
|
|
127
|
-
- [ ] Hash passwords with bcrypt
|
|
128
|
-
- [ ] Rate limiting
|
|
129
|
-
|
|
130
|
-
#### User Login - CRITICAL
|
|
131
|
-
[... more features]
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
**For Large Projects (Hierarchical Structure)** - Edit `.claude/product/index.md`:
|
|
135
|
-
|
|
136
|
-
```markdown
|
|
137
|
-
## Overview
|
|
138
|
-
E-commerce platform with multi-vendor support.
|
|
139
|
-
|
|
140
|
-
## Domains
|
|
141
|
-
1. **Authentication** - See `.claude/product/domains/auth/` for details
|
|
142
|
-
2. **Product Catalog** - See `.claude/product/domains/products/` for details
|
|
143
|
-
3. **Order Processing** - See `.claude/product/domains/orders/` for details
|
|
144
|
-
4. **Vendor Management** - See `.claude/product/domains/vendors/` for details
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
Then edit domain-specific files in `.claude/product/domains/{domain-name}/`.
|
|
148
|
-
|
|
149
|
-
### Step 3: Start Autonomous Development
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
claude
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Then inside Claude Code:
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
/agentful-start
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
That's it! agentful will:
|
|
162
|
-
|
|
163
|
-
1. **Analyze** your product specification
|
|
164
|
-
2. **Detect** your tech stack from `package.json` and code
|
|
165
|
-
3. **Generate** specialized agents for your stack
|
|
166
|
-
4. **Begin** autonomous development immediately
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
## Key Features
|
|
171
|
-
|
|
172
|
-
### 🧠 Intelligent Init
|
|
173
|
-
|
|
174
|
-
Smart initialization that adapts to your project:
|
|
175
|
-
|
|
176
|
-
- **Automatic Structure Detection** - Chooses flat vs hierarchical based on project complexity
|
|
177
|
-
- **Tech Stack Detection** - Analyzes dependencies, frameworks, and code patterns
|
|
178
|
-
- **Dynamic Agent Generation** - Creates specialized agents for your specific stack
|
|
179
|
-
- **Zero Configuration** - Works out of the box, no setup needed
|
|
180
|
-
|
|
181
|
-
**Example:**
|
|
12
|
+
## Installation
|
|
182
13
|
|
|
183
14
|
```bash
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
✓ Detected project type: Next.js App Router
|
|
187
|
-
✓ Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS
|
|
188
|
-
✓ Analyzing project structure...
|
|
189
|
-
✓ Detected 5 domains → Using hierarchical structure
|
|
190
|
-
✓ Created .claude/product/domains/ with 5 domain directories
|
|
191
|
-
✓ Generated specialized agents: nextjs-agent, prisma-agent, tailwind-agent
|
|
192
|
-
|
|
193
|
-
Next: Edit .claude/product/index.md to define your product, then run 'claude' and '/agentful-start'
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
### 💬 Natural Conversation Interface
|
|
197
|
-
|
|
198
|
-
Talk to agentful like a senior developer:
|
|
199
|
-
|
|
200
|
-
```bash
|
|
201
|
-
/agentful
|
|
202
|
-
|
|
203
|
-
You: I need to add user authentication
|
|
204
|
-
agentful: I'll help you add authentication. I can see you have Next.js set up.
|
|
205
|
-
Would you like to use NextAuth.js or implement custom JWT?
|
|
206
|
-
|
|
207
|
-
You: Let's use NextAuth.js with Google provider
|
|
208
|
-
agentful: Perfect. I'll:
|
|
209
|
-
1. Install next-auth
|
|
210
|
-
2. Configure Google OAuth
|
|
211
|
-
3. Create login/logout pages
|
|
212
|
-
4. Add session management
|
|
213
|
-
5. Write tests
|
|
214
|
-
Ready to proceed?
|
|
215
|
-
|
|
216
|
-
You: Yes, go ahead
|
|
217
|
-
agentful: Starting implementation...
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### 🤖 Specialized Agents
|
|
221
|
-
|
|
222
|
-
Seven AI agents working together:
|
|
223
|
-
|
|
224
|
-
| Agent | Role | Expertise |
|
|
225
|
-
|-------|------|-----------|
|
|
226
|
-
| **@orchestrator** | Project Manager | Coordinates all work, manages decisions, tracks progress |
|
|
227
|
-
| **@architect** | System Architect | Analyzes tech stack, generates specialized agents |
|
|
228
|
-
| **@backend** | Backend Developer | Services, repositories, controllers, APIs |
|
|
229
|
-
| **@frontend** | Frontend Developer | Components, pages, hooks, styling |
|
|
230
|
-
| **@tester** | QA Engineer | Unit, integration, E2E tests |
|
|
231
|
-
| **@reviewer** | Code Reviewer | Code review, dead code detection, quality validation |
|
|
232
|
-
| **@fixer** | DevOps Engineer | Auto-fixes validation failures |
|
|
233
|
-
|
|
234
|
-
### 🌙 24/7 Autonomous Development
|
|
235
|
-
|
|
236
|
-
Use the Ralph Wiggum plugin for overnight autonomous development:
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
# Inside Claude Code
|
|
240
|
-
/plugin install ralph-wiggum@anthropics
|
|
241
|
-
|
|
242
|
-
# Run autonomous development loop
|
|
243
|
-
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
**What happens overnight:**
|
|
247
|
-
- agentful works while you sleep
|
|
248
|
-
- Continues until all features complete (100%)
|
|
249
|
-
- Stops when all quality gates pass
|
|
250
|
-
- Or reaches max iterations
|
|
251
|
-
|
|
252
|
-
Wake up to a working product!
|
|
253
|
-
|
|
254
|
-
### 📊 Quality Gates
|
|
255
|
-
|
|
256
|
-
Code must pass ALL gates before completion:
|
|
257
|
-
|
|
258
|
-
- ✅ **All tests passing** - Unit, integration, and E2E
|
|
259
|
-
- ✅ **Type checking** - Adapts to your stack (TypeScript, Flow, etc.)
|
|
260
|
-
- ✅ **Linting** - Zero lint errors
|
|
261
|
-
- ✅ **Dead code elimination** - No unused exports, files, or dependencies
|
|
262
|
-
- ✅ **Test coverage** - Minimum 80% coverage
|
|
263
|
-
- ✅ **Security** - No vulnerabilities or security issues
|
|
264
|
-
|
|
265
|
-
Quality gates automatically adapt to your tech stack. Using JavaScript instead of TypeScript? No type checking. Using ESLint instead of Biome? Linting adapts accordingly.
|
|
266
|
-
|
|
267
|
-
### 📈 Progress Tracking
|
|
268
|
-
|
|
269
|
-
Real-time visibility into development:
|
|
270
|
-
|
|
271
|
-
```bash
|
|
272
|
-
/agentful-status
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
**Output:**
|
|
276
|
-
```
|
|
277
|
-
🔧 Working on: User authentication feature
|
|
278
|
-
Phase: implementation
|
|
279
|
-
Iterations: 12
|
|
280
|
-
Current task: Implementing JWT service
|
|
281
|
-
|
|
282
|
-
Progress:
|
|
283
|
-
████████░░░░░░░░░░░ 40%
|
|
284
|
-
|
|
285
|
-
Quality Gates:
|
|
286
|
-
✅ Tests Passing (47/47)
|
|
287
|
-
❌ Type Checking (3 errors found)
|
|
288
|
-
⚠️ Coverage (76% - target: 80%)
|
|
289
|
-
✅ Linting (0 errors)
|
|
290
|
-
✅ Dead Code (0 issues)
|
|
291
|
-
✅ Security (0 vulnerabilities)
|
|
292
|
-
|
|
293
|
-
Pending Decisions (2):
|
|
294
|
-
1. ⚠️ Which auth library? (NextAuth.js or custom JWT?)
|
|
295
|
-
2. ⚠️ Session duration? (7 days or 30 days?)
|
|
296
|
-
|
|
297
|
-
Completed:
|
|
298
|
-
✅ User registration (100%)
|
|
299
|
-
✅ Password reset (100%)
|
|
300
|
-
🔄 User authentication (40%)
|
|
301
|
-
⏳ User profile (0%)
|
|
15
|
+
npx @itz4blitz/agentful init
|
|
302
16
|
```
|
|
303
17
|
|
|
304
|
-
|
|
18
|
+
This command creates the necessary directory structure and configuration files in your project.
|
|
305
19
|
|
|
306
|
-
|
|
20
|
+
## Usage
|
|
307
21
|
|
|
308
|
-
1.
|
|
309
|
-
2. **Continues work** on unblocked features
|
|
310
|
-
3. **You answer** when convenient via `/agentful-decide`
|
|
311
|
-
4. **Resumes** blocked work automatically
|
|
22
|
+
### 1. Define Product Specification
|
|
312
23
|
|
|
313
|
-
|
|
24
|
+
After initialization, edit your product specification file with features and requirements.
|
|
314
25
|
|
|
315
|
-
|
|
26
|
+
**Flat structure** (single file at project root):
|
|
27
|
+
- `PRODUCT.md` - All features in one file
|
|
316
28
|
|
|
317
|
-
|
|
29
|
+
**Hierarchical structure** (organized by domain):
|
|
30
|
+
- `.claude/product/index.md` - Product overview
|
|
31
|
+
- `.claude/product/domains/*/features/` - Feature definitions organized by domain
|
|
318
32
|
|
|
319
|
-
|
|
33
|
+
### 2. Start Development
|
|
320
34
|
|
|
321
35
|
```bash
|
|
322
|
-
#
|
|
323
|
-
$ npx @itz4blitz/agentful init
|
|
324
|
-
✓ Detected project type: Next.js App Router
|
|
325
|
-
✓ Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS
|
|
326
|
-
✓ Created PRODUCT.md (flat structure)
|
|
327
|
-
|
|
328
|
-
# You: Edit PRODUCT.md with authentication requirements
|
|
329
|
-
|
|
330
|
-
# You: Start Claude Code
|
|
331
|
-
$ claude
|
|
332
|
-
|
|
333
|
-
# You: Start autonomous development
|
|
334
|
-
> /agentful-start
|
|
335
|
-
|
|
336
|
-
# agentful responds:
|
|
337
|
-
🔍 Analyzing PRODUCT.md...
|
|
338
|
-
📋 Detected domains: Authentication, User Management
|
|
339
|
-
🛠️ Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS, Vitest
|
|
340
|
-
🤖 Generating specialized agents: nextjs-agent, typescript-agent, prisma-agent, tailwind-agent
|
|
341
|
-
|
|
342
|
-
🚀 Starting autonomous development...
|
|
343
|
-
|
|
344
|
-
📌 Feature: User Registration (CRITICAL)
|
|
345
|
-
→ @backend implementing JWT service
|
|
346
|
-
→ @backend creating user schema in Prisma
|
|
347
|
-
→ @backend implementing registration API route
|
|
348
|
-
→ @frontend creating registration form
|
|
349
|
-
→ @tester writing unit tests
|
|
350
|
-
→ @tester writing integration tests
|
|
351
|
-
|
|
352
|
-
✅ User Registration complete (100%)
|
|
353
|
-
Tests: ✅ 12/12 passing
|
|
354
|
-
Type check: ✅ 0 errors
|
|
355
|
-
Coverage: ✅ 87%
|
|
356
|
-
|
|
357
|
-
📌 Feature: User Login (CRITICAL)
|
|
358
|
-
→ @backend implementing login API
|
|
359
|
-
→ @frontend creating login page
|
|
360
|
-
→ @tester writing auth tests
|
|
361
|
-
|
|
362
|
-
⚠️ Decision needed: Which session duration?
|
|
363
|
-
Options: 7 days, 30 days, or custom
|
|
364
|
-
→ @orchestrator continuing with unblocked features...
|
|
365
|
-
|
|
366
|
-
📌 Feature: Password Reset (HIGH)
|
|
367
|
-
→ @backend implementing reset token flow
|
|
368
|
-
→ @backend creating email service
|
|
369
|
-
→ @frontend creating reset form
|
|
370
|
-
|
|
371
|
-
> /agentful-decide
|
|
372
|
-
|
|
373
|
-
📝 Pending Decisions:
|
|
374
|
-
1. Which session duration for JWT tokens?
|
|
375
|
-
a) 7 days (recommended for better security)
|
|
376
|
-
b) 30 days (more convenient)
|
|
377
|
-
c) Custom duration
|
|
378
|
-
|
|
379
|
-
Your choice: a
|
|
380
|
-
|
|
381
|
-
✅ Decision resolved: Using 7-day session duration
|
|
382
|
-
🔄 @orchestrator resuming login feature...
|
|
383
|
-
|
|
384
|
-
📌 Feature: User Login (resuming)
|
|
385
|
-
→ @backend implementing 7-day session duration
|
|
386
|
-
→ @frontend adding session persistence
|
|
387
|
-
|
|
388
|
-
✅ User Login complete (100%)
|
|
389
|
-
Tests: ✅ 18/18 passing
|
|
390
|
-
Type check: ✅ 0 errors
|
|
391
|
-
Coverage: ✅ 91%
|
|
392
|
-
|
|
393
|
-
📊 Progress Update:
|
|
394
|
-
████████░░░░░░░░░░░ 33% (3/9 features complete)
|
|
395
|
-
|
|
396
|
-
🔄 Continuing with next feature: User Profile...
|
|
397
|
-
|
|
398
|
-
[Continues 24/7 until complete]
|
|
36
|
+
claude # Start Claude Code
|
|
399
37
|
```
|
|
400
38
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
## Why Use agentful?
|
|
404
|
-
|
|
405
|
-
### vs. Manual Development
|
|
39
|
+
Then use the `/agentful-start` command to begin autonomous development.
|
|
406
40
|
|
|
407
|
-
|
|
408
|
-
|-------------------|----------|
|
|
409
|
-
| Write every line yourself | AI agents write code autonomously |
|
|
410
|
-
| Forget to write tests | Tests written automatically |
|
|
411
|
-
| Debug for hours | Issues caught and fixed automatically |
|
|
412
|
-
| Works only when you work | Works 24/7 |
|
|
413
|
-
| Inconsistent code quality | Enforced quality standards |
|
|
414
|
-
| Context switching overhead | Specialized agents maintain focus |
|
|
41
|
+
### 3. Monitor Progress
|
|
415
42
|
|
|
416
|
-
|
|
43
|
+
- `/agentful-status` - View completion percentage and current work
|
|
44
|
+
- `/agentful-validate` - Run quality checks
|
|
45
|
+
- `/agentful-decide` - Answer blocking questions
|
|
417
46
|
|
|
418
|
-
|
|
419
|
-
|---------------------------|----------|
|
|
420
|
-
| Single-purpose (code completion) | Complete product development system |
|
|
421
|
-
| No coordination between agents | 7 specialized agents working together |
|
|
422
|
-
| Requires constant supervision | Autonomous 24/7 operation |
|
|
423
|
-
| No quality enforcement | Built-in quality gates |
|
|
424
|
-
| Generic code | Tech stack-specific agents |
|
|
425
|
-
| No progress tracking | Real-time progress visibility |
|
|
426
|
-
| Manual testing | Automatic test generation |
|
|
427
|
-
|
|
428
|
-
### Key Differentiators
|
|
429
|
-
|
|
430
|
-
1. **Agent Coordination** - Unlike single AI tools, agentful orchestrates 7 specialized agents working together
|
|
431
|
-
2. **Intelligent Init** - Automatically detects optimal project structure (flat vs hierarchical)
|
|
432
|
-
3. **Natural Conversation** - Talk to agentful like a senior developer, not a tool
|
|
433
|
-
4. **Quality Built-In** - Every feature includes tests, type checking, linting, coverage, security
|
|
434
|
-
5. **24/7 Development** - Works while you sleep via Ralph Wiggum loops
|
|
435
|
-
6. **Tech Stack Adaptation** - Dynamically generates agents for your specific stack
|
|
436
|
-
7. **Progress Visibility** - Always know what's done, what's next, and what's blocked
|
|
437
|
-
|
|
438
|
-
---
|
|
439
|
-
|
|
440
|
-
## Product Structures
|
|
441
|
-
|
|
442
|
-
agentful supports two product structure formats:
|
|
443
|
-
|
|
444
|
-
### Flat Structure (Recommended for Beginners)
|
|
445
|
-
|
|
446
|
-
**Best for:** Simple projects, MVPs, prototypes
|
|
447
|
-
|
|
448
|
-
```
|
|
449
|
-
your-project/
|
|
450
|
-
├── PRODUCT.md # Single file with all features
|
|
451
|
-
├── .claude/ # agentful configuration
|
|
452
|
-
└── src/ # Your code
|
|
453
|
-
```
|
|
47
|
+
## Architecture
|
|
454
48
|
|
|
455
|
-
|
|
456
|
-
- Simple to get started
|
|
457
|
-
- Everything in one file
|
|
458
|
-
- Easy to understand
|
|
459
|
-
- Great for small teams
|
|
49
|
+
### Agent System
|
|
460
50
|
|
|
461
|
-
|
|
51
|
+
agentful uses seven specialized agents:
|
|
462
52
|
|
|
463
|
-
|
|
53
|
+
| Agent | Responsibility |
|
|
54
|
+
|-------|---------------|
|
|
55
|
+
| orchestrator | Coordinates work, routes tasks, tracks state |
|
|
56
|
+
| architect | Analyzes project structure and generates specialized agents |
|
|
57
|
+
| backend | Implements server-side logic, APIs, database schemas |
|
|
58
|
+
| frontend | Implements UI components, pages, state management |
|
|
59
|
+
| tester | Writes unit, integration, and end-to-end tests |
|
|
60
|
+
| reviewer | Validates code quality, security, and standards |
|
|
61
|
+
| fixer | Resolves validation failures and test errors |
|
|
464
62
|
|
|
465
|
-
|
|
466
|
-
your-project/
|
|
467
|
-
├── .claude/
|
|
468
|
-
│ └── product/
|
|
469
|
-
│ ├── index.md # Product overview
|
|
470
|
-
│ └── domains/
|
|
471
|
-
│ ├── authentication/
|
|
472
|
-
│ │ ├── index.md # Domain overview
|
|
473
|
-
│ │ └── features/
|
|
474
|
-
│ │ ├── login.md
|
|
475
|
-
│ │ └── register.md
|
|
476
|
-
│ ├── user-management/
|
|
477
|
-
│ │ └── features/
|
|
478
|
-
│ └── payments/
|
|
479
|
-
│ └── features/
|
|
480
|
-
└── src/
|
|
481
|
-
```
|
|
63
|
+
### Quality Gates
|
|
482
64
|
|
|
483
|
-
|
|
484
|
-
- Organized by domain
|
|
485
|
-
- Multiple team members can edit simultaneously
|
|
486
|
-
- Easier to navigate large specs
|
|
487
|
-
- Better for complex products
|
|
65
|
+
Code changes are validated against:
|
|
488
66
|
|
|
489
|
-
|
|
67
|
+
- Type checking (TypeScript, Flow, etc.)
|
|
68
|
+
- Linting (ESLint, Biome, etc.)
|
|
69
|
+
- Test execution (all tests must pass)
|
|
70
|
+
- Code coverage (minimum 80%)
|
|
71
|
+
- Security scanning
|
|
72
|
+
- Dead code detection
|
|
490
73
|
|
|
491
|
-
|
|
74
|
+
### State Tracking
|
|
492
75
|
|
|
493
|
-
|
|
76
|
+
Runtime state is stored in `.agentful/`:
|
|
494
77
|
|
|
495
|
-
|
|
78
|
+
- `state.json` - Current task and phase
|
|
79
|
+
- `completion.json` - Feature completion status
|
|
80
|
+
- `decisions.json` - Pending and resolved decisions
|
|
81
|
+
- `architecture.json` - Detected technology stack
|
|
496
82
|
|
|
497
83
|
## Commands
|
|
498
84
|
|
|
499
85
|
| Command | Description |
|
|
500
86
|
|---------|-------------|
|
|
501
|
-
| `/agentful` |
|
|
502
|
-
| `/agentful-
|
|
503
|
-
| `/agentful-
|
|
504
|
-
| `/agentful-decide` | Answer pending decisions
|
|
505
|
-
| `/agentful-validate` | Run all quality checks (tests, type check, lint, coverage, security) |
|
|
506
|
-
|
|
507
|
-
---
|
|
508
|
-
|
|
509
|
-
## Tech Stack Support
|
|
510
|
-
|
|
511
|
-
agentful automatically detects and supports:
|
|
512
|
-
|
|
513
|
-
### Frontend Frameworks
|
|
514
|
-
- Next.js (App Router & Pages Router)
|
|
515
|
-
- React + Vite
|
|
516
|
-
- Vue + Nuxt
|
|
517
|
-
- SvelteKit
|
|
518
|
-
- Solid.js
|
|
519
|
-
- Astro
|
|
520
|
-
|
|
521
|
-
### Backend Frameworks
|
|
522
|
-
- Next.js API Routes
|
|
523
|
-
- Express
|
|
524
|
-
- Fastify
|
|
525
|
-
- NestJS
|
|
526
|
-
- Hono
|
|
527
|
-
- tRPC
|
|
528
|
-
|
|
529
|
-
### Databases & ORMs
|
|
530
|
-
- PostgreSQL, MySQL, SQLite, MongoDB
|
|
531
|
-
- Prisma, Drizzle, TypeORM, Mongoose
|
|
532
|
-
|
|
533
|
-
### Styling
|
|
534
|
-
- Tailwind CSS, CSS Modules, styled-components, shadcn/ui
|
|
535
|
-
|
|
536
|
-
### Testing
|
|
537
|
-
- Vitest, Jest, Playwright, Cypress
|
|
538
|
-
|
|
539
|
-
### Authentication
|
|
540
|
-
- NextAuth.js, Clerk, Auth0, Lucia, custom JWT
|
|
541
|
-
|
|
542
|
-
**And many more!** agentful generates specialized agents for whatever stack you're using.
|
|
543
|
-
|
|
544
|
-
---
|
|
545
|
-
|
|
546
|
-
## Use Cases
|
|
547
|
-
|
|
548
|
-
### Perfect For:
|
|
87
|
+
| `/agentful-start` | Start or resume autonomous development |
|
|
88
|
+
| `/agentful-status` | Display progress and current state |
|
|
89
|
+
| `/agentful-validate` | Run all quality checks |
|
|
90
|
+
| `/agentful-decide` | Answer pending decisions |
|
|
549
91
|
|
|
550
|
-
|
|
551
|
-
- **Prototyping** - Quickly test ideas with working code
|
|
552
|
-
- **Full-Stack Projects** - Build complete applications from scratch
|
|
553
|
-
- **Legacy Migration** - Modernize old codebases with test coverage
|
|
554
|
-
- **SaaS Products** - Build complete SaaS applications autonomously
|
|
555
|
-
- **Internal Tools** - Create tools for your team automatically
|
|
556
|
-
- **Learning Projects** - Learn best practices from autonomously written code
|
|
557
|
-
- **Open Source** - Generate boilerplate and scaffolding automatically
|
|
92
|
+
## Technology Support
|
|
558
93
|
|
|
559
|
-
|
|
94
|
+
agentful detects and adapts to your technology stack automatically:
|
|
560
95
|
|
|
561
|
-
-
|
|
562
|
-
-
|
|
563
|
-
-
|
|
564
|
-
-
|
|
565
|
-
|
|
566
|
-
|
|
96
|
+
- **Languages**: TypeScript, JavaScript, Python, Go, Rust, Java, C#, PHP, Ruby, Elixir
|
|
97
|
+
- **Frontend**: React, Vue, Angular, Svelte, Next.js, Astro, SolidJS
|
|
98
|
+
- **Backend**: Express, Fastify, NestJS, Hono, Next.js API Routes
|
|
99
|
+
- **Databases**: PostgreSQL, MySQL, SQLite, MongoDB
|
|
100
|
+
- **ORMs**: Prisma, Drizzle, TypeORM, Mongoose
|
|
101
|
+
- **Testing**: Jest, Vitest, Playwright, Cypress, Pytest, JUnit
|
|
567
102
|
|
|
568
103
|
## Requirements
|
|
569
104
|
|
|
570
|
-
-
|
|
571
|
-
-
|
|
572
|
-
-
|
|
573
|
-
|
|
574
|
-
---
|
|
105
|
+
- Claude Code ([code.anthropic.com](https://code.anthropic.com))
|
|
106
|
+
- Node.js 22 or higher
|
|
107
|
+
- Git
|
|
575
108
|
|
|
576
109
|
## Documentation
|
|
577
110
|
|
|
578
|
-
Full documentation
|
|
579
|
-
|
|
580
|
-
### Getting Started
|
|
581
|
-
- **[Quick Start Guide](https://agentful.app/getting-started/quick-start)** - 5-minute walkthrough
|
|
582
|
-
- **[Your First Project](https://agentful.app/getting-started/first-project)** - Build your first project
|
|
583
|
-
- **[Product Specification](https://agentful.app/getting-started/product-specification)** - How to write effective specs
|
|
584
|
-
|
|
585
|
-
### Core Concepts
|
|
586
|
-
- **[Agents](https://agentful.app/agents)** - Specialized agents and their roles
|
|
587
|
-
- **[Commands](https://agentful.app/core-concepts/commands)** - All available commands
|
|
588
|
-
- **[Quality Gates](https://agentful.app/autonomous-development/quality-gates)** - Quality checks explained
|
|
589
|
-
- **[Progress Tracking](https://agentful.app/core-concepts/progress-tracking)** - State management
|
|
590
|
-
- **[Decision Handling](https://agentful.app/core-concepts/decisions)** - How agentful handles decisions
|
|
591
|
-
|
|
592
|
-
### Advanced
|
|
593
|
-
- **[24/7 Development](https://agentful.app/autonomous-development/24-7-development)** - Overnight autonomous loops
|
|
594
|
-
- **[Product Structures](https://agentful.app/core-concepts/product-structures)** - Flat vs hierarchical
|
|
595
|
-
- **[Tech Stack Detection](https://agentful.app/core-concepts/tech-stack-detection)** - How it works
|
|
596
|
-
- **[Customization](https://agentful.app/advanced/customization)** - Customize agents and commands
|
|
111
|
+
Full documentation: [agentful.app](https://agentful.app)
|
|
597
112
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
## Architecture
|
|
113
|
+
## Project Structure
|
|
601
114
|
|
|
602
115
|
```
|
|
603
116
|
your-project/
|
|
604
|
-
├── PRODUCT.md
|
|
605
|
-
├── CLAUDE.md
|
|
606
|
-
├── .claude/
|
|
607
|
-
│ ├── product/
|
|
608
|
-
│
|
|
609
|
-
│
|
|
610
|
-
│ ├──
|
|
611
|
-
│
|
|
612
|
-
|
|
613
|
-
│
|
|
614
|
-
│
|
|
615
|
-
│
|
|
616
|
-
│
|
|
617
|
-
|
|
618
|
-
│ ├── commands/ # Slash commands
|
|
619
|
-
│ │ ├── agentful.md
|
|
620
|
-
│ │ ├── agentful-start.md
|
|
621
|
-
│ │ ├── agentful-status.md
|
|
622
|
-
│ │ ├── agentful-decide.md
|
|
623
|
-
│ │ └── agentful-validate.md
|
|
624
|
-
│ ├── skills/ # Domain-specific skills
|
|
625
|
-
│ │ ├── conversation/
|
|
626
|
-
│ │ ├── product-tracking/
|
|
627
|
-
│ │ └── validation/
|
|
628
|
-
│ └── settings.json # Hooks and permissions
|
|
629
|
-
├── .agentful/ # Runtime state (gitignored)
|
|
630
|
-
│ ├── state.json # Current work state
|
|
631
|
-
│ ├── completion.json # Feature completion percentages
|
|
632
|
-
│ ├── decisions.json # Pending and resolved decisions
|
|
633
|
-
│ ├── architecture.json # Detected tech stack
|
|
634
|
-
│ └── last-validation.json # Most recent validation report
|
|
635
|
-
└── src/ # Your code (generated by agentful)
|
|
117
|
+
├── PRODUCT.md # Product specification (flat)
|
|
118
|
+
├── CLAUDE.md # Project instructions
|
|
119
|
+
├── .claude/
|
|
120
|
+
│ ├── product/ # Product specification (hierarchical)
|
|
121
|
+
│ ├── agents/ # Agent definitions
|
|
122
|
+
│ ├── commands/ # Slash commands
|
|
123
|
+
│ ├── skills/ # Reusable skills
|
|
124
|
+
│ └── settings.json # Configuration
|
|
125
|
+
├── .agentful/ # Runtime state
|
|
126
|
+
│ ├── state.json
|
|
127
|
+
│ ├── completion.json
|
|
128
|
+
│ ├── decisions.json
|
|
129
|
+
│ └── architecture.json
|
|
130
|
+
└── src/ # Source code
|
|
636
131
|
```
|
|
637
132
|
|
|
638
|
-
---
|
|
639
|
-
|
|
640
|
-
## Links
|
|
641
|
-
|
|
642
|
-
- **GitHub**: [github.com/itz4blitz/agentful](https://github.com/itz4blitz/agentful)
|
|
643
|
-
- **Issues**: [github.com/itz4blitz/agentful/issues](https://github.com/itz4blitz/agentful/issues)
|
|
644
|
-
- **Website**: [agentful.app](https://agentful.app)
|
|
645
|
-
- **Documentation**: [agentful.app](https://agentful.app)
|
|
646
|
-
- **NPM**: [npmjs.com/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
647
|
-
- **Claude Code**: [code.anthropic.com](https://code.anthropic.com)
|
|
648
|
-
|
|
649
|
-
---
|
|
650
|
-
|
|
651
133
|
## License
|
|
652
134
|
|
|
653
135
|
MIT
|
|
654
136
|
|
|
655
|
-
---
|
|
656
|
-
|
|
657
137
|
## Links
|
|
658
138
|
|
|
659
|
-
-
|
|
660
|
-
-
|
|
661
|
-
-
|
|
662
|
-
-
|
|
663
|
-
- **NPM**: [npmjs.com/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
664
|
-
- **Claude Code**: [code.anthropic.com](https://code.anthropic.com)
|
|
665
|
-
|
|
666
|
-
---
|
|
667
|
-
|
|
668
|
-
## License
|
|
669
|
-
|
|
670
|
-
MIT
|
|
139
|
+
- GitHub: [github.com/itz4blitz/agentful](https://github.com/itz4blitz/agentful)
|
|
140
|
+
- Issues: [github.com/itz4blitz/agentful/issues](https://github.com/itz4blitz/agentful/issues)
|
|
141
|
+
- Documentation: [agentful.app](https://agentful.app)
|
|
142
|
+
- NPM: [npmjs.com/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|
package/bin/cli.js
CHANGED
|
@@ -131,6 +131,9 @@ async function initagentful(options = {}) {
|
|
|
131
131
|
const autoGenerateAgents = options.generateAgents || false;
|
|
132
132
|
const autoGenerateDomains = options.generateDomains || false;
|
|
133
133
|
|
|
134
|
+
// Initialize analysis variable (will be populated later)
|
|
135
|
+
let analysis = null;
|
|
136
|
+
|
|
134
137
|
// Check if already initialized
|
|
135
138
|
if (fs.existsSync(claudeDir)) {
|
|
136
139
|
log(colors.yellow, '⚠️ .claude/ directory already exists!');
|
|
@@ -337,7 +340,6 @@ ${analysis && analysis.domains.length > 0 ? analysis.domains.map((d, i) => `${i
|
|
|
337
340
|
checkGitignore();
|
|
338
341
|
|
|
339
342
|
// Perform smart project analysis (unless explicitly disabled)
|
|
340
|
-
let analysis = null;
|
|
341
343
|
if (smart) {
|
|
342
344
|
console.log('');
|
|
343
345
|
log(colors.bright, '🔍 Analyzing your project...');
|
package/package.json
CHANGED
package/version.json
CHANGED