@codedrifters/configulator 0.0.173 → 0.0.174
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.js +58 -0
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +58 -0
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -705,6 +705,64 @@ var githubWorkflowBundle = {
|
|
|
705
705
|
].join("\n"),
|
|
706
706
|
tags: ["workflow"]
|
|
707
707
|
},
|
|
708
|
+
{
|
|
709
|
+
name: "create-issue-workflow",
|
|
710
|
+
description: "Automated workflow for creating a new GitHub issue",
|
|
711
|
+
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
712
|
+
content: [
|
|
713
|
+
"# Create Issue Workflow",
|
|
714
|
+
"",
|
|
715
|
+
'## "Create an issue" Automation',
|
|
716
|
+
"",
|
|
717
|
+
"When the user says **create an issue** (or similar), follow these steps exactly:",
|
|
718
|
+
"",
|
|
719
|
+
"1. **Determine the issue type prefix** from the user's description:",
|
|
720
|
+
" - `epic:` \u2014 Large initiatives spanning multiple child issues",
|
|
721
|
+
" - `feat:` \u2014 New features or functionality",
|
|
722
|
+
" - `fix:` \u2014 Bug fixes",
|
|
723
|
+
" - `chore:` \u2014 Maintenance: deps, tooling, config",
|
|
724
|
+
" - `docs:` \u2014 Documentation-only work",
|
|
725
|
+
" - `refactor:` \u2014 Code restructure, no behavior change",
|
|
726
|
+
" - `release:` \u2014 Release preparation, version bumps",
|
|
727
|
+
" - `hotfix:` \u2014 Urgent production fixes",
|
|
728
|
+
" - If unclear, ask the user which type applies",
|
|
729
|
+
"2. **Compose the issue title** in the format: `<type>: <short description>`",
|
|
730
|
+
"3. **Determine the GitHub issue type** based on the prefix:",
|
|
731
|
+
" - `epic:` \u2192 Epic",
|
|
732
|
+
" - `feat:` \u2192 Feature",
|
|
733
|
+
" - `fix:` \u2192 Bug",
|
|
734
|
+
" - `chore:`, `docs:`, `refactor:`, `release:`, `hotfix:` \u2192 Task",
|
|
735
|
+
"4. **Identify prerequisite issues** \u2014 if the user mentions dependencies or blockers, include a **Dependencies** section in the body with `Depends on: #<issue-number>`",
|
|
736
|
+
"5. **Create the issue** using `gh issue create`:",
|
|
737
|
+
" - `--title '<type>: <description>'`",
|
|
738
|
+
" - `--body '<issue body>'`",
|
|
739
|
+
" - `--type '<GitHub issue type>'` (Epic, Feature, Bug, or Task)",
|
|
740
|
+
"",
|
|
741
|
+
"### Issue Body Template",
|
|
742
|
+
"",
|
|
743
|
+
"```markdown",
|
|
744
|
+
"## Summary",
|
|
745
|
+
"",
|
|
746
|
+
"<1-3 sentences describing the issue>",
|
|
747
|
+
"",
|
|
748
|
+
"## Details",
|
|
749
|
+
"",
|
|
750
|
+
"<Detailed description, acceptance criteria, or reproduction steps as appropriate>",
|
|
751
|
+
"",
|
|
752
|
+
"## Dependencies",
|
|
753
|
+
"",
|
|
754
|
+
"Depends on: #<issue-number> (if any, otherwise omit this section)",
|
|
755
|
+
"```",
|
|
756
|
+
"",
|
|
757
|
+
"### Important",
|
|
758
|
+
"",
|
|
759
|
+
"- Always use the conventional prefix in the issue title",
|
|
760
|
+
"- Always assign the correct GitHub issue type",
|
|
761
|
+
"- If the user does not specify a type, ask before creating the issue",
|
|
762
|
+
"- Keep titles concise and descriptive"
|
|
763
|
+
].join("\n"),
|
|
764
|
+
tags: ["workflow"]
|
|
765
|
+
},
|
|
708
766
|
{
|
|
709
767
|
name: "pr-workflow",
|
|
710
768
|
description: "Automated workflow for opening a pull request",
|