@codedrifters/configulator 0.0.171 → 0.0.172

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
@@ -745,11 +745,11 @@ var githubWorkflowBundle = {
745
745
  "4. **Create a branch** following the naming convention: `<type>/<issue-number>-<issue-slug>` (e.g., `feat/42-add-login`)",
746
746
  "5. **Checkout the branch** locally",
747
747
  "6. **Link the branch to the issue** by posting a comment: `gh issue comment <number> --body 'Branch: \\`<branch-name>\\`'`",
748
- "7. **Stop and wait** for user instructions \u2014 do **NOT** start implementing",
748
+ "7. **Create an implementation plan** \u2014 analyze the issue requirements, explore the relevant codebase, and present a plan for the user to approve before starting any implementation",
749
749
  "",
750
750
  "### Important",
751
751
  "",
752
- "- Never begin implementation without explicit user direction",
752
+ "- Never begin implementation without the user approving the plan",
753
753
  "- If the issue title has no conventional prefix, default to `feat/`",
754
754
  "- Keep the slug short (3-5 words max, kebab-case)"
755
755
  ].join("\n"),
@@ -767,17 +767,23 @@ var githubWorkflowBundle = {
767
767
  "When the user says **open a PR** (or similar), follow these steps exactly:",
768
768
  "",
769
769
  "1. **Check for uncommitted changes** \u2014 if any exist, commit them with a conventional commit message",
770
- "2. **Push the branch** to origin: `git push -u origin <branch>`",
771
- "3. **Create the PR** using `gh pr create`:",
770
+ "2. **Pull and rebase from the default branch** \u2014 run `git pull origin {{repository.defaultBranch}} --rebase` to incorporate the latest changes and resolve any conflicts before pushing",
771
+ "3. **Push the branch** to origin: `git push -u origin <branch>`",
772
+ "4. **Create the PR** using `gh pr create`:",
772
773
  " - **Title**: use a conventional commit style title (e.g., `feat(scope): short description`)",
773
774
  " - **Body**: include `Closes #<issue-number>` (derived from the branch name) and a brief summary of changes",
774
- "4. **Display merge dialog text** for the user to copy-paste when merging:",
775
+ "5. **Enable auto-merge with squash** \u2014 use `gh pr merge --auto --squash` with the merge commit message:",
775
776
  "",
776
777
  "```",
777
- "Commit message:",
778
- "<conventional-commit-title>",
778
+ "gh pr merge --auto --squash --subject '<conventional-commit-title>' --body '<extended-description>'",
779
+ "```",
780
+ "",
781
+ "The merge commit message should follow this format:",
782
+ "",
783
+ "```",
784
+ "Subject: <conventional-commit-title>",
779
785
  "",
780
- "Extended description:",
786
+ "Body:",
781
787
  "- Bullet points summarizing the changes",
782
788
  "- Closes #<issue-number>",
783
789
  "```",
@@ -801,7 +807,7 @@ var githubWorkflowBundle = {
801
807
  "",
802
808
  "- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
803
809
  "- Use conventional commit format for the PR title",
804
- "- Do not merge the PR \u2014 only create it and display the merge text"
810
+ "- Always enable auto-merge with squash \u2014 do not merge manually"
805
811
  ].join("\n"),
806
812
  tags: ["workflow"]
807
813
  }