@akm1923main/init-project 1.0.0 → 1.2.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.
Files changed (39) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +348 -27
  3. package/index.js +27 -22
  4. package/package.json +16 -4
  5. package/templates/02_Skills/agents/Architect.md +149 -289
  6. package/templates/02_Skills/agents/Business_Analyst.md +97 -103
  7. package/templates/02_Skills/agents/Deployment_Engineer.md +125 -222
  8. package/templates/02_Skills/agents/DevOps_Engineer.md +119 -219
  9. package/templates/02_Skills/agents/Documentation_Writer.md +172 -237
  10. package/templates/02_Skills/agents/Helper_Agent.md +258 -0
  11. package/templates/02_Skills/agents/Idea_Analyst.md +99 -108
  12. package/templates/02_Skills/agents/Master_Orchestrator.md +243 -108
  13. package/templates/02_Skills/agents/Performance_Engineer.md +122 -162
  14. package/templates/02_Skills/agents/Product_Manager.md +101 -137
  15. package/templates/02_Skills/agents/Refactor_Specialist.md +307 -6
  16. package/templates/02_Skills/agents/Security_Engineer.md +178 -253
  17. package/templates/02_Skills/agents/Staff_Engineer.md +200 -204
  18. package/templates/02_Skills/agents/Testing_Engineer.md +155 -206
  19. package/templates/02_Skills/workflows/architecture_generation_workflow.md +92 -25
  20. package/templates/02_Skills/workflows/business_analysis_workflow.md +69 -25
  21. package/templates/02_Skills/workflows/deployment_workflow.md +97 -12
  22. package/templates/02_Skills/workflows/devops_setup_workflow.md +97 -10
  23. package/templates/02_Skills/workflows/documentation_workflow.md +84 -280
  24. package/templates/02_Skills/workflows/idea_refinement_workflow.md +77 -52
  25. package/templates/02_Skills/workflows/performance_review_workflow.md +98 -10
  26. package/templates/02_Skills/workflows/prd_generation_workflow.md +85 -34
  27. package/templates/02_Skills/workflows/refactor_workflow.md +106 -13
  28. package/templates/02_Skills/workflows/security_audit_workflow.md +94 -12
  29. package/templates/02_Skills/workflows/task_execution_workflow.md +129 -15
  30. package/templates/02_Skills/workflows/task_generation_workflow.md +99 -25
  31. package/templates/02_Skills/workflows/testing_workflow.md +92 -12
  32. package/templates/02_Skills/workflows/workflow_governance_rules.md +239 -63
  33. package/templates/PROJECT_README.md +277 -0
  34. package/QUICKSTART_CREATE_AI_PROJECT.md +0 -52
  35. package/templates/02_Skills/Legacy_Prompts/Architecture.md +0 -72
  36. package/templates/02_Skills/Legacy_Prompts/Coding_Discipline.md +0 -283
  37. package/templates/02_Skills/Legacy_Prompts/Generate_prd.md +0 -129
  38. package/templates/02_Skills/Legacy_Prompts/IDEA.md +0 -188
  39. package/templates/02_Skills/Legacy_Prompts/Sharder.md +0 -359
@@ -1,70 +1,114 @@
1
-
2
1
  # 📊 Business Analysis Workflow (Commercial Viability Layer)
3
2
 
4
3
  ---
5
4
 
5
+ # Workflow Metadata
6
+
7
+ | Field | Value |
8
+ |-------|-------|
9
+ | **Workflow ID** | WF-02 |
10
+ | **Phase** | 02 — Business Analysis |
11
+ | **Bound Agent** | Business_Analyst |
12
+ | **Output Artifact** | `03_Project_Info/Business_Analyst/PRODUCT_ANALYSIS.md` |
13
+ | **Version** | 2.0 |
14
+
15
+ ---
16
+
6
17
  # Phase Objective
7
18
 
8
- Evaluate commercial feasibility and market positioning.
19
+ Evaluate commercial feasibility and market positioning of the refined idea.
9
20
 
10
21
  ---
11
22
 
12
- # Entry Preconditions
23
+ # 1️⃣ INITIALIZE
13
24
 
14
- - IDEA.md exists
15
- - Idea phase marked complete
25
+ 1. Read `PROJECT_STATE.md` — confirm Phase 01 complete, Phase 02 current
26
+ 2. Read `03_Project_Info/Idea_Analyst/IDEA.md`
27
+ 3. If resuming, read last `PROGRESS_LOG.md` entry
16
28
 
17
29
  ---
18
30
 
19
- # Required Artifact
31
+ # 2️⃣ VALIDATE (Entry Gate)
32
+
33
+ - [ ] `IDEA.md` exists and is complete
34
+ - [ ] Phase 01 marked complete in `PROJECT_STATE.md`
35
+ - [ ] No unresolved escalations from Phase 01
20
36
 
21
- 03_Project_Info/Business_Analyst/PRODUCT_ANALYSIS.md
37
+ If any check fails → HALT and report.
22
38
 
23
39
  ---
24
40
 
25
- # Structured Execution
41
+ # 3️⃣ EXECUTE (Structured Steps)
26
42
 
27
43
  ## Step 1: Market Research
44
+ - Market size, trends, growth signals, geographic context
28
45
 
29
- - Market size
30
- - Trends
31
- - Growth signals
46
+ **Acceptance Criteria:** Market context defined with supporting evidence.
32
47
 
33
48
  ## Step 2: Competitor Mapping
49
+ - Direct competitors, indirect substitutes, differentiation gaps
34
50
 
35
- - Direct competitors
36
- - Indirect substitutes
37
- - Differentiation gaps
51
+ **Acceptance Criteria:** At least 3 competitors identified and compared.
38
52
 
39
53
  ## Step 3: Monetization Modeling
54
+ - Who pays? Why? Revenue model options evaluated
40
55
 
41
- - Who pays?
42
- - Why?
43
- - Revenue model options
56
+ **Acceptance Criteria:** At least 2 monetization strategies evaluated.
44
57
 
45
58
  ## Step 4: SWOT Analysis
59
+ - Strengths, Weaknesses, Opportunities, Threats
46
60
 
47
- - Strengths
48
- - Weaknesses
49
- - Opportunities
50
- - Threats
61
+ **Acceptance Criteria:** All four quadrants populated with substance.
51
62
 
52
63
  ## Step 5: Risk Classification
64
+ - Classify viability: Strong / Moderate / High Risk / Weak
53
65
 
54
- Strong / Moderate / High Risk / Weak
66
+ **Acceptance Criteria:** Classification justified with evidence.
55
67
 
56
68
  ---
57
69
 
58
- # Exit Validation
70
+ # 4️⃣ VERIFY (Exit Gate)
59
71
 
60
72
  - [ ] Market defined
61
73
  - [ ] Competition listed
62
74
  - [ ] Monetization evaluated
75
+ - [ ] SWOT completed
63
76
  - [ ] Risks classified
64
77
  - [ ] Viability conclusion justified
78
+ - [ ] No technical architecture discussed
79
+
80
+ If any check fails → revisit corresponding step.
81
+
82
+ ---
83
+
84
+ # 5️⃣ CLOSE
85
+
86
+ 1. Finalize `03_Project_Info/Business_Analyst/PRODUCT_ANALYSIS.md`
87
+ 2. Recommend: `Product_Manager` (if viable) or suggest pivot (if weak)
88
+
89
+ ---
90
+
91
+ # 6️⃣ STATE SYNC
92
+
93
+ 1. Update `PROJECT_STATE.md`:
94
+ - Phase 02: Completed
95
+ - Viability: <classification>
96
+ - Next: Product_Manager (Phase 03)
97
+
98
+ 2. Append to `04_Tasks/PROGRESS_LOG.md`:
99
+ ```
100
+ ## <date>
101
+ Phase 02: Business Analysis — Completed.
102
+ Agent: Business_Analyst
103
+ Viability: <Strong/Moderate/High Risk/Weak>
104
+ Next: Product_Manager (Phase 03)
105
+ ```
65
106
 
66
107
  ---
67
108
 
68
- # State Update
109
+ # Resume Logic
69
110
 
70
- Update state and recommend PRD generation.
111
+ If interrupted:
112
+ - Check if PRODUCT_ANALYSIS.md partially exists
113
+ - Resume from last incomplete step
114
+ - Do NOT restart research from scratch
@@ -1,31 +1,116 @@
1
+ # 🚀 Deployment Workflow (Platform-Specific Execution Layer)
1
2
 
2
- # 🚀 Deployment Workflow (Platform-Specific)
3
+ ---
4
+
5
+ # Workflow Metadata
6
+
7
+ | Field | Value |
8
+ |-------|-------|
9
+ | **Workflow ID** | WF-11 |
10
+ | **Phase** | 11 — Deployment |
11
+ | **Bound Agent** | Deployment_Engineer |
12
+ | **Output Artifact** | `03_Project_Info/Deployment_Engineer/DEPLOYMENT_GUIDE_<PLATFORM>.md` |
13
+ | **Version** | 2.0 |
3
14
 
4
15
  ---
5
16
 
6
- # Entry Preconditions
17
+ # Phase Objective
7
18
 
8
- - DevOps plan complete
9
- - Platform specified
19
+ Transform DevOps strategy into platform-specific, step-by-step deployment instructions.
10
20
 
11
21
  ---
12
22
 
13
- # Structured Execution
23
+ # 1️⃣ INITIALIZE
14
24
 
15
- ## Step 1: Compatibility validation
25
+ 1. Read `PROJECT_STATE.md` confirm Phase 10 complete
26
+ 2. Read Architecture, DevOps Plan, Security Audit, Performance Report
27
+ 3. Determine target platform (ask user if not specified)
28
+ 4. If resuming, read last `PROGRESS_LOG.md` entry
16
29
 
17
- ## Step 2: Web research
30
+ ---
18
31
 
19
- ## Step 3: Step-by-step guide construction
32
+ # 2️⃣ VALIDATE (Entry Gate)
20
33
 
21
- ## Step 4: Troubleshooting section
34
+ - [ ] DevOps plan complete (Phase 10)
35
+ - [ ] Platform specified by user
36
+ - [ ] Architecture available
37
+ - [ ] No critical unresolved issues
22
38
 
23
- ## Step 5: Rollback definition
39
+ If any check fails → HALT.
24
40
 
25
41
  ---
26
42
 
27
- # Exit Validation
43
+ # 3️⃣ EXECUTE (Structured Steps)
44
+
45
+ ## Step 1: Compatibility Validation
46
+ - Validate platform supports required runtime, DB, workers, WebSockets
47
+
48
+ **Acceptance Criteria:** Compatibility assessment documented.
49
+
50
+ ## Step 2: Web Research
51
+ - Research platform-specific documentation, best practices, constraints
52
+
53
+ **Acceptance Criteria:** Platform documentation referenced with current information.
54
+
55
+ ## Step 3: Step-by-Step Guide Construction
56
+ - Create detailed deployment steps with exact commands, UI paths, validation methods
57
+
58
+ **Acceptance Criteria:** Each step includes command, expected output, common mistakes.
59
+
60
+ ## Step 4: Troubleshooting Section
61
+ - Document common issues and resolution steps
62
+
63
+ **Acceptance Criteria:** At least 5 common issues documented with solutions.
64
+
65
+ ## Step 5: Rollback Definition
66
+ - Platform-specific revert procedure
67
+
68
+ **Acceptance Criteria:** Rollback procedure documented with exact steps.
69
+
70
+ ## Step 6: Cost & Production Notes
71
+ - Free tier limits, cost warnings, production hardening
72
+
73
+ **Acceptance Criteria:** Cost awareness documented, production checklist complete.
28
74
 
29
- - [ ] Deployment steps complete
75
+ ---
76
+
77
+ # 4️⃣ VERIFY (Exit Gate)
78
+
79
+ - [ ] Deployment steps complete and specific
30
80
  - [ ] Troubleshooting included
31
81
  - [ ] Rollback included
82
+ - [ ] Cost notes included
83
+ - [ ] Production checklist included
84
+ - [ ] Readiness classified
85
+ - [ ] No code modified
86
+
87
+ ---
88
+
89
+ # 5️⃣ CLOSE
90
+
91
+ 1. Finalize deployment guide
92
+ 2. Mark pipeline COMPLETE
93
+ 3. Optionally recommend: `Refactor_Specialist` or `Documentation_Writer`
94
+
95
+ ---
96
+
97
+ # 6️⃣ STATE SYNC
98
+
99
+ 1. Update `PROJECT_STATE.md`
100
+ 2. Append to `04_Tasks/PROGRESS_LOG.md`:
101
+ ```
102
+ ## <date>
103
+ Phase 11: Deployment — Completed.
104
+ Agent: Deployment_Engineer
105
+ Platform: <platform>
106
+ Readiness: <classification>
107
+ Pipeline Status: COMPLETE
108
+ ```
109
+
110
+ ---
111
+
112
+ # Resume Logic
113
+
114
+ If interrupted:
115
+ - Check which guide sections exist
116
+ - Resume from first incomplete section
@@ -1,30 +1,117 @@
1
+ # 🚀 DevOps Setup Workflow (Operational Automation Layer)
1
2
 
2
- # 🚀 DevOps Setup Workflow
3
+ ---
4
+
5
+ # Workflow Metadata
6
+
7
+ | Field | Value |
8
+ |-------|-------|
9
+ | **Workflow ID** | WF-10 |
10
+ | **Phase** | 10 — DevOps Planning |
11
+ | **Bound Agent** | DevOps_Engineer |
12
+ | **Output Artifact** | `03_Project_Info/DevOps_Engineer/DEVOPS_PLAN.md` |
13
+ | **Version** | 2.0 |
3
14
 
4
15
  ---
5
16
 
6
- # Entry Preconditions
17
+ # Phase Objective
7
18
 
8
- - Performance reviewed
19
+ Define CI/CD, containerization, infrastructure, and operational automation strategy.
9
20
 
10
21
  ---
11
22
 
12
- # Structured Execution
23
+ # 1️⃣ INITIALIZE
13
24
 
14
- ## Step 1: Environment modeling
25
+ 1. Read `PROJECT_STATE.md` confirm Phase 09 complete
26
+ 2. Read Architecture, Performance Report, Security Audit
27
+ 3. If resuming, read last `PROGRESS_LOG.md` entry
15
28
 
16
- ## Step 2: CI/CD pipeline modeling
29
+ ---
17
30
 
18
- ## Step 3: Containerization strategy
31
+ # 2️⃣ VALIDATE (Entry Gate)
19
32
 
20
- ## Step 4: Rollback strategy
33
+ - [ ] Performance reviewed (Phase 09)
34
+ - [ ] Architecture available
35
+ - [ ] Security audit available
36
+ - [ ] No critical unresolved issues
21
37
 
22
- ## Step 5: Production checklist
38
+ If any check fails → HALT.
23
39
 
24
40
  ---
25
41
 
26
- # Exit Validation
42
+ # 3️⃣ EXECUTE (Structured Steps)
43
+
44
+ ## Step 1: Environment Modeling
45
+ - Define Local, Dev, Staging, Production environments
46
+ - Define config isolation and data separation
47
+
48
+ **Acceptance Criteria:** All environments defined with isolation strategy.
49
+
50
+ ## Step 2: CI/CD Pipeline Modeling
51
+ - Define pipeline stages from checkout to production deploy
52
+ - Define trigger conditions, branch strategy, failure behavior
53
+
54
+ **Acceptance Criteria:** Pipeline fully defined with all stages.
55
+
56
+ ## Step 3: Containerization Strategy
57
+ - Define Docker usage, multi-stage builds, image optimization
58
+
59
+ **Acceptance Criteria:** Containerization approach documented (or justification for not using).
60
+
61
+ ## Step 4: Rollback Strategy
62
+ - Define blue-green or rolling deployment
63
+ - Define rollback triggers and procedure
64
+
65
+ **Acceptance Criteria:** Rollback mechanism clearly defined.
66
+
67
+ ## Step 5: Secrets & Config Strategy
68
+ - Define env var handling, secret storage, rotation
69
+
70
+ **Acceptance Criteria:** No hardcoded secrets path documented.
71
+
72
+ ## Step 6: Production Checklist
73
+ - Complete production readiness checklist
74
+
75
+ **Acceptance Criteria:** All checklist items addressed.
76
+
77
+ ---
78
+
79
+ # 4️⃣ VERIFY (Exit Gate)
27
80
 
28
81
  - [ ] CI/CD defined
82
+ - [ ] Environments defined
29
83
  - [ ] Rollback defined
30
84
  - [ ] Secrets externalized
85
+ - [ ] Monitoring defined
86
+ - [ ] Production checklist complete
87
+ - [ ] No code modified
88
+
89
+ ---
90
+
91
+ # 5️⃣ CLOSE
92
+
93
+ 1. Finalize `03_Project_Info/DevOps_Engineer/DEVOPS_PLAN.md`
94
+ 2. Recommend: `Deployment_Engineer`
95
+
96
+ ---
97
+
98
+ # 6️⃣ STATE SYNC
99
+
100
+ 1. Update `PROJECT_STATE.md`
101
+ 2. Append to `04_Tasks/PROGRESS_LOG.md`:
102
+ ```
103
+ ## <date>
104
+ Phase 10: DevOps Planning — Completed.
105
+ Agent: DevOps_Engineer
106
+ CI/CD: Defined
107
+ Maturity: <classification>
108
+ Next: Deployment_Engineer (Phase 11)
109
+ ```
110
+
111
+ ---
112
+
113
+ # Resume Logic
114
+
115
+ If interrupted:
116
+ - Check which DevOps plan sections exist
117
+ - Resume from first incomplete section