@itz4blitz/agentful 0.4.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -16
- package/bin/cli.js +1031 -47
- package/bin/hooks/README.md +338 -82
- package/bin/hooks/analyze-trigger.js +69 -0
- package/bin/hooks/block-random-docs.js +77 -0
- package/bin/hooks/health-check.js +153 -0
- package/bin/hooks/post-agent.js +101 -0
- package/bin/hooks/post-feature.js +227 -0
- package/bin/hooks/pre-agent.js +118 -0
- package/bin/hooks/pre-feature.js +138 -0
- package/lib/VALIDATION_README.md +455 -0
- package/lib/atomic.js +350 -0
- package/lib/ci/claude-action-integration.js +641 -0
- package/lib/ci/index.js +10 -0
- package/lib/core/CLAUDE_EXECUTOR.md +371 -0
- package/lib/core/README.md +321 -0
- package/lib/core/analyzer.js +497 -0
- package/lib/core/claude-executor.example.js +210 -0
- package/lib/core/claude-executor.js +1046 -0
- package/lib/core/cli.js +141 -0
- package/lib/core/detectors/conventions.js +342 -0
- package/lib/core/detectors/framework.js +276 -0
- package/lib/core/detectors/index.js +15 -0
- package/lib/core/detectors/language.js +199 -0
- package/lib/core/detectors/patterns.js +356 -0
- package/lib/core/generator.js +626 -0
- package/lib/core/index.js +9 -0
- package/lib/core/output-parser.example.js +250 -0
- package/lib/core/output-parser.js +458 -0
- package/lib/core/storage.js +515 -0
- package/lib/core/templates.js +556 -0
- package/lib/index.js +32 -0
- package/lib/init.js +252 -21
- package/lib/pipeline/cli.js +423 -0
- package/lib/pipeline/engine.js +928 -0
- package/lib/pipeline/executor.js +440 -0
- package/lib/pipeline/index.js +33 -0
- package/lib/pipeline/integrations.js +559 -0
- package/lib/pipeline/schemas.js +288 -0
- package/lib/presets.js +207 -0
- package/lib/remote/client.js +361 -0
- package/lib/server/auth.js +286 -0
- package/lib/server/client-example.js +190 -0
- package/lib/server/executor.js +426 -0
- package/lib/server/index.js +469 -0
- package/lib/update-helpers.js +505 -0
- package/lib/validation.js +460 -0
- package/package.json +19 -2
- package/template/.claude/agents/architect.md +260 -0
- package/template/.claude/agents/backend.md +203 -0
- package/template/.claude/agents/fixer.md +244 -0
- package/template/.claude/agents/frontend.md +232 -0
- package/template/.claude/agents/orchestrator.md +528 -0
- package/template/.claude/agents/product-analyzer.md +1130 -0
- package/template/.claude/agents/reviewer.md +229 -0
- package/template/.claude/agents/tester.md +242 -0
- package/{.claude → template/.claude}/commands/agentful-analyze.md +151 -43
- package/template/.claude/commands/agentful-decide.md +470 -0
- package/{.claude → template/.claude}/commands/agentful-product.md +89 -5
- package/template/.claude/commands/agentful-start.md +432 -0
- package/{.claude → template/.claude}/commands/agentful-status.md +88 -3
- package/template/.claude/commands/agentful-update.md +402 -0
- package/template/.claude/commands/agentful-validate.md +369 -0
- package/{.claude → template/.claude}/commands/agentful.md +110 -183
- package/template/.claude/product/EXAMPLES.md +167 -0
- package/{.claude → template/.claude}/settings.json +9 -13
- package/{.claude → template/.claude}/skills/conversation/SKILL.md +13 -7
- package/template/.claude/skills/deployment/SKILL.md +116 -0
- package/template/.claude/skills/product-planning/SKILL.md +463 -0
- package/template/.claude/skills/testing/SKILL.md +228 -0
- package/template/.claude/skills/validation/SKILL.md +650 -0
- package/template/CLAUDE.md +73 -5
- package/template/bin/hooks/block-random-docs.js +121 -0
- package/version.json +1 -1
- package/.claude/agents/architect.md +0 -524
- package/.claude/agents/backend.md +0 -315
- package/.claude/agents/fixer.md +0 -263
- package/.claude/agents/frontend.md +0 -274
- package/.claude/agents/orchestrator.md +0 -283
- package/.claude/agents/product-analyzer.md +0 -792
- package/.claude/agents/reviewer.md +0 -332
- package/.claude/agents/tester.md +0 -410
- package/.claude/commands/agentful-decide.md +0 -214
- package/.claude/commands/agentful-start.md +0 -182
- package/.claude/commands/agentful-validate.md +0 -127
- package/.claude/product/EXAMPLES.md +0 -610
- package/.claude/product/README.md +0 -326
- package/.claude/skills/validation/SKILL.md +0 -271
- package/bin/hooks/analyze-trigger.sh +0 -57
- package/bin/hooks/health-check.sh +0 -36
- /package/{.claude → template/.claude}/commands/agentful-generate.md +0 -0
- /package/{.claude → template/.claude}/product/index.md +0 -0
- /package/{.claude → template/.claude}/skills/product-tracking/SKILL.md +0 -0
package/README.md
CHANGED
|
@@ -1,21 +1,100 @@
|
|
|
1
1
|
# agentful
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A carrot on a stick for Claude Code
|
|
4
4
|
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
[](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
7
|
+
[](https://github.com/itz4blitz/agentful/actions)
|
|
7
8
|
|
|
8
9
|
## Overview
|
|
9
10
|
|
|
10
|
-
agentful is a Claude Code configuration that provides structured development through specialized AI agents. It coordinates multiple agents to implement features, write tests, and validate code quality according to a defined product specification
|
|
11
|
+
agentful is a Claude Code configuration that provides structured development through specialized AI agents. It coordinates multiple agents to implement features, write tests, and validate code quality according to a defined product specification.
|
|
12
|
+
|
|
13
|
+
## Web Configurator
|
|
14
|
+
|
|
15
|
+
Configure your agentful installation with an interactive web interface:
|
|
16
|
+
|
|
17
|
+
**[agentful.app](https://agentful.app)**
|
|
18
|
+
|
|
19
|
+
- Visual component selection
|
|
20
|
+
- 2 optimized presets
|
|
21
|
+
- Custom configurations
|
|
22
|
+
- Shareable setup URLs
|
|
23
|
+
- No CLI required
|
|
11
24
|
|
|
12
25
|
## Installation
|
|
13
26
|
|
|
27
|
+
### Default Installation (Recommended)
|
|
28
|
+
|
|
29
|
+
Install agentful with all components - works with any tech stack:
|
|
30
|
+
|
|
14
31
|
```bash
|
|
15
32
|
npx @itz4blitz/agentful init
|
|
16
33
|
```
|
|
17
34
|
|
|
18
|
-
This
|
|
35
|
+
This installs:
|
|
36
|
+
- **8 agents**: orchestrator, architect, backend, frontend, tester, reviewer, fixer, product-analyzer
|
|
37
|
+
- **6 skills**: product-tracking, validation, testing, conversation, product-planning, deployment
|
|
38
|
+
- **Quality gates**: types, tests, coverage, lint, security, dead-code
|
|
39
|
+
|
|
40
|
+
**Tech stack is auto-detected** on first run (TypeScript, Python, React, etc.) - no need to specify.
|
|
41
|
+
|
|
42
|
+
### Minimal Installation
|
|
43
|
+
|
|
44
|
+
For simple scripts/CLIs that only need backend code:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npx @itz4blitz/agentful init --preset=minimal
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
This installs only:
|
|
51
|
+
- **2 agents**: orchestrator, backend
|
|
52
|
+
- **1 skill**: validation
|
|
53
|
+
|
|
54
|
+
### Custom Installation
|
|
55
|
+
|
|
56
|
+
Specify exactly what you want:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Custom agents and skills
|
|
60
|
+
npx @itz4blitz/agentful init --agents=orchestrator,backend,frontend --skills=validation,testing
|
|
61
|
+
|
|
62
|
+
# View installation options
|
|
63
|
+
npx @itz4blitz/agentful presets
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Shareable Configurations
|
|
67
|
+
|
|
68
|
+
Use a configuration from the web configurator:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npx @itz4blitz/agentful init --config=<shareable-url>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Available Flags:**
|
|
75
|
+
- `--preset=<name>` - Use a preset configuration
|
|
76
|
+
- `--agents=<list>` - Comma-separated list of agents (orchestrator, backend, frontend, tester, reviewer, fixer, architect, product-analyzer)
|
|
77
|
+
- `--skills=<list>` - Comma-separated list of skills (validation, testing, product-tracking, conversation, product-planning, deployment)
|
|
78
|
+
- `--gates=<list>` - Comma-separated list of quality gates (types, tests, coverage, lint, security, dead-code)
|
|
79
|
+
|
|
80
|
+
Flags override preset values when both are specified.
|
|
81
|
+
|
|
82
|
+
### Updating
|
|
83
|
+
|
|
84
|
+
After initial installation, use the `/agentful-update` command to update your configuration:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
claude # Start Claude Code
|
|
88
|
+
/agentful-update
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
This command:
|
|
92
|
+
- Fetches the latest templates from the current agentful version
|
|
93
|
+
- Performs a 3-way merge to preserve your customizations
|
|
94
|
+
- Creates backups before applying changes
|
|
95
|
+
- Gracefully handles conflicts and reports issues
|
|
96
|
+
|
|
97
|
+
**Important**: Run `npx @itz4blitz/agentful init` only once during initial setup. For all subsequent updates, use `/agentful-update` instead of re-running init.
|
|
19
98
|
|
|
20
99
|
## Usage
|
|
21
100
|
|
|
@@ -110,7 +189,7 @@ For projects with existing code:
|
|
|
110
189
|
|
|
111
190
|
### Agent System
|
|
112
191
|
|
|
113
|
-
agentful uses
|
|
192
|
+
agentful uses eight specialized agents:
|
|
114
193
|
|
|
115
194
|
| Agent | Responsibility |
|
|
116
195
|
|-------|---------------|
|
|
@@ -121,15 +200,16 @@ agentful uses seven specialized agents:
|
|
|
121
200
|
| tester | Writes unit, integration, and end-to-end tests |
|
|
122
201
|
| reviewer | Validates code quality, security, and standards |
|
|
123
202
|
| fixer | Resolves validation failures and test errors |
|
|
203
|
+
| product-analyzer | Analyzes product specs for gaps, ambiguities, and readiness scoring |
|
|
124
204
|
|
|
125
205
|
### Quality Gates
|
|
126
206
|
|
|
127
|
-
Code changes are validated against:
|
|
207
|
+
Code changes are validated against 6 automated quality gates:
|
|
128
208
|
|
|
129
209
|
- Type checking (TypeScript, Flow, etc.)
|
|
130
210
|
- Linting (ESLint, Biome, etc.)
|
|
131
|
-
- Test execution
|
|
132
|
-
- Code coverage
|
|
211
|
+
- Test execution
|
|
212
|
+
- Code coverage
|
|
133
213
|
- Security scanning
|
|
134
214
|
- Dead code detection
|
|
135
215
|
|
|
@@ -144,31 +224,68 @@ Runtime state is stored in `.agentful/` (gitignored, managed by npm package):
|
|
|
144
224
|
- New projects: Starts with declared stack (`confidence: 0.4`)
|
|
145
225
|
- Existing projects: Detected from code (`confidence: 0.8-1.0`)
|
|
146
226
|
- Re-analyzed after first implementation in new projects
|
|
147
|
-
- `last-validation.json` - Latest test/lint results
|
|
148
227
|
- `conversation-history.json` - Session tracking
|
|
149
228
|
|
|
150
229
|
User configuration is stored in `.claude/` (version controlled):
|
|
151
230
|
|
|
152
|
-
- `agents/` - Agent definitions
|
|
231
|
+
- `agents/` - Agent definitions
|
|
153
232
|
- `commands/` - Slash commands
|
|
154
233
|
- `product/` - Product specifications
|
|
155
234
|
- `index.md` - Main product spec (user editable)
|
|
156
|
-
- `product-analysis.json` - Readiness analysis (generated by `/agentful-product`)
|
|
157
235
|
- `domains/` - Optional hierarchical structure
|
|
158
236
|
- `skills/` - Reusable skill modules
|
|
237
|
+
- `conversation/` - Intent classification and context management
|
|
238
|
+
- `product-tracking/` - Progress calculation and state tracking
|
|
239
|
+
- `product-planning/` - Product specification guidance
|
|
240
|
+
- `validation/` - Quality gate checks and tool detection
|
|
241
|
+
- `testing/` - Test strategy and coverage
|
|
242
|
+
- `deployment/` - Deployment preparation and validation
|
|
159
243
|
- `settings.json` - Project configuration
|
|
160
244
|
|
|
161
|
-
**See [ARCHITECTURE.md](./ARCHITECTURE.md) for detailed explanation of file organization.**
|
|
162
|
-
|
|
163
245
|
## Commands
|
|
164
246
|
|
|
165
247
|
| Command | Description |
|
|
166
248
|
|---------|-------------|
|
|
249
|
+
| `/agentful` | Main agentful command - shows help and available commands |
|
|
167
250
|
| `/agentful-product` | Smart product planning: create, analyze, and refine requirements |
|
|
168
251
|
| `/agentful-start` | Start or resume structured development |
|
|
169
252
|
| `/agentful-status` | Display progress and current state |
|
|
170
253
|
| `/agentful-validate` | Run all quality checks |
|
|
171
254
|
| `/agentful-decide` | Answer pending decisions |
|
|
255
|
+
| `/agentful-update` | Smart update mechanism - fetches latest templates and gracefully migrates changes |
|
|
256
|
+
| `/agentful-analyze` | Analyze architecture and generate specialized agents for your tech stack |
|
|
257
|
+
| `/agentful-generate` | Generate specialized agents from architecture analysis |
|
|
258
|
+
|
|
259
|
+
## CI/CD Integration
|
|
260
|
+
|
|
261
|
+
Run agentful agents in GitHub Actions, GitLab CI, Jenkins, or Bitbucket Pipelines.
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
# Generate workflow files for your CI platform
|
|
265
|
+
agentful ci --generate-workflow
|
|
266
|
+
|
|
267
|
+
# Or use the interactive command
|
|
268
|
+
agentful ci
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
See `examples/` for sample workflow configurations ([GitHub Actions](examples/github-actions-pipeline.yml), [GitLab CI](examples/gitlab-ci-cd.yml)).
|
|
272
|
+
|
|
273
|
+
## Remote Execution
|
|
274
|
+
|
|
275
|
+
Run agentful agents on remote servers via secure HTTP API.
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
# Start server with Tailscale (most secure, recommended)
|
|
279
|
+
agentful serve
|
|
280
|
+
|
|
281
|
+
# Start server with HMAC authentication and HTTPS
|
|
282
|
+
agentful serve --auth=hmac --secret=$SECRET --https --cert=cert.pem --key=key.pem
|
|
283
|
+
|
|
284
|
+
# Start server for local SSH tunnel access
|
|
285
|
+
agentful serve --auth=none
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Three authentication modes: **Tailscale** (WireGuard encryption), **HMAC** (signature-based with replay protection), **SSH tunnel** (localhost-only).
|
|
172
289
|
|
|
173
290
|
## Technology Support
|
|
174
291
|
|
|
@@ -189,7 +306,7 @@ agentful detects and adapts to your technology stack automatically:
|
|
|
189
306
|
|
|
190
307
|
## Documentation
|
|
191
308
|
|
|
192
|
-
|
|
309
|
+
Documentation: [agentful.app](https://agentful.app)
|
|
193
310
|
|
|
194
311
|
## Project Structure
|
|
195
312
|
|
|
@@ -209,7 +326,6 @@ your-project/
|
|
|
209
326
|
│ ├── completion.json
|
|
210
327
|
│ ├── decisions.json
|
|
211
328
|
│ ├── architecture.json
|
|
212
|
-
│ ├── last-validation.json
|
|
213
329
|
│ └── conversation-history.json
|
|
214
330
|
└── src/ # Source code
|
|
215
331
|
```
|
|
@@ -222,5 +338,4 @@ MIT
|
|
|
222
338
|
|
|
223
339
|
- GitHub: [github.com/itz4blitz/agentful](https://github.com/itz4blitz/agentful)
|
|
224
340
|
- Issues: [github.com/itz4blitz/agentful/issues](https://github.com/itz4blitz/agentful/issues)
|
|
225
|
-
-
|
|
226
|
-
- NPM: [npmjs.com/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|
|
341
|
+
- NPM: [npmjs.com/package/@itz4blitz/agentful](https://www.npmjs.com/package/@itz4blitz/agentful)
|