@itz4blitz/agentful 0.1.0 β†’ 0.1.4

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 CHANGED
@@ -1,170 +1,612 @@
1
- # πŸ€– Agentful
1
+ <div align="center">
2
2
 
3
- > **One-Command Autonomous Product Development Kit for Claude Code**
3
+ # agentful
4
4
 
5
- > **⚠️ WARNING: Alpha Release (v0.1.0)**
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
- Agentful is an **opinionated starter template** for Claude Code that transforms it into an autonomous development system. It's a pre-packaged `.claude/` configuration that supercharges Claude Code with specialized agents, skills, and commands for accelerated development.
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
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
12
+ [![npm version](https://badge.fury.io/js/%40itz4blitz%2Fagentful.svg)](https://www.npmjs.com/package/@itz4blitz/agentful)
13
+ [![Claude Code](https://img.shields.io/badge/Claude_Code-Compatible-blue)](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
- ## ✨ Features
39
+ ## How agentful Works
14
40
 
15
- - **Zero Config Drop-In** - Just run `npx agentful init` in any project
16
- - **Autonomous Development** - Works 24/7 with Ralph Wiggum loops
17
- - **Specialized Agents** - Backend, Frontend, Tester, Reviewer, Fixer, Architect
18
- - **Dynamic Tech Stack Detection** - Automatically generates agents for your stack
19
- - **Quality Gates** - Type checking, Linting, Tests, Coverage, Security, Dead code detection (adapts to YOUR stack)
20
- - **Progress Tracking** - See exactly what's done and what's next
21
- - **Decision Handling** - Agentful asks, you answer, it continues
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
- ## πŸš€ Quick Start
77
+ ## Quick Start (30 seconds)
26
78
 
27
- ### 1. Initialize in Your Project
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
- This creates:
34
- - `.claude/` - Pre-configured agents, commands, skills (committed to git)
35
- - `.agentful/` - **Runtime state only** (gitignored, auto-created)
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
- > **Note**: `.agentful/` is gitignored and will be populated automatically during runtime.
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
- ### 2. Edit Your Product Spec
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
- Open `PRODUCT.md` and describe what you want to build:
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
- - Prisma + PostgreSQL
56
- - Tailwind CSS
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
- 1. Authentication (CRITICAL)
61
- 2. Project management (HIGH)
62
- 3. Task assignment (MEDIUM)
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
- ### 3. Start Claude Code
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
- ### 4. Begin Autonomous Development
155
+ Then inside Claude Code:
72
156
 
73
157
  ```
74
158
  /agentful-start
75
159
  ```
76
160
 
77
- That's it! Agentful will:
78
- 1. Analyze your PRODUCT.md
79
- 2. Detect your tech stack
80
- 3. Generate specialized agents
81
- 4. Start building autonomously
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
- ## πŸŒ™ 24/7 Development
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
- For fully autonomous overnight development, use the Ralph Wiggum plugin:
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
- Agentful will work while you sleep, only stopping when:
94
- - All features are complete (100%)
95
- - All quality gates pass
96
- - Or max iterations reached
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
- ## πŸ“‹ Commands
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
- ## πŸ€– Agents
509
+ ## Tech Stack Support
112
510
 
113
- Agentful includes specialized agents that work together:
511
+ agentful automatically detects and supports:
114
512
 
115
- | Agent | Purpose |
116
- |-------|---------|
117
- | `orchestrator` | The brain - coordinates work, never codes directly |
118
- | `architect` | Analyzes tech stack, generates specialized agents dynamically |
119
- | `backend` | Services, repositories, controllers, APIs |
120
- | `frontend` | Components, pages, hooks, styling |
121
- | `tester` | Unit, integration, E2E tests |
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
- ## πŸ“Š Quality Gates
529
+ ### Databases & ORMs
530
+ - PostgreSQL, MySQL, SQLite, MongoDB
531
+ - Prisma, Drizzle, TypeORM, Mongoose
128
532
 
129
- Code must pass ALL gates before completion:
533
+ ### Styling
534
+ - Tailwind CSS, CSS Modules, styled-components, shadcn/ui
535
+
536
+ ### Testing
537
+ - Vitest, Jest, Playwright, Cypress
130
538
 
131
- - βœ… All tests passing
132
- - βœ… No TypeScript errors
133
- - βœ… No lint errors
134
- - βœ… No dead code (unused exports, files, dependencies)
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
- ## 🎯 How It Works
546
+ ## Use Cases
141
547
 
142
- ```mermaid
143
- graph LR
144
- A[Initialize] --> B[Define Product]
145
- B --> C[Start Building]
548
+ ### Perfect For:
146
549
 
147
- A --> A1[npx agentful init]
148
- B --> B1[Edit PRODUCT.md]
149
- C --> C1[/agentful-start]
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
- B1 --> B2[Your specs + tech stack]
152
- C1 --> C2[Autonomous development]
153
- C2 --> C3[24/7 Ralph Wiggum loops]
154
- C3 --> C4[100% complete]
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
- ## πŸ“ Project Structure
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
- After initialization, your project will have:
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 # ← Edit this: your product spec
166
- β”œβ”€β”€ CLAUDE.md # Project instructions for Claude
167
- β”œβ”€β”€ .claude/ # Agentful configuration (version control)
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 # Progress tracking
188
- β”‚ β”œβ”€β”€ decisions.json # Pending/resolved decisions
189
- β”‚ └── architecture.json # Detected tech stack
190
- └── src/ # Your code (generated by Agentful)
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
- ## 🎨 Customization
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
- # 2. Inside Claude Code, install the plugin
220
- /plugin install ralph-wiggum@anthropics
221
-
222
- # 3. Then run autonomous loops
223
- /ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"
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
- ## πŸ“„ License
651
+ ## License
321
652
 
322
- MIT License - see `LICENSE` for details.
653
+ MIT
323
654
 
324
655
  ---
325
656
 
326
- ## 🌐 Links
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
- - **Discord**: [Join Community](https://discord.gg/SMDvJXUe)
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
- **Made with ❀️ for autonomous development**
668
+ ## License
669
+
670
+ MIT