@sppg2001/atomize 0.0.1 → 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/package.json CHANGED
@@ -1,81 +1,86 @@
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.0",
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
+ ],
22
+ "scripts": {
23
+ "dev": "bun run src/cli/index.ts",
24
+ "build": "bun run typecheck && bun 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",
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 --coverage-reporter=lcov",
34
+ "typecheck": "tsc --noEmit",
35
+ "validate": "bun run src/cli/index.ts validate",
36
+ "validate:package": "test -d dist && test -f dist/cli/index.js && test -d templates/presets",
37
+ "check": "bun typecheck && bun test",
38
+ "lint": "bunx biome check --max-diagnostics 100",
39
+ "lint:fix": "bunx biome check --fix --max-diagnostics 100"
40
+ },
41
+ "keywords": [
42
+ "devops",
43
+ "azure-devops",
44
+ "task-automation",
45
+ "task-generation",
46
+ "agile",
47
+ "scrum",
48
+ "sprint-planning",
49
+ "cli",
50
+ "automation",
51
+ "productivity"
52
+ ],
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/Simao-Pereira-Gomes/atomize.git"
56
+ },
57
+ "bugs": {
58
+ "url": "https://github.com/Simao-Pereira-Gomes/atomize/issues"
59
+ },
60
+ "author": "Simão Pereira Gomes",
61
+ "license": "MIT",
62
+ "devDependencies": {
63
+ "@biomejs/biome": "2.3.11",
64
+ "@types/bun": "1.3.5",
65
+ "@types/inquirer": "^9.0.9",
66
+ "@types/node": "^25.0.3"
67
+ },
68
+ "peerDependencies": {
69
+ "typescript": "^5.9.3"
70
+ },
71
+ "dependencies": {
72
+ "@google/generative-ai": "^0.24.1",
73
+ "azure-devops-node-api": "^15.1.2",
74
+ "chalk": "^5.6.2",
75
+ "commander": "^14.0.2",
76
+ "dotenv": "^17.2.3",
77
+ "inquirer": "^13.1.0",
78
+ "ts-pattern": "^5.9.0",
79
+ "winston": "^3.19.0",
80
+ "yaml": "^2.8.2",
81
+ "zod": "^4.2.1"
82
+ },
83
+ "engines": {
84
+ "node": ">=18.0.0"
85
+ }
81
86
  }
@@ -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"]
@@ -0,0 +1,89 @@
1
+ version: "1.0"
2
+ name: " Custom Example"
3
+ description: "Example template for an Agile project"
4
+ author: "Atomize"
5
+ tags: []
6
+
7
+ filter:
8
+ workItemTypes: ["User Story"]
9
+ states: ["New"]
10
+ tags:
11
+ include: ["Candidate S113"]
12
+ excludeIfHasTasks: true
13
+
14
+ tasks:
15
+ - title: "Analysis & Playback"
16
+ description: "Analyze requirements and planning of necessary changes and discuss with the team."
17
+ estimationPercent: 20
18
+ activity: "Development"
19
+ tags: []
20
+
21
+ - title: "Build"
22
+ description: "Devolop the required changes in the codebase following best practices."
23
+ estimationPercent: 50
24
+ activity: "Development"
25
+ tags: []
26
+
27
+ - title: "Developer Test"
28
+ description: "Testing the changes made to ensure they meet the requirements and do not introduce new issues.Provide evidence of testing"
29
+ estimationPercent: 25
30
+ activity: "Development"
31
+ tags: []
32
+
33
+ - title: "QA Smoke Test"
34
+ description: "Ensure that main functionalities are working as expected after the deployment to the QA environment."
35
+ estimationPercent: 0
36
+ activity: "Development"
37
+ tags: []
38
+
39
+ - title: "WIKI"
40
+ description: "Update relevant documentation and WIKI pages to reflect the changes made."
41
+ estimationPercent: 5
42
+ activity: "Development"
43
+ tags: []
44
+
45
+ - title: "Code Review "
46
+ description: "Address code review feedback and refactor as needed"
47
+ estimationPercent: 0
48
+ activity: "Development"
49
+ tags: []
50
+
51
+ - title: "Test Preparation"
52
+ description: "Prepare test cases and scenarios for QA testing."
53
+ estimationPercent: 40
54
+ activity: "Testing"
55
+ tags: []
56
+
57
+ - title: "Test Execution"
58
+ description: "Execute test cases and report any defects found during testing."
59
+ estimationPercent: 27
60
+ activity: "Testing"
61
+ tags: []
62
+
63
+ - title: "Automation Testing"
64
+ description: "Develop and maintain automated test scripts to improve testing efficiency."
65
+ estimationPercent: 0
66
+ activity: "Testing"
67
+ tags: []
68
+
69
+ - title: "Test Review"
70
+ description: "Review test results and ensure all requirements are met before deployment."
71
+ estimationPercent: 0
72
+ activity: "Testing"
73
+ tags: []
74
+
75
+ - title: "Release Notes"
76
+ description: "Prepare release notes and documentation for the deployment."
77
+ estimationPercent: 0
78
+ activity: "Documentation"
79
+ tags: []
80
+
81
+ estimation:
82
+ strategy: "percentage"
83
+ rounding: "nearest"
84
+ minimumTaskPoints: 0
85
+
86
+ metadata:
87
+ category: "Agile Project"
88
+ recommendedFor: []
89
+ estimationGuidelines: "Based on possible Agile project workflow"
@@ -0,0 +1,52 @@
1
+ version: "1.0"
2
+ name: "Frontend Feature Development"
3
+ description: "UI/UX feature development with React/Vue components"
4
+ author: "Atomize"
5
+ tags: ["frontend", "ui", "react"]
6
+
7
+ filter:
8
+ workItemTypes: ["User Story"]
9
+ states: ["New", "Active", "Approved"]
10
+ tags:
11
+ include: ["frontend", "ui"]
12
+ excludeIfHasTasks: true
13
+
14
+ tasks:
15
+ - title: "UI/UX Design: ${story.title}"
16
+ description: "Create wireframes, mockups, and component designs"
17
+ estimationPercent: 15
18
+ activity: "Design"
19
+ tags: ["design", "ui"]
20
+
21
+ - title: "Component Implementation: ${story.title}"
22
+ description: "Build React/Vue components with proper state management"
23
+ estimationPercent: 40
24
+ activity: "Development"
25
+ tags: ["implementation", "react"]
26
+
27
+ - title: "Styling & Responsiveness"
28
+ description: "CSS/Tailwind styling and responsive design for mobile/tablet"
29
+ estimationPercent: 20
30
+ activity: "Development"
31
+ tags: ["css", "responsive"]
32
+
33
+ - title: "Unit & Component Tests"
34
+ description: "Jest/React Testing Library tests for components"
35
+ estimationPercent: 15
36
+ activity: "Testing"
37
+ tags: ["testing"]
38
+
39
+ - title: "Code Review & Accessibility"
40
+ description: "Review, accessibility improvements, and polish"
41
+ estimationPercent: 10
42
+ activity: "Documentation"
43
+ tags: ["review", "a11y"]
44
+
45
+ estimation:
46
+ strategy: "percentage"
47
+ rounding: "nearest"
48
+
49
+ metadata:
50
+ category: "Frontend"
51
+ difficulty: "intermediate"
52
+ recommendedFor: ["React", "Vue", "UI components"]
@@ -1,124 +0,0 @@
1
- version: "1.0"
2
- name: "Backend API Feature"
3
- description: "Standard tasks for backend API development"
4
- author: "Atomize"
5
- tags: ["backend", "api", "standard"]
6
-
7
- # Filter to identify applicable User Stories
8
- filter:
9
- workItemTypes:
10
- - "User Story"
11
- - "Product Backlog Item"
12
- states:
13
- - "New"
14
- - "Approved"
15
- - "Active"
16
- tags:
17
- include:
18
- - "backend"
19
- - "api"
20
- excludeIfHasTasks: true
21
-
22
- # Task template with estimation percentages
23
- tasks:
24
- - id: "design-api"
25
- title: "Design API Specification"
26
- description: |
27
- Design RESTful API endpoints following company standards:
28
- - Define request/response models
29
- - Document in OpenAPI/Swagger
30
- - Review with team architect
31
- estimationPercent: 10
32
- tags: ["design", "api"]
33
- activity: "Design"
34
-
35
- - id: "database-schema"
36
- title: "Database Schema Changes"
37
- description: |
38
- Design and implement database changes:
39
- - Create/update migrations
40
- - Define models and relationships
41
- - Index optimization
42
- estimationPercent: 20
43
- tags: ["database", "backend"]
44
- activity: "Development"
45
-
46
- - id: "implement-logic"
47
- title: "Implement Business Logic"
48
- description: |
49
- Core API implementation:
50
- - Implement service layer
51
- - Add validation logic
52
- - Error handling
53
- - Logging
54
- estimationPercent: 35
55
- tags: ["implementation", "backend"]
56
- activity: "Development"
57
- dependsOn:
58
- - "design-api"
59
- - "database-schema"
60
-
61
- - id: "unit-tests"
62
- title: "Unit & Integration Tests"
63
- description: |
64
- Comprehensive test coverage:
65
- - Unit tests (80%+ coverage)
66
- - Integration tests
67
- - Mock external dependencies
68
- estimationPercent: 20
69
- tags: ["testing", "quality"]
70
- activity: "Testing"
71
- dependsOn:
72
- - "implement-logic"
73
-
74
- - id: "documentation"
75
- title: "API Documentation"
76
- description: |
77
- Update documentation:
78
- - API endpoint documentation
79
- - Update README
80
- - Code comments
81
- - Postman collection
82
- estimationPercent: 5
83
- tags: ["documentation"]
84
- activity: "Documentation"
85
-
86
- - id: "code-review"
87
- title: "Code Review & Refinement"
88
- description: |
89
- Review and refine:
90
- - Create pull request
91
- - Address review feedback
92
- - Final testing
93
- estimationPercent: 10
94
- tags: ["review", "quality"]
95
- activity: "Design"
96
-
97
- # Estimation strategy
98
- estimation:
99
- strategy: "percentage"
100
- source: "Microsoft.VSTS.Scheduling.StoryPoints"
101
- rounding: "nearest"
102
- minimumTaskPoints: 0.5
103
-
104
- # Validation rules
105
- validation:
106
- totalEstimationMustBe: 100
107
- minTasks: 4
108
- maxTasks: 10
109
-
110
- # Metadata
111
- metadata:
112
- category: "Backend Development"
113
- difficulty: "intermediate"
114
- recommendedFor:
115
- - "API features"
116
- - "Microservices"
117
- - "Backend services"
118
- estimationGuidelines: |
119
- Use this template for stories sized 3-13 points.
120
- For larger stories, consider breaking down first.
121
- examples:
122
- - "User authentication API"
123
- - "Payment processing endpoint"
124
- - "Data export service"
@@ -1,123 +0,0 @@
1
- version: "1.0"
2
- name: "Frontend React Feature"
3
- description: "Standard tasks for React component development"
4
- author: "Atomize"
5
- tags: ["frontend", "react", "ui"]
6
-
7
- filter:
8
- workItemTypes:
9
- - "User Story"
10
- states:
11
- - "New"
12
- - "Approved"
13
- tags:
14
- include:
15
- - "frontend"
16
- - "react"
17
- excludeIfHasTasks: true
18
-
19
- tasks:
20
- - id: "ui-design-review"
21
- title: " UI/UX Design Review"
22
- description: |
23
- Review designs and create implementation plan:
24
- - Review Figma/design specs
25
- - Identify reusable components
26
- - Plan component hierarchy
27
- - Clarify interactions and states
28
- estimationPercent: 10
29
- tags: ["design", "planning"]
30
- activity: "Design"
31
-
32
- - id: "component-structure"
33
- title: "Component Structure & Setup"
34
- description: |
35
- Set up component architecture:
36
- - Create component files
37
- - Define props interfaces
38
- - Set up state management
39
- - Configure routing (if needed)
40
- estimationPercent: 15
41
- tags: ["setup", "architecture"]
42
- activity: "Development"
43
-
44
- - id: "component-logic"
45
- title: "Component Logic Implementation"
46
- description: |
47
- Implement core functionality:
48
- - Business logic
49
- - Event handlers
50
- - API integration
51
- - Form validation
52
- estimationPercent: 30
53
- tags: ["implementation", "logic"]
54
- activity: "Development"
55
- dependsOn:
56
- - "component-structure"
57
-
58
- - id: "styling"
59
- title: "Styling & Responsive Design"
60
- description: |
61
- Apply styles and ensure responsiveness:
62
- - CSS/Tailwind implementation
63
- - Mobile responsiveness
64
- - Theme integration
65
- - Dark mode (if applicable)
66
- estimationPercent: 20
67
- tags: ["styling", "css", "responsive"]
68
- activity: "Development"
69
-
70
- - id: "accessibility"
71
- title: "Accessibility Testing"
72
- description: |
73
- Ensure WCAG 2.1 AA compliance:
74
- - Keyboard navigation
75
- - Screen reader testing
76
- - ARIA labels
77
- - Color contrast
78
- - Focus management
79
- estimationPercent: 10
80
- tags: ["accessibility", "a11y", "quality"]
81
- activity: "Testing"
82
-
83
- - id: "component-tests"
84
- title: "Component Testing"
85
- description: |
86
- Write comprehensive tests:
87
- - Jest unit tests
88
- - React Testing Library
89
- - Test user interactions
90
- - Snapshot tests
91
- estimationPercent: 15
92
- tags: ["testing", "quality"]
93
- activity: "Testing"
94
- dependsOn:
95
- - "component-logic"
96
-
97
- # Estimation configuration
98
- estimation:
99
- strategy: "percentage"
100
- source: "Microsoft.VSTS.Scheduling.StoryPoints"
101
- rounding: "nearest"
102
- minimumTaskPoints: 0.5
103
-
104
- # Validation
105
- validation:
106
- totalEstimationMustBe: 100
107
- minTasks: 4
108
-
109
- # Metadata
110
- metadata:
111
- category: "Frontend Development"
112
- difficulty: "intermediate"
113
- recommendedFor:
114
- - "React components"
115
- - "UI features"
116
- - "User interfaces"
117
- estimationGuidelines: |
118
- Best for stories sized 3-8 points.
119
- Complex UIs with animations may need additional tasks.
120
- examples:
121
- - "User profile page"
122
- - "Data table component"
123
- - "Form wizard"