@sppg2001/atomize 0.0.1 → 1.0.1

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.
@@ -1,169 +1,169 @@
1
- version: "1.0"
2
- name: "Fullstack Feature"
3
- description: "Complete fullstack feature with frontend and backend tasks"
4
- author: "Atomize"
5
- tags: ["fullstack", "frontend", "backend"]
6
-
7
- filter:
8
- workItemTypes:
9
- - "User Story"
10
- states:
11
- - "New"
12
- - "Active"
13
- tags:
14
- include:
15
- - "fullstack"
16
- excludeIfHasTasks: true
17
-
18
- # Variables for conditionals
19
- variables:
20
- hasDatabase: true
21
- hasAuth: false
22
-
23
- tasks:
24
- # Design Phase
25
- - id: "design-overview"
26
- title: "Technical Design"
27
- description: |
28
- Create comprehensive technical design:
29
- - Architecture diagram
30
- - API contract definition
31
- - Data models
32
- - UI/UX flow
33
- estimationPercent: 10
34
- tags: ["design", "planning"]
35
- activity: "Design"
36
-
37
- # Backend Tasks
38
- - id: "backend-api"
39
- title: " Backend API Implementation"
40
- description: |
41
- Implement backend API:
42
- - API endpoints
43
- - Business logic
44
- - Validation
45
- - Error handling
46
- estimationPercent: 20
47
- tags: ["backend", "api"]
48
- activity: "Development"
49
- dependsOn: ["design-overview"]
50
-
51
- - id: "database"
52
- title: "Database Implementation"
53
- description: |
54
- Database changes:
55
- - Schema migrations
56
- - Models
57
- - Queries
58
- - Indexes
59
- estimationPercent: 15
60
- tags: ["database", "backend"]
61
- activity: "Development"
62
- condition: "${variables.hasDatabase}"
63
-
64
- - id: "backend-tests"
65
- title: "Backend Tests"
66
- description: |
67
- Backend test coverage:
68
- - Unit tests (80%+)
69
- - Integration tests
70
- - API endpoint tests
71
- estimationPercent: 10
72
- tags: ["testing", "backend"]
73
- activity: "Testing"
74
- dependsOn: ["backend-api"]
75
-
76
- # Frontend Tasks
77
- - id: "frontend-components"
78
- title: "Frontend Components"
79
- description: |
80
- Build React components:
81
- - Component structure
82
- - Props interfaces
83
- - State management
84
- - Event handlers
85
- estimationPercent: 20
86
- tags: ["frontend", "react"]
87
- activity: "Development"
88
- dependsOn: ["design-overview"]
89
-
90
- - id: "frontend-styling"
91
- title: "Styling & Responsive Design"
92
- description: |
93
- Apply styles:
94
- - CSS/Tailwind
95
- - Mobile responsive
96
- - Theme integration
97
- estimationPercent: 10
98
- tags: ["frontend", "styling"]
99
- activity: "Development"
100
-
101
- - id: "frontend-tests"
102
- title: "Frontend Tests"
103
- description: |
104
- Frontend test coverage:
105
- - Component tests
106
- - User interaction tests
107
- - Snapshot tests
108
- estimationPercent: 8
109
- tags: ["testing", "frontend"]
110
- activity: "Testing"
111
- dependsOn: ["frontend-components"]
112
-
113
- # Integration
114
- - id: "integration"
115
- title: "Frontend-Backend Integration"
116
- description: |
117
- Connect frontend to backend:
118
- - API integration
119
- - Error handling
120
- - Loading states
121
- - Data flow testing
122
- estimationPercent: 12
123
- tags: ["integration"]
124
- activity: "Development"
125
- dependsOn: ["backend-api", "frontend-components"]
126
-
127
- # Documentation & Review
128
- - id: "documentation"
129
- title: "Documentation"
130
- description: |
131
- Complete documentation:
132
- - API documentation
133
- - Component documentation
134
- - README updates
135
- - Deployment guide
136
- estimationPercent: 5
137
- tags: ["documentation"]
138
- activity: "Documentation"
139
-
140
- # Estimation configuration
141
- estimation:
142
- strategy: "percentage"
143
- source: "Microsoft.VSTS.Scheduling.StoryPoints"
144
- rounding: "nearest"
145
- minimumTaskPoints: 0.5
146
-
147
- # Validation
148
- validation:
149
- totalEstimationRange:
150
- min: 95
151
- max: 105
152
- minTasks: 5
153
-
154
- # Metadata
155
- metadata:
156
- category: "Fullstack Development"
157
- difficulty: "advanced"
158
- recommendedFor:
159
- - "Full features with UI and API"
160
- - "Complete user flows"
161
- - "End-to-end features"
162
- estimationGuidelines: |
163
- Best for stories sized 5-13 points.
164
- This template covers both frontend and backend.
165
- Adjust tasks based on complexity.
166
- examples:
167
- - "User registration flow"
168
- - "Dashboard with data visualization"
1
+ version: "1.0"
2
+ name: "Fullstack Feature"
3
+ description: "Complete fullstack feature with frontend and backend tasks"
4
+ author: "Atomize"
5
+ tags: ["fullstack", "frontend", "backend"]
6
+
7
+ filter:
8
+ workItemTypes:
9
+ - "User Story"
10
+ states:
11
+ - "New"
12
+ - "Active"
13
+ tags:
14
+ include:
15
+ - "fullstack"
16
+ excludeIfHasTasks: true
17
+
18
+ # Variables for conditionals
19
+ variables:
20
+ hasDatabase: true
21
+ hasAuth: false
22
+
23
+ tasks:
24
+ # Design Phase
25
+ - id: "design-overview"
26
+ title: "Technical Design"
27
+ description: |
28
+ Create comprehensive technical design:
29
+ - Architecture diagram
30
+ - API contract definition
31
+ - Data models
32
+ - UI/UX flow
33
+ estimationPercent: 10
34
+ tags: ["design", "planning"]
35
+ activity: "Design"
36
+
37
+ # Backend Tasks
38
+ - id: "backend-api"
39
+ title: " Backend API Implementation"
40
+ description: |
41
+ Implement backend API:
42
+ - API endpoints
43
+ - Business logic
44
+ - Validation
45
+ - Error handling
46
+ estimationPercent: 20
47
+ tags: ["backend", "api"]
48
+ activity: "Development"
49
+ dependsOn: ["design-overview"]
50
+
51
+ - id: "database"
52
+ title: "Database Implementation"
53
+ description: |
54
+ Database changes:
55
+ - Schema migrations
56
+ - Models
57
+ - Queries
58
+ - Indexes
59
+ estimationPercent: 15
60
+ tags: ["database", "backend"]
61
+ activity: "Development"
62
+ condition: "${variables.hasDatabase}"
63
+
64
+ - id: "backend-tests"
65
+ title: "Backend Tests"
66
+ description: |
67
+ Backend test coverage:
68
+ - Unit tests (80%+)
69
+ - Integration tests
70
+ - API endpoint tests
71
+ estimationPercent: 10
72
+ tags: ["testing", "backend"]
73
+ activity: "Testing"
74
+ dependsOn: ["backend-api"]
75
+
76
+ # Frontend Tasks
77
+ - id: "frontend-components"
78
+ title: "Frontend Components"
79
+ description: |
80
+ Build React components:
81
+ - Component structure
82
+ - Props interfaces
83
+ - State management
84
+ - Event handlers
85
+ estimationPercent: 20
86
+ tags: ["frontend", "react"]
87
+ activity: "Development"
88
+ dependsOn: ["design-overview"]
89
+
90
+ - id: "frontend-styling"
91
+ title: "Styling & Responsive Design"
92
+ description: |
93
+ Apply styles:
94
+ - CSS/Tailwind
95
+ - Mobile responsive
96
+ - Theme integration
97
+ estimationPercent: 10
98
+ tags: ["frontend", "styling"]
99
+ activity: "Development"
100
+
101
+ - id: "frontend-tests"
102
+ title: "Frontend Tests"
103
+ description: |
104
+ Frontend test coverage:
105
+ - Component tests
106
+ - User interaction tests
107
+ - Snapshot tests
108
+ estimationPercent: 8
109
+ tags: ["testing", "frontend"]
110
+ activity: "Testing"
111
+ dependsOn: ["frontend-components"]
112
+
113
+ # Integration
114
+ - id: "integration"
115
+ title: "Frontend-Backend Integration"
116
+ description: |
117
+ Connect frontend to backend:
118
+ - API integration
119
+ - Error handling
120
+ - Loading states
121
+ - Data flow testing
122
+ estimationPercent: 12
123
+ tags: ["integration"]
124
+ activity: "Development"
125
+ dependsOn: ["backend-api", "frontend-components"]
126
+
127
+ # Documentation & Review
128
+ - id: "documentation"
129
+ title: "Documentation"
130
+ description: |
131
+ Complete documentation:
132
+ - API documentation
133
+ - Component documentation
134
+ - README updates
135
+ - Deployment guide
136
+ estimationPercent: 5
137
+ tags: ["documentation"]
138
+ activity: "Documentation"
139
+
140
+ # Estimation configuration
141
+ estimation:
142
+ strategy: "percentage"
143
+ source: "Microsoft.VSTS.Scheduling.StoryPoints"
144
+ rounding: "nearest"
145
+ minimumTaskPoints: 0.5
146
+
147
+ # Validation
148
+ validation:
149
+ totalEstimationRange:
150
+ min: 95
151
+ max: 105
152
+ minTasks: 5
153
+
154
+ # Metadata
155
+ metadata:
156
+ category: "Fullstack Development"
157
+ difficulty: "advanced"
158
+ recommendedFor:
159
+ - "Full features with UI and API"
160
+ - "Complete user flows"
161
+ - "End-to-end features"
162
+ estimationGuidelines: |
163
+ Best for stories sized 5-13 points.
164
+ This template covers both frontend and backend.
165
+ Adjust tasks based on complexity.
166
+ examples:
167
+ - "User registration flow"
168
+ - "Dashboard with data visualization"
169
169
  - "Search and filter feature"
package/package.json CHANGED
@@ -1,81 +1,87 @@
1
1
  {
2
- "name": "@sppg2001/atomize",
3
- "version": "0.0.1",
4
- "description": "⚛️ Automatically generate tasks from user stories with smart templates",
5
- "type": "module",
6
- "main": "./dist/cli/index.js",
7
- "bin": {
8
- "atomize": "./dist/cli/index.js",
9
- "atom": "./dist/cli/index.js"
10
- },
11
- "publishConfig": {
12
- "access": "public",
13
- "tag": "latest"
14
- },
15
- "files": [
16
- "dist",
17
- "templates",
18
- "README.md",
19
- "LICENSE",
20
- ".env.example"
21
- ],
22
- "scripts": {
23
- "dev": "bun run src/cli/index.ts",
24
- "build": "npm run typecheck && npm run build:bun",
25
- "postbuild": "node make-executable.js",
26
- "build:bun": " bun build ./src/cli/index.ts --outdir ./dist/cli --target node --format esm && node make-executable.js",
27
- "build:standalone": "bun build src/cli/index.ts --compile --outfile atomize",
28
- "prepublishOnly": "npm run build",
29
- "test": "bun test",
30
- "test:unit": "bun test tests/unit",
31
- "test:integration": "bun test tests/integration.test.ts",
32
- "test:watch": "bun test --watch",
33
- "test:coverage": "bun test --coverage",
34
- "typecheck": "tsc --noEmit",
35
- "validate": "bun run src/cli/index.ts validate",
36
- "check": "bun typecheck && bun test"
37
- },
38
- "keywords": [
39
- "devops",
40
- "azure-devops",
41
- "task-automation",
42
- "task-generation",
43
- "agile",
44
- "scrum",
45
- "sprint-planning",
46
- "cli",
47
- "automation",
48
- "productivity"
49
- ],
50
- "repository": {
51
- "type": "git",
52
- "url": "https://github.com/Simao-Pereira-Gomes/atomize.git"
53
- },
54
- "bugs": {
55
- "url": "https://github.com/Simao-Pereira-Gomes/atomize/issues"
56
- },
57
- "author": "Simão Pereira Gomes",
58
- "license": "MIT",
59
- "devDependencies": {
60
- "@types/bun": "1.3.5",
61
- "@types/inquirer": "^9.0.9",
62
- "@types/node": "^25.0.3",
63
- "chalk": "^5.6.2"
64
- },
65
- "peerDependencies": {
66
- "typescript": "^5.9.3"
67
- },
68
- "dependencies": {
69
- "azure-devops-node-api": "^15.1.2",
70
- "commander": "^14.0.2",
71
- "dotenv": "^17.2.3",
72
- "inquirer": "^13.1.0",
73
- "ts-pattern": "^5.9.0",
74
- "winston": "^3.19.0",
75
- "yaml": "^2.8.2",
76
- "zod": "^4.2.1"
77
- },
78
- "engines": {
79
- "node": ">=18.0.0"
80
- }
2
+ "name": "@sppg2001/atomize",
3
+ "version": "1.0.1",
4
+ "description": "Automatically generate tasks from user stories with smart templates",
5
+ "type": "module",
6
+ "main": "./dist/cli/index.js",
7
+ "bin": {
8
+ "atomize": "dist/cli/index.js",
9
+ "atom": "dist/cli/index.js"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public",
13
+ "tag": "latest"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "templates/presets",
18
+ "README.md",
19
+ "LICENSE",
20
+ ".env.example",
21
+ "examples"
22
+ ],
23
+ "scripts": {
24
+ "dev": "bun run src/cli/index.ts",
25
+ "build": "bun run typecheck && bun run build:bun",
26
+ "postbuild": "node make-executable.js",
27
+ "build:bun": "bun build ./src/cli/index.ts --outdir ./dist/cli --target node --format esm",
28
+ "build:standalone": "bun build src/cli/index.ts --compile --outfile atomize",
29
+ "prepublishOnly": "npm run build",
30
+ "test": "bun test",
31
+ "test:unit": "bun test tests/unit",
32
+ "test:integration": "bun test tests/integration.test.ts",
33
+ "test:watch": "bun test --watch",
34
+ "test:coverage": "bun test --coverage --coverage-reporter=lcov",
35
+ "typecheck": "tsc --noEmit",
36
+ "validate": "bun run src/cli/index.ts validate",
37
+ "validate:package": "test -d dist && test -f dist/cli/index.js && test -d templates/presets",
38
+ "check": "bun typecheck && bun test",
39
+ "lint": "bunx biome check --max-diagnostics 100",
40
+ "lint:fix": "bunx biome check --fix --max-diagnostics 100"
41
+ },
42
+ "keywords": [
43
+ "devops",
44
+ "azure-devops",
45
+ "task-automation",
46
+ "task-generation",
47
+ "agile",
48
+ "scrum",
49
+ "sprint-planning",
50
+ "cli",
51
+ "automation",
52
+ "productivity"
53
+ ],
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/Simao-Pereira-Gomes/atomize.git"
57
+ },
58
+ "bugs": {
59
+ "url": "https://github.com/Simao-Pereira-Gomes/atomize/issues"
60
+ },
61
+ "author": "Simão Pereira Gomes",
62
+ "license": "MIT",
63
+ "devDependencies": {
64
+ "@biomejs/biome": "2.3.11",
65
+ "@types/bun": "1.3.5",
66
+ "@types/inquirer": "^9.0.9",
67
+ "@types/node": "^25.0.3"
68
+ },
69
+ "peerDependencies": {
70
+ "typescript": "^5.9.3"
71
+ },
72
+ "dependencies": {
73
+ "@google/generative-ai": "^0.24.1",
74
+ "azure-devops-node-api": "^15.1.2",
75
+ "chalk": "^5.6.2",
76
+ "commander": "^14.0.2",
77
+ "dotenv": "^17.2.3",
78
+ "inquirer": "^13.1.0",
79
+ "ts-pattern": "^5.9.0",
80
+ "winston": "^3.19.0",
81
+ "yaml": "^2.8.2",
82
+ "zod": "^4.3.5"
83
+ },
84
+ "engines": {
85
+ "node": ">=18.0.0"
86
+ }
81
87
  }
@@ -0,0 +1,60 @@
1
+ version: "1.0"
2
+ name: "Backend API Development"
3
+ description: "Standard backend API development with database integration"
4
+ author: "Atomize"
5
+ tags: ["backend", "api", "database"]
6
+
7
+ filter:
8
+ workItemTypes: ["User Story"]
9
+ states: ["New", "Active", "Approved"]
10
+ tags:
11
+ include: ["backend", "api"]
12
+ excludeIfHasTasks: true
13
+
14
+ tasks:
15
+ - title: "Design API Endpoints: ${story.title}"
16
+ description: "Design REST API endpoints, request/response schemas, and error handling"
17
+ estimationPercent: 15
18
+ activity: "Design"
19
+ tags: ["design", "api"]
20
+
21
+ - title: "Database Schema: ${story.title}"
22
+ description: "Design and create database tables, migrations, and relationships"
23
+ estimationPercent: 15
24
+ activity: "Design"
25
+ tags: ["database", "migration"]
26
+
27
+ - title: "Implement Core Logic: ${story.title}"
28
+ description: "Implement business logic, data validation, and error handling"
29
+ estimationPercent: 35
30
+ activity: "Development"
31
+ tags: ["implementation"]
32
+
33
+ - title: "Write Unit Tests"
34
+ description: "Unit tests for services, repositories, and utilities"
35
+ estimationPercent: 15
36
+ activity: "Testing"
37
+ tags: ["testing", "unit-tests"]
38
+
39
+ - title: "Integration Tests & Documentation"
40
+ description: "API integration tests and OpenAPI/Swagger documentation"
41
+ estimationPercent: 10
42
+ activity: "Testing"
43
+ tags: ["testing", "documentation"]
44
+
45
+ - title: "Code Review & Refinement"
46
+ description: "Address code review feedback and refactor as needed"
47
+ estimationPercent: 10
48
+ activity: "Documentation"
49
+ tags: ["review"]
50
+
51
+ estimation:
52
+ strategy: "percentage"
53
+ rounding: "nearest"
54
+ minimumTaskPoints: 0
55
+
56
+ metadata:
57
+ category: "Backend"
58
+ difficulty: "intermediate"
59
+ recommendedFor: ["API development", "Microservices", "REST APIs"]
60
+ estimationGuidelines: "Based on typical backend development workflows"
@@ -0,0 +1,44 @@
1
+ version: "1.0"
2
+ name: "Bug Fix"
3
+ description: "Standard bug investigation and resolution workflow"
4
+ author: "Atomize"
5
+ tags: ["bug", "fix"]
6
+
7
+ filter:
8
+ workItemTypes: ["Bug"]
9
+ states: ["New", "Active", "Approved"]
10
+ excludeIfHasTasks: true
11
+
12
+ tasks:
13
+ - title: "Investigate & Reproduce: ${story.title}"
14
+ description: "Investigate root cause and create reproduction steps"
15
+ estimationPercent: 30
16
+ activity: "Development"
17
+ tags: ["investigation"]
18
+
19
+ - title: "Implement Fix: ${story.title}"
20
+ description: "Fix the bug and ensure no regressions"
21
+ estimationPercent: 40
22
+ activity: "Development"
23
+ tags: ["implementation"]
24
+
25
+ - title: "Test & Verify"
26
+ description: "Verify fix works and add regression tests"
27
+ estimationPercent: 20
28
+ activity: "Testing"
29
+ tags: ["testing", "verification"]
30
+
31
+ - title: "Review & Deploy"
32
+ description: "Code review and prepare for deployment"
33
+ estimationPercent: 10
34
+ activity: "Documentation"
35
+ tags: ["review"]
36
+
37
+ estimation:
38
+ strategy: "percentage"
39
+ rounding: "nearest"
40
+
41
+ metadata:
42
+ category: "Maintenance"
43
+ difficulty: "beginner"
44
+ recommendedFor: ["Bug fixes", "Hotfixes", "Production issues"]