@itz4blitz/agentful 0.1.0 β 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/architect.md +283 -11
- package/.claude/agents/backend.md +282 -218
- package/.claude/agents/frontend.md +242 -319
- package/.claude/agents/orchestrator.md +27 -27
- package/.claude/agents/reviewer.md +1 -1
- package/.claude/agents/tester.md +375 -284
- package/.claude/commands/agentful-decide.md +104 -29
- package/.claude/commands/agentful-start.md +18 -16
- package/.claude/commands/agentful-status.md +28 -22
- package/.claude/commands/agentful-validate.md +42 -20
- package/.claude/commands/agentful.md +329 -0
- package/.claude/product/README.md +1 -1
- package/.claude/product/index.md +1 -1
- package/.claude/settings.json +4 -3
- package/.claude/skills/conversation/SKILL.md +1130 -0
- package/LICENSE +1 -1
- package/README.md +557 -222
- package/bin/cli.js +319 -36
- package/lib/agent-generator.js +685 -0
- package/lib/domain-detector.js +468 -0
- package/lib/domain-structure-generator.js +770 -0
- package/lib/index.js +40 -0
- package/lib/project-analyzer.js +701 -0
- package/lib/tech-stack-detector.js +1091 -0
- package/lib/template-engine.js +153 -0
- package/package.json +14 -5
- package/template/CLAUDE.md +62 -21
- package/template/PRODUCT.md +89 -1
package/README.md
CHANGED
|
@@ -1,170 +1,612 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# agentful
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
>
|
|
7
|
-
> This software is EXPERIMENTAL and UNTESTED. Use at your own risk! Not recommended for production projects.
|
|
5
|
+
### The Autonomous Product Development Kit for Claude Code
|
|
8
6
|
|
|
9
|
-
|
|
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)**
|
|
10
|
+
|
|
11
|
+
[](https://opensource.org/licenses/MIT)
|
|
12
|
+
[](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
|
|
10
36
|
|
|
11
37
|
---
|
|
12
38
|
|
|
13
|
-
##
|
|
39
|
+
## How agentful Works
|
|
14
40
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
```
|
|
22
74
|
|
|
23
75
|
---
|
|
24
76
|
|
|
25
|
-
##
|
|
77
|
+
## Quick Start (30 seconds)
|
|
26
78
|
|
|
27
|
-
### 1
|
|
79
|
+
### Step 1: Initialize in Your Project
|
|
28
80
|
|
|
29
81
|
```bash
|
|
30
|
-
npx agentful init
|
|
82
|
+
npx @itz4blitz/agentful init
|
|
31
83
|
```
|
|
32
84
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- `state.json` - Current work state
|
|
37
|
-
- `completion.json` - Progress tracking
|
|
38
|
-
- `decisions.json` - Pending user decisions
|
|
39
|
-
- `architecture.json` - Detected tech stack
|
|
40
|
-
- `PRODUCT.md` - Your product spec template
|
|
41
|
-
- `CLAUDE.md` - Project instructions
|
|
85
|
+
**Intelligent Structure Detection:**
|
|
86
|
+
|
|
87
|
+
agentful automatically analyzes your project and creates the optimal product structure:
|
|
42
88
|
|
|
43
|
-
|
|
89
|
+
- **Simple Projects** β Creates `PRODUCT.md` at root (flat, single-file)
|
|
90
|
+
- **Large/Complex Projects** β Creates `.claude/product/` with domain directories (hierarchical)
|
|
44
91
|
|
|
45
|
-
|
|
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)
|
|
46
97
|
|
|
47
|
-
|
|
98
|
+
### Step 2: Edit Your Product Specification
|
|
99
|
+
|
|
100
|
+
**For Simple Projects (Flat Structure)** - Edit `PRODUCT.md`:
|
|
48
101
|
|
|
49
102
|
```markdown
|
|
50
103
|
## Overview
|
|
51
|
-
A task management app for teams.
|
|
104
|
+
A task management app for remote teams with real-time collaboration.
|
|
52
105
|
|
|
53
106
|
## Tech Stack
|
|
54
|
-
- Next.js 14 + TypeScript
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
- Vitest + Playwright
|
|
107
|
+
- Frontend: Next.js 14 + TypeScript + Tailwind CSS
|
|
108
|
+
- Backend: Next.js API Routes
|
|
109
|
+
- Database: Prisma + PostgreSQL
|
|
110
|
+
- Testing: Vitest + Playwright
|
|
58
111
|
|
|
59
112
|
## Features
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
113
|
+
|
|
114
|
+
### Domain: Authentication
|
|
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]
|
|
63
132
|
```
|
|
64
133
|
|
|
65
|
-
|
|
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
|
|
66
150
|
|
|
67
151
|
```bash
|
|
68
152
|
claude
|
|
69
153
|
```
|
|
70
154
|
|
|
71
|
-
|
|
155
|
+
Then inside Claude Code:
|
|
72
156
|
|
|
73
157
|
```
|
|
74
158
|
/agentful-start
|
|
75
159
|
```
|
|
76
160
|
|
|
77
|
-
That's it!
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
|
82
167
|
|
|
83
168
|
---
|
|
84
169
|
|
|
85
|
-
##
|
|
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:**
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
$ npx @itz4blitz/agentful init
|
|
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
|
|
86
221
|
|
|
87
|
-
|
|
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:
|
|
88
237
|
|
|
89
238
|
```bash
|
|
239
|
+
# Inside Claude Code
|
|
240
|
+
/plugin install ralph-wiggum@anthropics
|
|
241
|
+
|
|
242
|
+
# Run autonomous development loop
|
|
90
243
|
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"
|
|
91
244
|
```
|
|
92
245
|
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
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%)
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### π― Smart Decision Handling
|
|
305
|
+
|
|
306
|
+
agentful asks when it needs clarification:
|
|
307
|
+
|
|
308
|
+
1. **Question added** to `decisions.json`
|
|
309
|
+
2. **Continues work** on unblocked features
|
|
310
|
+
3. **You answer** when convenient via `/agentful-decide`
|
|
311
|
+
4. **Resumes** blocked work automatically
|
|
312
|
+
|
|
313
|
+
Never interrupt flowβagentful keeps working on what it can.
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Example Flow
|
|
318
|
+
|
|
319
|
+
Here's a real example of agentful building authentication:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
# You: Initialize agentful
|
|
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]
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## Why Use agentful?
|
|
404
|
+
|
|
405
|
+
### vs. Manual Development
|
|
406
|
+
|
|
407
|
+
| Manual Development | agentful |
|
|
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 |
|
|
415
|
+
|
|
416
|
+
### vs. Other AI Tools
|
|
417
|
+
|
|
418
|
+
| Other AI Coding Assistants | agentful |
|
|
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
|
|
97
437
|
|
|
98
438
|
---
|
|
99
439
|
|
|
100
|
-
##
|
|
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
|
+
```
|
|
454
|
+
|
|
455
|
+
**Advantages:**
|
|
456
|
+
- Simple to get started
|
|
457
|
+
- Everything in one file
|
|
458
|
+
- Easy to understand
|
|
459
|
+
- Great for small teams
|
|
460
|
+
|
|
461
|
+
### Hierarchical Structure (For Large Projects)
|
|
462
|
+
|
|
463
|
+
**Best for:** Complex projects, multiple domains, large teams
|
|
464
|
+
|
|
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
|
+
```
|
|
482
|
+
|
|
483
|
+
**Advantages:**
|
|
484
|
+
- Organized by domain
|
|
485
|
+
- Multiple team members can edit simultaneously
|
|
486
|
+
- Easier to navigate large specs
|
|
487
|
+
- Better for complex products
|
|
488
|
+
|
|
489
|
+
### Automatic Detection
|
|
490
|
+
|
|
491
|
+
agentful automatically detects which structure you're using. No configuration needed!
|
|
492
|
+
|
|
493
|
+
**Start with flat, migrate to hierarchical as you grow.** Both formats work identically.
|
|
494
|
+
|
|
495
|
+
---
|
|
496
|
+
|
|
497
|
+
## Commands
|
|
101
498
|
|
|
102
499
|
| Command | Description |
|
|
103
500
|
|---------|-------------|
|
|
501
|
+
| `/agentful` | **Natural conversation** - Just talk to agentful |
|
|
104
502
|
| `/agentful-start` | Begin or resume autonomous development |
|
|
105
503
|
| `/agentful-status` | Check current progress and what's being worked on |
|
|
106
504
|
| `/agentful-decide` | Answer pending decisions that block development |
|
|
107
|
-
| `/agentful-validate` | Run all quality checks |
|
|
505
|
+
| `/agentful-validate` | Run all quality checks (tests, type check, lint, coverage, security) |
|
|
108
506
|
|
|
109
507
|
---
|
|
110
508
|
|
|
111
|
-
##
|
|
509
|
+
## Tech Stack Support
|
|
112
510
|
|
|
113
|
-
|
|
511
|
+
agentful automatically detects and supports:
|
|
114
512
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
| `reviewer` | Code review, dead code detection, quality validation |
|
|
123
|
-
| `fixer` | Auto-fixes validation failures |
|
|
513
|
+
### Frontend Frameworks
|
|
514
|
+
- Next.js (App Router & Pages Router)
|
|
515
|
+
- React + Vite
|
|
516
|
+
- Vue + Nuxt
|
|
517
|
+
- SvelteKit
|
|
518
|
+
- Solid.js
|
|
519
|
+
- Astro
|
|
124
520
|
|
|
125
|
-
|
|
521
|
+
### Backend Frameworks
|
|
522
|
+
- Next.js API Routes
|
|
523
|
+
- Express
|
|
524
|
+
- Fastify
|
|
525
|
+
- NestJS
|
|
526
|
+
- Hono
|
|
527
|
+
- tRPC
|
|
126
528
|
|
|
127
|
-
|
|
529
|
+
### Databases & ORMs
|
|
530
|
+
- PostgreSQL, MySQL, SQLite, MongoDB
|
|
531
|
+
- Prisma, Drizzle, TypeORM, Mongoose
|
|
128
532
|
|
|
129
|
-
|
|
533
|
+
### Styling
|
|
534
|
+
- Tailwind CSS, CSS Modules, styled-components, shadcn/ui
|
|
535
|
+
|
|
536
|
+
### Testing
|
|
537
|
+
- Vitest, Jest, Playwright, Cypress
|
|
130
538
|
|
|
131
|
-
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
- β
Test coverage β₯ 80%
|
|
136
|
-
- β
No security issues
|
|
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.
|
|
137
543
|
|
|
138
544
|
---
|
|
139
545
|
|
|
140
|
-
##
|
|
546
|
+
## Use Cases
|
|
141
547
|
|
|
142
|
-
|
|
143
|
-
graph LR
|
|
144
|
-
A[Initialize] --> B[Define Product]
|
|
145
|
-
B --> C[Start Building]
|
|
548
|
+
### Perfect For:
|
|
146
549
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
550
|
+
- **MVP Development** - Ship your minimum viable product in days, not weeks
|
|
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
|
|
150
558
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
559
|
+
### Not Ideal For:
|
|
560
|
+
|
|
561
|
+
- Highly experimental research projects
|
|
562
|
+
- Projects requiring proprietary algorithms
|
|
563
|
+
- Applications needing human creative direction
|
|
564
|
+
- Simple one-off scripts (overkill)
|
|
565
|
+
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
## Requirements
|
|
569
|
+
|
|
570
|
+
- **Claude Code** - [Install here](https://code.anthropic.com)
|
|
571
|
+
- **Node.js 22+** - For CLI tool
|
|
572
|
+
- **Git** - For version control
|
|
156
573
|
|
|
157
574
|
---
|
|
158
575
|
|
|
159
|
-
##
|
|
576
|
+
## Documentation
|
|
577
|
+
|
|
578
|
+
Full documentation at **[agentful.app](https://agentful.app)**
|
|
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
|
|
160
584
|
|
|
161
|
-
|
|
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
|
|
597
|
+
|
|
598
|
+
---
|
|
599
|
+
|
|
600
|
+
## Architecture
|
|
162
601
|
|
|
163
602
|
```
|
|
164
603
|
your-project/
|
|
165
|
-
βββ PRODUCT.md #
|
|
166
|
-
βββ CLAUDE.md # Project instructions
|
|
167
|
-
βββ .claude/ #
|
|
604
|
+
βββ PRODUCT.md # Your product spec (flat structure)
|
|
605
|
+
βββ CLAUDE.md # Project-specific Claude instructions
|
|
606
|
+
βββ .claude/ # agentful configuration
|
|
607
|
+
β βββ product/ # Product spec (hierarchical structure)
|
|
608
|
+
β β βββ index.md # Product overview
|
|
609
|
+
β β βββ domains/ # Domain-specific specs
|
|
168
610
|
β βββ agents/ # Specialized agents
|
|
169
611
|
β β βββ orchestrator.md
|
|
170
612
|
β β βββ architect.md
|
|
@@ -174,162 +616,55 @@ your-project/
|
|
|
174
616
|
β β βββ reviewer.md
|
|
175
617
|
β β βββ fixer.md
|
|
176
618
|
β βββ commands/ # Slash commands
|
|
619
|
+
β β βββ agentful.md
|
|
177
620
|
β β βββ agentful-start.md
|
|
178
621
|
β β βββ agentful-status.md
|
|
179
622
|
β β βββ agentful-decide.md
|
|
180
623
|
β β βββ agentful-validate.md
|
|
181
|
-
β βββ skills/ # Domain skills
|
|
624
|
+
β βββ skills/ # Domain-specific skills
|
|
625
|
+
β β βββ conversation/
|
|
182
626
|
β β βββ product-tracking/
|
|
183
627
|
β β βββ validation/
|
|
184
628
|
β βββ settings.json # Hooks and permissions
|
|
185
629
|
βββ .agentful/ # Runtime state (gitignored)
|
|
186
630
|
β βββ state.json # Current work state
|
|
187
|
-
β βββ completion.json #
|
|
188
|
-
β βββ decisions.json # Pending
|
|
189
|
-
β
|
|
190
|
-
βββ
|
|
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)
|
|
191
636
|
```
|
|
192
637
|
|
|
193
638
|
---
|
|
194
639
|
|
|
195
|
-
##
|
|
196
|
-
|
|
197
|
-
All of Agentful is customizable. Edit files in `.claude/` to:
|
|
198
|
-
|
|
199
|
-
- **Add agents** - Create new `.claude/agents/your-agent.md`
|
|
200
|
-
- **Modify commands** - Edit `.claude/commands/*.md`
|
|
201
|
-
- **Add skills** - Create `.claude/skills/your-skill/SKILL.md`
|
|
202
|
-
- **Change hooks** - Edit `.claude/settings.json`
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## π§ Requirements
|
|
207
|
-
|
|
208
|
-
- **Claude Code** - [Install here](https://code.anthropic.com)
|
|
209
|
-
- **Node.js 18+** - For CLI tool
|
|
210
|
-
|
|
211
|
-
### Optional: 24/7 Autonomous Development
|
|
212
|
-
|
|
213
|
-
For fully autonomous overnight development, install the Ralph Wiggum plugin **inside Claude Code**:
|
|
214
|
-
|
|
215
|
-
```bash
|
|
216
|
-
# 1. Start Claude Code in your project
|
|
217
|
-
claude
|
|
640
|
+
## Links
|
|
218
641
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## π Example PRODUCT.md
|
|
229
|
-
|
|
230
|
-
```markdown
|
|
231
|
-
# Product Specification
|
|
232
|
-
|
|
233
|
-
## Overview
|
|
234
|
-
A modern task management application for remote teams.
|
|
235
|
-
|
|
236
|
-
## Tech Stack
|
|
237
|
-
- **Frontend**: Next.js 14, TypeScript, Tailwind CSS
|
|
238
|
-
- **Backend**: Next.js API Routes, Prisma
|
|
239
|
-
- **Database**: PostgreSQL (Supabase)
|
|
240
|
-
- **Auth**: JWT with httpOnly cookies
|
|
241
|
-
- **Testing**: Vitest, Playwright
|
|
242
|
-
|
|
243
|
-
## Features
|
|
244
|
-
|
|
245
|
-
### Domain 1: Authentication & Authorization
|
|
246
|
-
#### 1.1 User Authentication - CRITICAL
|
|
247
|
-
**Description**: User registration and login
|
|
248
|
-
|
|
249
|
-
**Acceptance Criteria**:
|
|
250
|
-
- [x] Registration with email/password
|
|
251
|
-
- [x] Login with email/password
|
|
252
|
-
- [x] JWT token generation
|
|
253
|
-
- [x] Protected routes
|
|
254
|
-
- [x] Logout functionality
|
|
255
|
-
|
|
256
|
-
#### 1.2 Session Management - HIGH
|
|
257
|
-
**Description**: Manage user sessions and tokens
|
|
258
|
-
|
|
259
|
-
**Acceptance Criteria**:
|
|
260
|
-
- [ ] Token refresh mechanism
|
|
261
|
-
- [ ] Session timeout handling
|
|
262
|
-
- [ ] Multi-device session management
|
|
263
|
-
- [ ] Logout from all devices
|
|
264
|
-
|
|
265
|
-
### Domain 2: Project & Workspace Management
|
|
266
|
-
#### 2.1 Project Management - HIGH
|
|
267
|
-
**Description**: Create and manage projects
|
|
268
|
-
|
|
269
|
-
**Acceptance Criteria**:
|
|
270
|
-
- [ ] Create project
|
|
271
|
-
- [ ] Edit project
|
|
272
|
-
- [ ] Delete project
|
|
273
|
-
- [ ] List all projects
|
|
274
|
-
- [ ] Project membership
|
|
275
|
-
|
|
276
|
-
#### 2.2 Workspace Organization - MEDIUM
|
|
277
|
-
**Description**: Organize projects into workspaces
|
|
278
|
-
|
|
279
|
-
**Acceptance Criteria**:
|
|
280
|
-
- [ ] Create workspace
|
|
281
|
-
- [ ] Add projects to workspace
|
|
282
|
-
- [ ] Workspace settings
|
|
283
|
-
- [ ] Member invitations
|
|
284
|
-
|
|
285
|
-
### Domain 3: Task & Collaboration Management
|
|
286
|
-
#### 3.1 Task Management - HIGH
|
|
287
|
-
**Description**: Create and manage tasks within projects
|
|
288
|
-
|
|
289
|
-
**Acceptance Criteria**:
|
|
290
|
-
- [ ] Create task
|
|
291
|
-
- [ ] Assign task to user
|
|
292
|
-
- [ ] Set task status (todo, in progress, done)
|
|
293
|
-
- [ ] Set task priority
|
|
294
|
-
- [ ] Add task comments
|
|
295
|
-
|
|
296
|
-
#### 3.2 Team Collaboration - MEDIUM
|
|
297
|
-
**Description**: Real-time collaboration features
|
|
298
|
-
|
|
299
|
-
**Acceptance Criteria**:
|
|
300
|
-
- [ ] Real-time task updates
|
|
301
|
-
- [ ] Team activity feed
|
|
302
|
-
- [ ] @mentions and notifications
|
|
303
|
-
- [ ] Comments and discussions
|
|
304
|
-
|
|
305
|
-
## Success Criteria
|
|
306
|
-
- All features implemented and tested
|
|
307
|
-
- 80%+ test coverage
|
|
308
|
-
- No TypeScript errors
|
|
309
|
-
- Deployed to production
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
---
|
|
313
|
-
|
|
314
|
-
## π€ Contributing
|
|
315
|
-
|
|
316
|
-
Contributions welcome! Read `CONTRIBUTING.md` for guidelines.
|
|
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)
|
|
317
648
|
|
|
318
649
|
---
|
|
319
650
|
|
|
320
|
-
##
|
|
651
|
+
## License
|
|
321
652
|
|
|
322
|
-
MIT
|
|
653
|
+
MIT
|
|
323
654
|
|
|
324
655
|
---
|
|
325
656
|
|
|
326
|
-
##
|
|
657
|
+
## Links
|
|
327
658
|
|
|
328
|
-
- **Website**: [agentful.app](https://agentful.app)
|
|
329
659
|
- **GitHub**: [github.com/itz4blitz/agentful](https://github.com/itz4blitz/agentful)
|
|
330
660
|
- **Issues**: [github.com/itz4blitz/agentful/issues](https://github.com/itz4blitz/agentful/issues)
|
|
331
|
-
- **
|
|
661
|
+
- **Website**: [agentful.app](https://agentful.app)
|
|
662
|
+
- **Documentation**: [agentful.app](https://agentful.app)
|
|
663
|
+
- **NPM**: [npmjs.com/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
664
|
+
- **Claude Code**: [code.anthropic.com](https://code.anthropic.com)
|
|
332
665
|
|
|
333
666
|
---
|
|
334
667
|
|
|
335
|
-
|
|
668
|
+
## License
|
|
669
|
+
|
|
670
|
+
MIT
|