@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/lib/index.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* agentful Analysis Engine
|
|
5
|
+
* Smart project analysis for autonomous development
|
|
6
|
+
*
|
|
7
|
+
* @module agentful/analyzer
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export { analyzeProject, exportToArchitectureJson } from './project-analyzer.js';
|
|
11
|
+
export { detectDomains, getDomainKeywords, getAllDomains, addCustomDomainPattern } from './domain-detector.js';
|
|
12
|
+
export { detectTechStack } from './tech-stack-detector.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Main entry point for project analysis
|
|
16
|
+
* @param {string} projectRoot - Root directory of the project to analyze
|
|
17
|
+
* @returns {Promise<Object>} Comprehensive project analysis
|
|
18
|
+
*/
|
|
19
|
+
export async function analyze(projectRoot) {
|
|
20
|
+
return await analyzeProject(projectRoot);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Quick tech stack detection
|
|
25
|
+
* @param {string} projectRoot - Root directory of the project
|
|
26
|
+
* @returns {Promise<Object>} Detected tech stack
|
|
27
|
+
*/
|
|
28
|
+
export async function detectStack(projectRoot) {
|
|
29
|
+
return await detectTechStack(projectRoot);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Domain detection
|
|
34
|
+
* @param {string} projectRoot - Root directory of the project
|
|
35
|
+
* @param {Object} quickScan - Optional quick scan results
|
|
36
|
+
* @returns {Promise<Object>} Detected domains with confidence scores
|
|
37
|
+
*/
|
|
38
|
+
export async function detectBusinessDomains(projectRoot, quickScan) {
|
|
39
|
+
return await detectDomains(projectRoot, quickScan);
|
|
40
|
+
}
|