proagents 1.6.19 → 1.6.21
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/settings.local.json +13 -1
- package/.proagents/.cursorrules +25 -10
- package/.proagents/.windsurfrules +25 -10
- package/.proagents/AGENTS.md +30 -11
- package/.proagents/AI_INSTRUCTIONS.md +86 -30
- package/.proagents/BOLT.md +25 -10
- package/.proagents/CLAUDE.md +25 -10
- package/.proagents/GEMINI.md +25 -10
- package/.proagents/KIRO.md +25 -10
- package/.proagents/LOVABLE.md +25 -10
- package/.proagents/PROAGENTS.md +96 -343
- package/.proagents/REPLIT.md +25 -10
- package/.proagents/activity.log +1 -0
- package/.proagents/custom-commands.yaml +0 -1
- package/.proagents/docs/command-details.md +1 -2
- package/.proagents/getting-started/ai-training-setup.md +0 -1
- package/.proagents/performance/README.md +59 -0
- package/.proagents/performance/bundle-analysis.md +375 -0
- package/.proagents/performance/load-testing.md +563 -0
- package/.proagents/performance/runtime-metrics.md +489 -0
- package/.proagents/performance/web-vitals.md +425 -0
- package/.proagents/platforms.yaml +66 -0
- package/.proagents/proagents.config.yaml +0 -1
- package/.proagents/prompts/ai-add.md +80 -0
- package/.proagents/prompts/ai-list.md +41 -0
- package/.proagents/prompts/ai-remove.md +112 -0
- package/.proagents/prompts/ai-sync.md +96 -0
- package/.proagents/workflow-modes/entry-modes.md +1 -6
- package/lib/commands/ai.js +100 -48
- package/lib/commands/init.js +89 -22
- package/package.json +1 -1
- package/.proagents/ANTIGRAVITY.md +0 -61
- package/.proagents/CHATGPT.md +0 -57
- package/.proagents/GROQ.md +0 -57
- package/.proagents/api-versioning/README.md +0 -257
- package/.proagents/api-versioning/changelog-template.md +0 -225
- package/.proagents/api-versioning/deprecation-workflow.md +0 -470
- package/.proagents/api-versioning/versioning-strategy.md +0 -291
- package/.proagents/automation/README.md +0 -38
- package/.proagents/automation/ai-behavior-rules.md +0 -339
- package/.proagents/automation/ai-prompt-injection.md +0 -331
- package/.proagents/automation/auto-decisions.md +0 -535
- package/.proagents/automation/decision-defaults.yaml +0 -317
- package/.proagents/cache/README.md +0 -110
- package/.proagents/cache/analysis-metadata.json +0 -76
- package/.proagents/cache/conventions.json +0 -125
- package/.proagents/cache/dependencies.json +0 -85
- package/.proagents/cache/features.json +0 -115
- package/.proagents/cache/patterns.json +0 -105
- package/.proagents/cache/schemas/conventions-schema.json +0 -138
- package/.proagents/cache/schemas/dependencies-schema.json +0 -95
- package/.proagents/cache/schemas/features-schema.json +0 -104
- package/.proagents/cache/schemas/metadata-schema.json +0 -83
- package/.proagents/cache/schemas/patterns-schema.json +0 -136
- package/.proagents/cache/schemas/structure-schema.json +0 -72
- package/.proagents/cache/structure.json +0 -109
- package/.proagents/checklists/README.md +0 -261
- package/.proagents/checklists/code-quality.md +0 -137
- package/.proagents/checklists/code-review.md +0 -148
- package/.proagents/checklists/pr-checklist.md +0 -78
- package/.proagents/checklists/pre-deployment.md +0 -132
- package/.proagents/checklists/pre-implementation.md +0 -80
- package/.proagents/checklists/testing.md +0 -120
- package/.proagents/checkpoints.json +0 -13
- package/.proagents/cicd/README.md +0 -338
- package/.proagents/cicd/azure-devops.md +0 -267
- package/.proagents/cicd/github-actions.md +0 -375
- package/.proagents/cicd/gitlab-ci.md +0 -278
- package/.proagents/cicd/jenkins.md +0 -317
- package/.proagents/collaboration/README.md +0 -143
- package/.proagents/collaboration/roles.md +0 -248
- package/.proagents/collaboration/sessions.md +0 -390
- package/.proagents/collaboration/sync.md +0 -358
- package/.proagents/cost/README.md +0 -48
- package/.proagents/cost/cost-template.md +0 -283
- package/.proagents/cost/estimation-framework.md +0 -287
- package/.proagents/database/README.md +0 -72
- package/.proagents/database/examples/001-create-users.sql +0 -129
- package/.proagents/database/examples/002-add-preferences.sql +0 -94
- package/.proagents/database/examples/003-add-index.sql +0 -105
- package/.proagents/database/examples/004-rename-column.sql +0 -122
- package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
- package/.proagents/database/examples/006-data-migration.sql +0 -196
- package/.proagents/database/examples/007-drop-column.sql +0 -163
- package/.proagents/database/examples/README.md +0 -89
- package/.proagents/database/migration-workflow.md +0 -478
- package/.proagents/database/rollback-scripts.md +0 -487
- package/.proagents/database/safety-checks.md +0 -447
- package/.proagents/git/README.md +0 -68
- package/.proagents/git/branch-strategy.md +0 -164
- package/.proagents/git/commit-conventions.md +0 -241
- package/.proagents/git/pr-workflow.md +0 -286
- package/.proagents/git/rollback-procedures.md +0 -416
- package/.proagents/ide-integration/README.md +0 -124
- package/.proagents/ide-integration/cline-config.md +0 -429
- package/.proagents/ide-integration/continue-config.md +0 -380
- package/.proagents/ide-integration/cursor-rules.md +0 -280
- package/.proagents/ide-integration/github-copilot.md +0 -384
- package/.proagents/ide-integration/windsurf-rules.md +0 -314
- package/.proagents/integrations/README.md +0 -97
- package/.proagents/integrations/pm/README.md +0 -344
- package/.proagents/learning/README.md +0 -136
- package/.proagents/learning/adaptation.md +0 -305
- package/.proagents/learning/data-collection.md +0 -283
- package/.proagents/learning/implementation-guide.md +0 -865
- package/.proagents/learning/reports.md +0 -306
- package/.proagents/mcp/README.md +0 -133
- package/.proagents/mcp/context-providers.md +0 -442
- package/.proagents/mcp/server-config.md +0 -306
- package/.proagents/mcp/tools-definition.md +0 -513
- package/.proagents/pm-integration/README.md +0 -151
- package/.proagents/pm-integration/asana.md +0 -346
- package/.proagents/pm-integration/github-issues.md +0 -308
- package/.proagents/pm-integration/gitlab-issues.md +0 -482
- package/.proagents/pm-integration/jira.md +0 -364
- package/.proagents/pm-integration/linear.md +0 -409
- package/.proagents/pm-integration/notion.md +0 -275
- package/.proagents/pm-integration/sync-config.md +0 -533
- package/.proagents/pm-integration/trello.md +0 -159
- package/.proagents/rules/README.md +0 -179
- package/.proagents/rules/custom-rules-template.yaml +0 -286
- package/.proagents/rules/custom-rules.md +0 -754
- package/.proagents/rules/validation-rules-template.yaml +0 -517
- package/.proagents/runbooks/README.md +0 -219
- package/.proagents/runbooks/dependency-vulnerability.md +0 -505
- package/.proagents/runbooks/incident-response.md +0 -451
- package/.proagents/runbooks/performance-degradation.md +0 -584
- package/.proagents/runbooks/production-debugging.md +0 -489
- package/.proagents/sprints/README.md +0 -58
- package/.proagents/team/README.md +0 -256
- package/.proagents/team/code-ownership.md +0 -306
- package/.proagents/team/communication-templates.md +0 -441
- package/.proagents/team/handoff-protocol.md +0 -380
- package/.proagents/team/ide-setup/README.md +0 -103
- package/.proagents/team/ide-setup/cursor.md +0 -276
- package/.proagents/team/ide-setup/jetbrains.md +0 -330
- package/.proagents/team/ide-setup/neovim.md +0 -640
- package/.proagents/team/ide-setup/vscode.md +0 -348
- package/.proagents/team/onboarding.md +0 -278
- package/.proagents/time-tracking.json +0 -19
- package/.proagents/troubleshooting/README.md +0 -730
- package/.proagents/troubleshooting/ai-issues.md +0 -601
- package/.proagents/troubleshooting/workflow-issues.md +0 -571
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-metadata-schema.json",
|
|
4
|
-
"title": "Cache Metadata Schema",
|
|
5
|
-
"description": "Schema for cache metadata in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "cache_version", "project", "timestamps"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
15
|
-
},
|
|
16
|
-
"cache_version": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"project": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"required": ["path", "name"],
|
|
22
|
-
"properties": {
|
|
23
|
-
"path": { "type": "string" },
|
|
24
|
-
"name": { "type": "string" },
|
|
25
|
-
"type": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"enum": ["web-frontend", "fullstack", "backend", "mobile", "library"]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"timestamps": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"properties": {
|
|
34
|
-
"created_at": { "type": "string", "format": "date-time" },
|
|
35
|
-
"updated_at": { "type": "string", "format": "date-time" },
|
|
36
|
-
"last_full_analysis": { "type": "string", "format": "date-time" },
|
|
37
|
-
"last_incremental_update": { "type": "string", "format": "date-time" }
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"cache_status": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"additionalProperties": {
|
|
43
|
-
"type": "object",
|
|
44
|
-
"properties": {
|
|
45
|
-
"valid": { "type": "boolean" },
|
|
46
|
-
"age_hours": { "type": "number", "minimum": 0 },
|
|
47
|
-
"ttl_hours": { "type": "number", "minimum": 0 },
|
|
48
|
-
"size_bytes": { "type": "integer", "minimum": 0 },
|
|
49
|
-
"last_updated": { "type": "string", "format": "date-time" }
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"file_tracking": {
|
|
54
|
-
"type": "object",
|
|
55
|
-
"properties": {
|
|
56
|
-
"total_files": { "type": "integer", "minimum": 0 },
|
|
57
|
-
"tracked_files": { "type": "integer", "minimum": 0 },
|
|
58
|
-
"excluded_files": { "type": "integer", "minimum": 0 },
|
|
59
|
-
"last_file_check": { "type": "string", "format": "date-time" },
|
|
60
|
-
"files_changed_since_analysis": { "type": "integer", "minimum": 0 }
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"integrity": {
|
|
64
|
-
"type": "object",
|
|
65
|
-
"properties": {
|
|
66
|
-
"checksum": { "type": "string" },
|
|
67
|
-
"verified_at": { "type": "string", "format": "date-time" },
|
|
68
|
-
"status": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"enum": ["valid", "invalid", "unknown"]
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"storage": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"properties": {
|
|
77
|
-
"total_size_bytes": { "type": "integer", "minimum": 0 },
|
|
78
|
-
"max_size_bytes": { "type": "integer", "minimum": 0 },
|
|
79
|
-
"usage_percent": { "type": "number", "minimum": 0, "maximum": 100 }
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-patterns-schema.json",
|
|
4
|
-
"title": "Cache Patterns Schema",
|
|
5
|
-
"description": "Schema for cached code patterns in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "cached_at", "patterns"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Reference to this schema file"
|
|
12
|
-
},
|
|
13
|
-
"version": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
16
|
-
"description": "Semantic version of the cache format"
|
|
17
|
-
},
|
|
18
|
-
"cached_at": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"format": "date-time",
|
|
21
|
-
"description": "ISO 8601 timestamp of when cache was created"
|
|
22
|
-
},
|
|
23
|
-
"expires_at": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"format": "date-time",
|
|
26
|
-
"description": "ISO 8601 timestamp of cache expiration"
|
|
27
|
-
},
|
|
28
|
-
"patterns": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"component_patterns": {
|
|
32
|
-
"type": "array",
|
|
33
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
34
|
-
},
|
|
35
|
-
"hook_patterns": {
|
|
36
|
-
"type": "array",
|
|
37
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
38
|
-
},
|
|
39
|
-
"api_patterns": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
42
|
-
},
|
|
43
|
-
"state_patterns": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
46
|
-
},
|
|
47
|
-
"error_patterns": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
50
|
-
},
|
|
51
|
-
"testing_patterns": {
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": { "$ref": "#/definitions/cached_pattern" }
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"naming_conventions": {
|
|
58
|
-
"type": "object",
|
|
59
|
-
"additionalProperties": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"properties": {
|
|
62
|
-
"pattern": { "type": "string" },
|
|
63
|
-
"examples": {
|
|
64
|
-
"type": "array",
|
|
65
|
-
"items": { "type": "string" }
|
|
66
|
-
},
|
|
67
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"file_structure": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"additionalProperties": { "type": "string" }
|
|
74
|
-
},
|
|
75
|
-
"metadata": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"properties": {
|
|
78
|
-
"files_analyzed": { "type": "integer", "minimum": 0 },
|
|
79
|
-
"analysis_duration_ms": { "type": "integer", "minimum": 0 },
|
|
80
|
-
"cache_hits": { "type": "integer", "minimum": 0 },
|
|
81
|
-
"cache_misses": { "type": "integer", "minimum": 0 }
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"definitions": {
|
|
86
|
-
"cached_pattern": {
|
|
87
|
-
"type": "object",
|
|
88
|
-
"required": ["id", "name"],
|
|
89
|
-
"properties": {
|
|
90
|
-
"id": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"description": "Unique identifier for the pattern"
|
|
93
|
-
},
|
|
94
|
-
"name": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "Human-readable name for the pattern"
|
|
97
|
-
},
|
|
98
|
-
"description": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "Detailed description of the pattern"
|
|
101
|
-
},
|
|
102
|
-
"template": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"description": "Code template for the pattern"
|
|
105
|
-
},
|
|
106
|
-
"examples": {
|
|
107
|
-
"type": "array",
|
|
108
|
-
"items": { "type": "string" },
|
|
109
|
-
"description": "Example usages found in codebase"
|
|
110
|
-
},
|
|
111
|
-
"frequency": {
|
|
112
|
-
"type": "integer",
|
|
113
|
-
"minimum": 0,
|
|
114
|
-
"maximum": 100,
|
|
115
|
-
"description": "How often this pattern appears (percentage)"
|
|
116
|
-
},
|
|
117
|
-
"confidence": {
|
|
118
|
-
"type": "number",
|
|
119
|
-
"minimum": 0,
|
|
120
|
-
"maximum": 1,
|
|
121
|
-
"description": "Confidence score for pattern detection"
|
|
122
|
-
},
|
|
123
|
-
"files": {
|
|
124
|
-
"type": "array",
|
|
125
|
-
"items": { "type": "string" },
|
|
126
|
-
"description": "Files where this pattern was detected"
|
|
127
|
-
},
|
|
128
|
-
"last_seen": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"format": "date-time",
|
|
131
|
-
"description": "When this pattern was last detected"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-structure-schema.json",
|
|
4
|
-
"title": "Cache Structure Schema",
|
|
5
|
-
"description": "Schema for cached project structure in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "generated_at", "root", "tree"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
15
|
-
},
|
|
16
|
-
"generated_at": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"format": "date-time"
|
|
19
|
-
},
|
|
20
|
-
"root": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "Root path of the project"
|
|
23
|
-
},
|
|
24
|
-
"tree": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": { "$ref": "#/definitions/tree_node" }
|
|
27
|
-
},
|
|
28
|
-
"statistics": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"total_directories": { "type": "integer", "minimum": 0 },
|
|
32
|
-
"total_files": { "type": "integer", "minimum": 0 },
|
|
33
|
-
"by_extension": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"additionalProperties": { "type": "integer", "minimum": 0 }
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"framework_detection": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"properties": {
|
|
42
|
-
"primary": { "type": "string" },
|
|
43
|
-
"version": { "type": "string" },
|
|
44
|
-
"router": { "type": "string" },
|
|
45
|
-
"additional": {
|
|
46
|
-
"type": "array",
|
|
47
|
-
"items": { "type": "string" }
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"definitions": {
|
|
53
|
-
"tree_node": {
|
|
54
|
-
"type": "object",
|
|
55
|
-
"required": ["type"],
|
|
56
|
-
"properties": {
|
|
57
|
-
"type": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"enum": ["directory", "file"]
|
|
60
|
-
},
|
|
61
|
-
"purpose": { "type": "string" },
|
|
62
|
-
"framework": { "type": "string" },
|
|
63
|
-
"pattern": { "type": "string" },
|
|
64
|
-
"file_count": { "type": "integer", "minimum": 0 },
|
|
65
|
-
"children": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": { "$ref": "#/definitions/tree_node" }
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./schemas/structure-schema.json",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"generated_at": "2024-01-15T10:30:00Z",
|
|
5
|
-
|
|
6
|
-
"root": "/path/to/project",
|
|
7
|
-
|
|
8
|
-
"tree": {
|
|
9
|
-
"src": {
|
|
10
|
-
"type": "directory",
|
|
11
|
-
"purpose": "Main source code",
|
|
12
|
-
"children": {
|
|
13
|
-
"app": {
|
|
14
|
-
"type": "directory",
|
|
15
|
-
"purpose": "Next.js App Router pages",
|
|
16
|
-
"framework": "nextjs",
|
|
17
|
-
"children": {
|
|
18
|
-
"api": {
|
|
19
|
-
"type": "directory",
|
|
20
|
-
"purpose": "API routes",
|
|
21
|
-
"pattern": "api-routes"
|
|
22
|
-
},
|
|
23
|
-
"layout.tsx": {
|
|
24
|
-
"type": "file",
|
|
25
|
-
"purpose": "Root layout"
|
|
26
|
-
},
|
|
27
|
-
"page.tsx": {
|
|
28
|
-
"type": "file",
|
|
29
|
-
"purpose": "Home page"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"components": {
|
|
34
|
-
"type": "directory",
|
|
35
|
-
"purpose": "Shared React components",
|
|
36
|
-
"pattern": "component-library",
|
|
37
|
-
"file_count": 24
|
|
38
|
-
},
|
|
39
|
-
"hooks": {
|
|
40
|
-
"type": "directory",
|
|
41
|
-
"purpose": "Custom React hooks",
|
|
42
|
-
"pattern": "custom-hooks",
|
|
43
|
-
"file_count": 8
|
|
44
|
-
},
|
|
45
|
-
"services": {
|
|
46
|
-
"type": "directory",
|
|
47
|
-
"purpose": "API and business logic",
|
|
48
|
-
"pattern": "service-layer",
|
|
49
|
-
"file_count": 6
|
|
50
|
-
},
|
|
51
|
-
"stores": {
|
|
52
|
-
"type": "directory",
|
|
53
|
-
"purpose": "Zustand state stores",
|
|
54
|
-
"pattern": "state-management",
|
|
55
|
-
"file_count": 4
|
|
56
|
-
},
|
|
57
|
-
"types": {
|
|
58
|
-
"type": "directory",
|
|
59
|
-
"purpose": "TypeScript type definitions",
|
|
60
|
-
"file_count": 12
|
|
61
|
-
},
|
|
62
|
-
"utils": {
|
|
63
|
-
"type": "directory",
|
|
64
|
-
"purpose": "Utility functions",
|
|
65
|
-
"file_count": 10
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"tests": {
|
|
70
|
-
"type": "directory",
|
|
71
|
-
"purpose": "Test files",
|
|
72
|
-
"pattern": "colocated-tests",
|
|
73
|
-
"children": {
|
|
74
|
-
"unit": { "type": "directory", "file_count": 45 },
|
|
75
|
-
"integration": { "type": "directory", "file_count": 12 },
|
|
76
|
-
"e2e": { "type": "directory", "file_count": 8 }
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"public": {
|
|
80
|
-
"type": "directory",
|
|
81
|
-
"purpose": "Static assets"
|
|
82
|
-
},
|
|
83
|
-
"prisma": {
|
|
84
|
-
"type": "directory",
|
|
85
|
-
"purpose": "Database schema and migrations",
|
|
86
|
-
"pattern": "prisma-orm"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
"statistics": {
|
|
91
|
-
"total_directories": 32,
|
|
92
|
-
"total_files": 189,
|
|
93
|
-
"by_extension": {
|
|
94
|
-
".tsx": 78,
|
|
95
|
-
".ts": 65,
|
|
96
|
-
".json": 12,
|
|
97
|
-
".css": 8,
|
|
98
|
-
".md": 15,
|
|
99
|
-
"other": 11
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
"framework_detection": {
|
|
104
|
-
"primary": "nextjs",
|
|
105
|
-
"version": "14",
|
|
106
|
-
"router": "app",
|
|
107
|
-
"additional": ["react", "typescript", "tailwind", "prisma"]
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
# Checklists
|
|
2
|
-
|
|
3
|
-
Quality checklists for each phase of the development workflow.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
Structured checklists ensure consistency and completeness at each stage of development. ProAgents automatically presents relevant checklists during the workflow and tracks completion.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Available Checklists
|
|
14
|
-
|
|
15
|
-
| Checklist | Phase | Description |
|
|
16
|
-
|-----------|-------|-------------|
|
|
17
|
-
| [Pre-Implementation](./pre-implementation.md) | Before coding | Requirements verified, design approved |
|
|
18
|
-
| [Code Quality](./code-quality.md) | During coding | Style, patterns, best practices |
|
|
19
|
-
| [Testing](./testing.md) | Testing phase | Coverage, test types, edge cases |
|
|
20
|
-
| [Code Review](./code-review.md) | Review phase | Review criteria, security checks |
|
|
21
|
-
| [PR Checklist](./pr-checklist.md) | Pull request | PR requirements, documentation |
|
|
22
|
-
| [Pre-Deployment](./pre-deployment.md) | Before deploy | Final verification, rollback ready |
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## When Checklists Are Used
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
Feature Start
|
|
30
|
-
│
|
|
31
|
-
▼
|
|
32
|
-
┌─────────────────┐
|
|
33
|
-
│ Pre-Implementation │ ← Checklist: requirements, design, dependencies
|
|
34
|
-
└────────┬────────┘
|
|
35
|
-
│
|
|
36
|
-
▼
|
|
37
|
-
┌─────────────────┐
|
|
38
|
-
│ Implementation │ ← Checklist: code quality (continuous)
|
|
39
|
-
└────────┬────────┘
|
|
40
|
-
│
|
|
41
|
-
▼
|
|
42
|
-
┌─────────────────┐
|
|
43
|
-
│ Testing │ ← Checklist: test coverage, edge cases
|
|
44
|
-
└────────┬────────┘
|
|
45
|
-
│
|
|
46
|
-
▼
|
|
47
|
-
┌─────────────────┐
|
|
48
|
-
│ Code Review │ ← Checklist: review criteria, security
|
|
49
|
-
└────────┬────────┘
|
|
50
|
-
│
|
|
51
|
-
▼
|
|
52
|
-
┌─────────────────┐
|
|
53
|
-
│ Pull Request │ ← Checklist: PR requirements
|
|
54
|
-
└────────┬────────┘
|
|
55
|
-
│
|
|
56
|
-
▼
|
|
57
|
-
┌─────────────────┐
|
|
58
|
-
│ Deployment │ ← Checklist: pre-deployment verification
|
|
59
|
-
└─────────────────┘
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Commands
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Run specific checklist
|
|
68
|
-
proagents checklist pre-deployment
|
|
69
|
-
|
|
70
|
-
# Run all checklists for current phase
|
|
71
|
-
proagents checklist current
|
|
72
|
-
|
|
73
|
-
# Show checklist status for feature
|
|
74
|
-
proagents checklist status
|
|
75
|
-
|
|
76
|
-
# Mark item as complete
|
|
77
|
-
proagents checklist complete pre-deployment.tests-pass
|
|
78
|
-
|
|
79
|
-
# Generate checklist report
|
|
80
|
-
proagents checklist report
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## Checklist Structure
|
|
86
|
-
|
|
87
|
-
Each checklist item includes:
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
- id: "unique-identifier"
|
|
91
|
-
title: "Human-readable title"
|
|
92
|
-
description: "Detailed description of what to check"
|
|
93
|
-
category: "security | quality | testing | documentation"
|
|
94
|
-
severity: "blocker | warning | info"
|
|
95
|
-
automated: true # Can be automatically verified
|
|
96
|
-
manual: true # Requires manual verification
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## Customization
|
|
102
|
-
|
|
103
|
-
### Add Custom Items
|
|
104
|
-
|
|
105
|
-
```yaml
|
|
106
|
-
# proagents.config.yaml
|
|
107
|
-
checklists:
|
|
108
|
-
pre_deployment:
|
|
109
|
-
custom_items:
|
|
110
|
-
- id: "security-scan"
|
|
111
|
-
title: "Security scan completed"
|
|
112
|
-
description: "Run SAST and dependency scan"
|
|
113
|
-
severity: "blocker"
|
|
114
|
-
|
|
115
|
-
- id: "performance-check"
|
|
116
|
-
title: "Performance benchmarks met"
|
|
117
|
-
description: "Response times within SLA"
|
|
118
|
-
severity: "warning"
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Disable Items
|
|
122
|
-
|
|
123
|
-
```yaml
|
|
124
|
-
checklists:
|
|
125
|
-
code_review:
|
|
126
|
-
disabled_items:
|
|
127
|
-
- "documentation-updated" # Skip for hotfixes
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### Environment-Specific
|
|
131
|
-
|
|
132
|
-
```yaml
|
|
133
|
-
checklists:
|
|
134
|
-
pre_deployment:
|
|
135
|
-
environments:
|
|
136
|
-
production:
|
|
137
|
-
required_items:
|
|
138
|
-
- "security-audit"
|
|
139
|
-
- "load-test-passed"
|
|
140
|
-
staging:
|
|
141
|
-
required_items:
|
|
142
|
-
- "basic-smoke-test"
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## Checklist Summaries
|
|
148
|
-
|
|
149
|
-
### Pre-Implementation
|
|
150
|
-
|
|
151
|
-
- [ ] Requirements documented and approved
|
|
152
|
-
- [ ] Design reviewed and approved
|
|
153
|
-
- [ ] Dependencies identified
|
|
154
|
-
- [ ] Test strategy defined
|
|
155
|
-
- [ ] No blockers from other features
|
|
156
|
-
|
|
157
|
-
### Code Quality
|
|
158
|
-
|
|
159
|
-
- [ ] Follows project coding standards
|
|
160
|
-
- [ ] No linting errors
|
|
161
|
-
- [ ] No TypeScript errors
|
|
162
|
-
- [ ] Functions are small and focused
|
|
163
|
-
- [ ] No hardcoded values
|
|
164
|
-
- [ ] Error handling in place
|
|
165
|
-
|
|
166
|
-
### Testing
|
|
167
|
-
|
|
168
|
-
- [ ] Unit tests written (>80% coverage)
|
|
169
|
-
- [ ] Integration tests written
|
|
170
|
-
- [ ] Edge cases covered
|
|
171
|
-
- [ ] Error scenarios tested
|
|
172
|
-
- [ ] Tests are passing
|
|
173
|
-
|
|
174
|
-
### Code Review
|
|
175
|
-
|
|
176
|
-
- [ ] Code is readable and maintainable
|
|
177
|
-
- [ ] No security vulnerabilities
|
|
178
|
-
- [ ] No performance issues
|
|
179
|
-
- [ ] Documentation updated
|
|
180
|
-
- [ ] Follows team patterns
|
|
181
|
-
|
|
182
|
-
### Pre-Deployment
|
|
183
|
-
|
|
184
|
-
- [ ] All tests passing
|
|
185
|
-
- [ ] No critical bugs
|
|
186
|
-
- [ ] Rollback plan ready
|
|
187
|
-
- [ ] Monitoring configured
|
|
188
|
-
- [ ] Stakeholders notified
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## Automated Verification
|
|
193
|
-
|
|
194
|
-
Many checklist items can be automatically verified:
|
|
195
|
-
|
|
196
|
-
| Item | Verification Method |
|
|
197
|
-
|------|---------------------|
|
|
198
|
-
| Tests passing | CI pipeline |
|
|
199
|
-
| Coverage > 80% | Coverage report |
|
|
200
|
-
| No lint errors | ESLint output |
|
|
201
|
-
| No type errors | TypeScript compilation |
|
|
202
|
-
| Dependencies secure | npm audit |
|
|
203
|
-
| No secrets in code | Secret scanner |
|
|
204
|
-
|
|
205
|
-
---
|
|
206
|
-
|
|
207
|
-
## Blocking vs Non-Blocking
|
|
208
|
-
|
|
209
|
-
### Blocker Items
|
|
210
|
-
Must be completed before proceeding:
|
|
211
|
-
- Tests passing
|
|
212
|
-
- No security vulnerabilities
|
|
213
|
-
- Required approvals
|
|
214
|
-
|
|
215
|
-
### Warning Items
|
|
216
|
-
Should be completed, but can proceed with justification:
|
|
217
|
-
- Documentation updated
|
|
218
|
-
- Performance benchmarks
|
|
219
|
-
|
|
220
|
-
### Info Items
|
|
221
|
-
Nice to have, for tracking:
|
|
222
|
-
- Code comments added
|
|
223
|
-
- README updated
|
|
224
|
-
|
|
225
|
-
---
|
|
226
|
-
|
|
227
|
-
## Reporting
|
|
228
|
-
|
|
229
|
-
```bash
|
|
230
|
-
# Generate markdown report
|
|
231
|
-
proagents checklist report --format markdown
|
|
232
|
-
|
|
233
|
-
# Generate JSON for integration
|
|
234
|
-
proagents checklist report --format json
|
|
235
|
-
|
|
236
|
-
# Show completion percentage
|
|
237
|
-
proagents checklist progress
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
### Sample Report
|
|
241
|
-
|
|
242
|
-
```
|
|
243
|
-
Feature: user-authentication
|
|
244
|
-
Phase: Pre-Deployment
|
|
245
|
-
|
|
246
|
-
Checklist Progress: 8/10 (80%)
|
|
247
|
-
|
|
248
|
-
✅ Completed:
|
|
249
|
-
- Requirements documented
|
|
250
|
-
- Design approved
|
|
251
|
-
- Unit tests passing (92% coverage)
|
|
252
|
-
- Integration tests passing
|
|
253
|
-
- No lint errors
|
|
254
|
-
- No security vulnerabilities
|
|
255
|
-
- Rollback plan documented
|
|
256
|
-
- Monitoring configured
|
|
257
|
-
|
|
258
|
-
⚠️ Pending:
|
|
259
|
-
- Performance benchmarks (in progress)
|
|
260
|
-
- Final stakeholder sign-off (waiting)
|
|
261
|
-
```
|