@codedrifters/configulator 0.0.185 → 0.0.186

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/lib/index.mjs CHANGED
@@ -802,10 +802,23 @@ var githubWorkflowBundle = {
802
802
  " - `fix:` \u2192 Bug",
803
803
  " - `chore:`, `docs:`, `refactor:`, `release:`, `hotfix:` \u2192 Task",
804
804
  "4. **Identify prerequisite issues** \u2014 if the user mentions dependencies or blockers, include a **Dependencies** section in the body with `Depends on: #<issue-number>`",
805
- "5. **Create the issue** using `gh issue create`:",
805
+ "5. **Determine labels** \u2014 every issue must be created with the following labels:",
806
+ " - **`type:*`** \u2014 derived from the issue title prefix:",
807
+ " - `epic:` \u2192 `type:feat`",
808
+ " - `feat:` \u2192 `type:feat`",
809
+ " - `fix:` \u2192 `type:fix`",
810
+ " - `chore:` \u2192 `type:chore`",
811
+ " - `docs:` \u2192 `type:docs`",
812
+ " - `refactor:` \u2192 `type:refactor`",
813
+ " - `release:` \u2192 `type:release`",
814
+ " - `hotfix:` \u2192 `type:hotfix`",
815
+ ' - **`priority:*`** \u2014 infer from the user\'s description when possible (e.g., "urgent"/"critical" \u2192 `priority:critical`, "important" \u2192 `priority:high`, "minor"/"low priority" \u2192 `priority:low`). If the priority is unclear, ask the user before creating the issue. Valid values: `priority:critical`, `priority:high`, `priority:medium`, `priority:low`, `priority:trivial`',
816
+ " - **`status:ready`** \u2014 always add unless the issue has dependencies or blockers, in which case use `status:blocked`",
817
+ "6. **Create the issue** using `gh issue create`:",
806
818
  " - `--title '<type>: <description>'`",
807
819
  " - `--body '<issue body>'`",
808
820
  " - `--type '<GitHub issue type>'` (Epic, Feature, Bug, or Task)",
821
+ " - `--label '<type-label>' --label '<priority-label>' --label '<status-label>'`",
809
822
  "",
810
823
  "### Issue Body Template",
811
824
  "",
@@ -827,7 +840,9 @@ var githubWorkflowBundle = {
827
840
  "",
828
841
  "- Always use the conventional prefix in the issue title",
829
842
  "- Always assign the correct GitHub issue type",
843
+ "- Always include `type:*`, `priority:*`, and `status:*` labels",
830
844
  "- If the user does not specify a type, ask before creating the issue",
845
+ "- If the priority cannot be inferred from the description, ask the user before creating the issue",
831
846
  "- Keep titles concise and descriptive"
832
847
  ].join("\n"),
833
848
  tags: ["workflow"]