@codedrifters/configulator 0.0.172 → 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 CHANGED
@@ -371,6 +371,7 @@ var awsCdkBundle = {
371
371
  ' objectKey: "mock-asset-key.zip",',
372
372
  " },",
373
373
  " }),",
374
+ " bindToResource: () => {},",
374
375
  " } as unknown as AssetCode);",
375
376
  "});",
376
377
  "",
@@ -755,6 +756,64 @@ var githubWorkflowBundle = {
755
756
  ].join("\n"),
756
757
  tags: ["workflow"]
757
758
  },
759
+ {
760
+ name: "create-issue-workflow",
761
+ description: "Automated workflow for creating a new GitHub issue",
762
+ scope: AGENT_RULE_SCOPE.ALWAYS,
763
+ content: [
764
+ "# Create Issue Workflow",
765
+ "",
766
+ '## "Create an issue" Automation',
767
+ "",
768
+ "When the user says **create an issue** (or similar), follow these steps exactly:",
769
+ "",
770
+ "1. **Determine the issue type prefix** from the user's description:",
771
+ " - `epic:` \u2014 Large initiatives spanning multiple child issues",
772
+ " - `feat:` \u2014 New features or functionality",
773
+ " - `fix:` \u2014 Bug fixes",
774
+ " - `chore:` \u2014 Maintenance: deps, tooling, config",
775
+ " - `docs:` \u2014 Documentation-only work",
776
+ " - `refactor:` \u2014 Code restructure, no behavior change",
777
+ " - `release:` \u2014 Release preparation, version bumps",
778
+ " - `hotfix:` \u2014 Urgent production fixes",
779
+ " - If unclear, ask the user which type applies",
780
+ "2. **Compose the issue title** in the format: `<type>: <short description>`",
781
+ "3. **Determine the GitHub issue type** based on the prefix:",
782
+ " - `epic:` \u2192 Epic",
783
+ " - `feat:` \u2192 Feature",
784
+ " - `fix:` \u2192 Bug",
785
+ " - `chore:`, `docs:`, `refactor:`, `release:`, `hotfix:` \u2192 Task",
786
+ "4. **Identify prerequisite issues** \u2014 if the user mentions dependencies or blockers, include a **Dependencies** section in the body with `Depends on: #<issue-number>`",
787
+ "5. **Create the issue** using `gh issue create`:",
788
+ " - `--title '<type>: <description>'`",
789
+ " - `--body '<issue body>'`",
790
+ " - `--type '<GitHub issue type>'` (Epic, Feature, Bug, or Task)",
791
+ "",
792
+ "### Issue Body Template",
793
+ "",
794
+ "```markdown",
795
+ "## Summary",
796
+ "",
797
+ "<1-3 sentences describing the issue>",
798
+ "",
799
+ "## Details",
800
+ "",
801
+ "<Detailed description, acceptance criteria, or reproduction steps as appropriate>",
802
+ "",
803
+ "## Dependencies",
804
+ "",
805
+ "Depends on: #<issue-number> (if any, otherwise omit this section)",
806
+ "```",
807
+ "",
808
+ "### Important",
809
+ "",
810
+ "- Always use the conventional prefix in the issue title",
811
+ "- Always assign the correct GitHub issue type",
812
+ "- If the user does not specify a type, ask before creating the issue",
813
+ "- Keep titles concise and descriptive"
814
+ ].join("\n"),
815
+ tags: ["workflow"]
816
+ },
758
817
  {
759
818
  name: "pr-workflow",
760
819
  description: "Automated workflow for opening a pull request",