@itz4blitz/agentful 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/architect.md +446 -0
- package/.claude/agents/backend.md +251 -0
- package/.claude/agents/fixer.md +263 -0
- package/.claude/agents/frontend.md +351 -0
- package/.claude/agents/orchestrator.md +1139 -0
- package/.claude/agents/reviewer.md +332 -0
- package/.claude/agents/tester.md +319 -0
- package/.claude/commands/agentful-decide.md +139 -0
- package/.claude/commands/agentful-start.md +180 -0
- package/.claude/commands/agentful-status.md +96 -0
- package/.claude/commands/agentful-validate.md +105 -0
- package/.claude/product/CHANGES.md +276 -0
- package/.claude/product/EXAMPLES.md +610 -0
- package/.claude/product/README.md +312 -0
- package/.claude/product/index.md +152 -0
- package/.claude/settings.json +63 -0
- package/.claude/skills/product-tracking/SKILL.md +654 -0
- package/.claude/skills/validation/SKILL.md +271 -0
- package/LICENSE +21 -0
- package/README.md +335 -0
- package/bin/cli.js +580 -0
- package/package.json +42 -0
- package/template/CLAUDE.md +197 -0
- package/template/PRODUCT.md +496 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: validation
|
|
3
|
+
description: Runs production readiness validation checks. Includes TypeScript, linting, tests, coverage, security, and dead code detection.
|
|
4
|
+
model: sonnet
|
|
5
|
+
tools: Read, Write, Edit, Glob, Grep, Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Validation Skill
|
|
9
|
+
|
|
10
|
+
This skill runs all production readiness validation checks.
|
|
11
|
+
|
|
12
|
+
## Check Sequence
|
|
13
|
+
|
|
14
|
+
Run all checks in order. Don't skip any.
|
|
15
|
+
|
|
16
|
+
### 1. TypeScript Type Check
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx tsc --noEmit
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Exit code**: 0 = pass, non-zero = fail
|
|
23
|
+
|
|
24
|
+
**Report**:
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"name": "typescript",
|
|
28
|
+
"passed": true,
|
|
29
|
+
"error_count": 0,
|
|
30
|
+
"files_checked": 47
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### 2. Lint Check
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run lint 2>&1 || true
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Exit code**: 0 = pass, non-zero = fail
|
|
41
|
+
|
|
42
|
+
**Report**:
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"name": "lint",
|
|
46
|
+
"passed": true,
|
|
47
|
+
"error_count": 0,
|
|
48
|
+
"warning_count": 3
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 3. Dead Code Detection
|
|
53
|
+
|
|
54
|
+
Try multiple tools in order:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Try knip first
|
|
58
|
+
npx knip --reporter json 2>/dev/null && exit 0
|
|
59
|
+
|
|
60
|
+
# Fall back to ts-prune
|
|
61
|
+
npx ts-prune 2>/dev/null && exit 0
|
|
62
|
+
|
|
63
|
+
# Manual grep check as fallback
|
|
64
|
+
grep -r "export.*function\|export.*class\|export.*const\|export.*interface\|export.*type" \
|
|
65
|
+
src/ --include="*.ts" --include="*.tsx" -h | \
|
|
66
|
+
while IFS=: read -r file line; do
|
|
67
|
+
export_name=$(echo "$line" | grep -oE "(export|const|function|class|interface|type)\s+\w+" | tail -1 | awk '{print $2}');
|
|
68
|
+
if [ -n "$export_name" ]; then
|
|
69
|
+
usage_count=$(grep -r "$export_name" src/ --include="*.ts" --include="*.tsx" | grep -v "export.*$export_name" | wc -l);
|
|
70
|
+
if [ "$usage_count" -eq 0 ]; then
|
|
71
|
+
echo "$file: Unused export '$export_name'";
|
|
72
|
+
fi;
|
|
73
|
+
fi;
|
|
74
|
+
done
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Report**:
|
|
78
|
+
```json
|
|
79
|
+
{
|
|
80
|
+
"name": "dead_code",
|
|
81
|
+
"passed": false,
|
|
82
|
+
"issues": [
|
|
83
|
+
{
|
|
84
|
+
"type": "unused_export",
|
|
85
|
+
"file": "src/utils/date.ts",
|
|
86
|
+
"name": "formatDate"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "unused_file",
|
|
90
|
+
"file": "src/components/OldWidget.tsx"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### 4. Test Check
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
npm test 2>&1 || true
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**Exit code**: 0 = pass
|
|
103
|
+
|
|
104
|
+
**Report**:
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"name": "tests",
|
|
108
|
+
"passed": true,
|
|
109
|
+
"test_count": 47,
|
|
110
|
+
"failed": 0,
|
|
111
|
+
"skipped": 2
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### 5. Coverage Check
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
npm test -- --coverage --reporter=json 2>&1 || true
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**Check threshold**: 80%
|
|
122
|
+
|
|
123
|
+
**Report**:
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"name": "coverage",
|
|
127
|
+
"passed": false,
|
|
128
|
+
"actual": 72.3,
|
|
129
|
+
"required": 80,
|
|
130
|
+
"diff": -7.7,
|
|
131
|
+
"by_file": {
|
|
132
|
+
"src/services/auth.service.ts": 65,
|
|
133
|
+
"src/components/Button.tsx": 100,
|
|
134
|
+
"src/utils/format.ts": 50
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### 6. Security Check
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# npm audit
|
|
143
|
+
npm audit --production --json 2>/dev/null || true
|
|
144
|
+
|
|
145
|
+
# Check for secrets
|
|
146
|
+
grep -rE "(password|secret|token|api_key|apikey)\s*[:=]\s*['\"][^'\"]{10,}['\"]" \
|
|
147
|
+
src/ --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" -n || true
|
|
148
|
+
|
|
149
|
+
# Check for console.log
|
|
150
|
+
grep -rn "console\.(log|debug|warn)" \
|
|
151
|
+
src/ --include="*.ts" --include="*.tsx" | head -20 || true
|
|
152
|
+
|
|
153
|
+
# Check for @ts-ignore
|
|
154
|
+
grep -rn "@ts-ignore\|@ts-nocheck" \
|
|
155
|
+
src/ --include="*.ts" --include="*.tsx" || true
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Report**:
|
|
159
|
+
```json
|
|
160
|
+
{
|
|
161
|
+
"name": "security",
|
|
162
|
+
"passed": false,
|
|
163
|
+
"vulnerabilities": {
|
|
164
|
+
"critical": 0,
|
|
165
|
+
"high": 0,
|
|
166
|
+
"moderate": 2,
|
|
167
|
+
"low": 5
|
|
168
|
+
},
|
|
169
|
+
"issues": [
|
|
170
|
+
{
|
|
171
|
+
"type": "console_log",
|
|
172
|
+
"file": "src/auth/login.ts",
|
|
173
|
+
"line": 45
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"type": "hardcoded_secret",
|
|
177
|
+
"file": "src/config/api.ts",
|
|
178
|
+
"line": 12
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Final Report
|
|
185
|
+
|
|
186
|
+
```json
|
|
187
|
+
{
|
|
188
|
+
"timestamp": "2026-01-18T00:00:00Z",
|
|
189
|
+
"overall": "failed",
|
|
190
|
+
"checks": {
|
|
191
|
+
"typescript": { "passed": true },
|
|
192
|
+
"lint": { "passed": true },
|
|
193
|
+
"dead_code": { "passed": false, "issues": 3 },
|
|
194
|
+
"tests": { "passed": true },
|
|
195
|
+
"coverage": { "passed": false, "actual": 72 },
|
|
196
|
+
"security": { "passed": false, "issues": 2 }
|
|
197
|
+
},
|
|
198
|
+
"must_fix": [
|
|
199
|
+
"Remove unused export: formatDate in src/utils/date.ts",
|
|
200
|
+
"Delete unused file: src/components/OldWidget.tsx",
|
|
201
|
+
"Remove unused dependency: lodash",
|
|
202
|
+
"Add tests to reach 80% coverage",
|
|
203
|
+
"Remove console.log from src/auth/login.ts:45",
|
|
204
|
+
"Fix hardcoded secret in src/config/api.ts:12"
|
|
205
|
+
],
|
|
206
|
+
"can_ignore": [
|
|
207
|
+
"npm audit moderate vulnerabilities (transitive dependencies)"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Save Report
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
# Write to .agentful/last-validation.json
|
|
216
|
+
cat > .agentful/last-validation.json << EOF
|
|
217
|
+
{...report json...}
|
|
218
|
+
EOF
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
## Gates Configuration
|
|
222
|
+
|
|
223
|
+
Update `.agentful/completion.json`:
|
|
224
|
+
|
|
225
|
+
```json
|
|
226
|
+
{
|
|
227
|
+
"gates": {
|
|
228
|
+
"tests_passing": true,
|
|
229
|
+
"no_type_errors": true,
|
|
230
|
+
"no_dead_code": false,
|
|
231
|
+
"coverage_80": false,
|
|
232
|
+
"security_clean": false
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Quick Validation
|
|
238
|
+
|
|
239
|
+
For faster feedback, skip to specific checks:
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
# Type check only
|
|
243
|
+
npx tsc --noEmit
|
|
244
|
+
|
|
245
|
+
# Tests only
|
|
246
|
+
npm test
|
|
247
|
+
|
|
248
|
+
# Coverage only
|
|
249
|
+
npm test -- --coverage
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
## Continuous Integration
|
|
253
|
+
|
|
254
|
+
In CI/CD pipeline:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
# Run all checks, exit on failure
|
|
258
|
+
set -e
|
|
259
|
+
|
|
260
|
+
npx tsc --noEmit
|
|
261
|
+
npm run lint
|
|
262
|
+
npm test
|
|
263
|
+
npm test -- --coverage
|
|
264
|
+
|
|
265
|
+
# Fail if coverage below 80%
|
|
266
|
+
COVERAGE=$(npm test -- --coverage --reporter=json | jq '.total.lines.pct')
|
|
267
|
+
if (( $(echo "$COVERAGE < 80" | bc -l) )); then
|
|
268
|
+
echo "Coverage $COVERAGE% is below 80% threshold"
|
|
269
|
+
exit 1
|
|
270
|
+
fi
|
|
271
|
+
```
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Agentful Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
# 🤖 Agentful
|
|
2
|
+
|
|
3
|
+
> **One-Command Autonomous Product Development Kit for Claude Code**
|
|
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.
|
|
8
|
+
|
|
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.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## ✨ Features
|
|
14
|
+
|
|
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
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 🚀 Quick Start
|
|
26
|
+
|
|
27
|
+
### 1. Initialize in Your Project
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx agentful init
|
|
31
|
+
```
|
|
32
|
+
|
|
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
|
|
42
|
+
|
|
43
|
+
> **Note**: `.agentful/` is gitignored and will be populated automatically during runtime.
|
|
44
|
+
|
|
45
|
+
### 2. Edit Your Product Spec
|
|
46
|
+
|
|
47
|
+
Open `PRODUCT.md` and describe what you want to build:
|
|
48
|
+
|
|
49
|
+
```markdown
|
|
50
|
+
## Overview
|
|
51
|
+
A task management app for teams.
|
|
52
|
+
|
|
53
|
+
## Tech Stack
|
|
54
|
+
- Next.js 14 + TypeScript
|
|
55
|
+
- Prisma + PostgreSQL
|
|
56
|
+
- Tailwind CSS
|
|
57
|
+
- Vitest + Playwright
|
|
58
|
+
|
|
59
|
+
## Features
|
|
60
|
+
1. Authentication (CRITICAL)
|
|
61
|
+
2. Project management (HIGH)
|
|
62
|
+
3. Task assignment (MEDIUM)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### 3. Start Claude Code
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
claude
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 4. Begin Autonomous Development
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
/agentful-start
|
|
75
|
+
```
|
|
76
|
+
|
|
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
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 🌙 24/7 Development
|
|
86
|
+
|
|
87
|
+
For fully autonomous overnight development, use the Ralph Wiggum plugin:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"
|
|
91
|
+
```
|
|
92
|
+
|
|
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
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 📋 Commands
|
|
101
|
+
|
|
102
|
+
| Command | Description |
|
|
103
|
+
|---------|-------------|
|
|
104
|
+
| `/agentful-start` | Begin or resume autonomous development |
|
|
105
|
+
| `/agentful-status` | Check current progress and what's being worked on |
|
|
106
|
+
| `/agentful-decide` | Answer pending decisions that block development |
|
|
107
|
+
| `/agentful-validate` | Run all quality checks |
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 🤖 Agents
|
|
112
|
+
|
|
113
|
+
Agentful includes specialized agents that work together:
|
|
114
|
+
|
|
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 |
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 📊 Quality Gates
|
|
128
|
+
|
|
129
|
+
Code must pass ALL gates before completion:
|
|
130
|
+
|
|
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
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🎯 How It Works
|
|
141
|
+
|
|
142
|
+
```mermaid
|
|
143
|
+
graph LR
|
|
144
|
+
A[Initialize] --> B[Define Product]
|
|
145
|
+
B --> C[Start Building]
|
|
146
|
+
|
|
147
|
+
A --> A1[npx agentful init]
|
|
148
|
+
B --> B1[Edit PRODUCT.md]
|
|
149
|
+
C --> C1[/agentful-start]
|
|
150
|
+
|
|
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
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 📁 Project Structure
|
|
160
|
+
|
|
161
|
+
After initialization, your project will have:
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
your-project/
|
|
165
|
+
├── PRODUCT.md # ← Edit this: your product spec
|
|
166
|
+
├── CLAUDE.md # Project instructions for Claude
|
|
167
|
+
├── .claude/ # Agentful configuration (version control)
|
|
168
|
+
│ ├── agents/ # Specialized agents
|
|
169
|
+
│ │ ├── orchestrator.md
|
|
170
|
+
│ │ ├── architect.md
|
|
171
|
+
│ │ ├── backend.md
|
|
172
|
+
│ │ ├── frontend.md
|
|
173
|
+
│ │ ├── tester.md
|
|
174
|
+
│ │ ├── reviewer.md
|
|
175
|
+
│ │ └── fixer.md
|
|
176
|
+
│ ├── commands/ # Slash commands
|
|
177
|
+
│ │ ├── agentful-start.md
|
|
178
|
+
│ │ ├── agentful-status.md
|
|
179
|
+
│ │ ├── agentful-decide.md
|
|
180
|
+
│ │ └── agentful-validate.md
|
|
181
|
+
│ ├── skills/ # Domain skills
|
|
182
|
+
│ │ ├── product-tracking/
|
|
183
|
+
│ │ └── validation/
|
|
184
|
+
│ └── settings.json # Hooks and permissions
|
|
185
|
+
├── .agentful/ # Runtime state (gitignored)
|
|
186
|
+
│ ├── 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)
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
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
|
|
218
|
+
|
|
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.
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## 📄 License
|
|
321
|
+
|
|
322
|
+
MIT License - see `LICENSE` for details.
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
## 🌐 Links
|
|
327
|
+
|
|
328
|
+
- **Website**: [agentful.app](https://agentful.app)
|
|
329
|
+
- **GitHub**: [github.com/itz4blitz/agentful](https://github.com/itz4blitz/agentful)
|
|
330
|
+
- **Issues**: [github.com/itz4blitz/agentful/issues](https://github.com/itz4blitz/agentful/issues)
|
|
331
|
+
- **Discord**: [Join Community](https://discord.gg/SMDvJXUe)
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
**Made with ❤️ for autonomous development**
|