@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.mjs CHANGED
@@ -694,11 +694,11 @@ var githubWorkflowBundle = {
694
694
  "4. **Create a branch** following the naming convention: `<type>/<issue-number>-<issue-slug>` (e.g., `feat/42-add-login`)",
695
695
  "5. **Checkout the branch** locally",
696
696
  "6. **Link the branch to the issue** by posting a comment: `gh issue comment <number> --body 'Branch: \\`<branch-name>\\`'`",
697
- "7. **Stop and wait** for user instructions \u2014 do **NOT** start implementing",
697
+ "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",
698
698
  "",
699
699
  "### Important",
700
700
  "",
701
- "- Never begin implementation without explicit user direction",
701
+ "- Never begin implementation without the user approving the plan",
702
702
  "- If the issue title has no conventional prefix, default to `feat/`",
703
703
  "- Keep the slug short (3-5 words max, kebab-case)"
704
704
  ].join("\n"),
@@ -716,17 +716,23 @@ var githubWorkflowBundle = {
716
716
  "When the user says **open a PR** (or similar), follow these steps exactly:",
717
717
  "",
718
718
  "1. **Check for uncommitted changes** \u2014 if any exist, commit them with a conventional commit message",
719
- "2. **Push the branch** to origin: `git push -u origin <branch>`",
720
- "3. **Create the PR** using `gh pr create`:",
719
+ "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",
720
+ "3. **Push the branch** to origin: `git push -u origin <branch>`",
721
+ "4. **Create the PR** using `gh pr create`:",
721
722
  " - **Title**: use a conventional commit style title (e.g., `feat(scope): short description`)",
722
723
  " - **Body**: include `Closes #<issue-number>` (derived from the branch name) and a brief summary of changes",
723
- "4. **Display merge dialog text** for the user to copy-paste when merging:",
724
+ "5. **Enable auto-merge with squash** \u2014 use `gh pr merge --auto --squash` with the merge commit message:",
724
725
  "",
725
726
  "```",
726
- "Commit message:",
727
- "<conventional-commit-title>",
727
+ "gh pr merge --auto --squash --subject '<conventional-commit-title>' --body '<extended-description>'",
728
+ "```",
729
+ "",
730
+ "The merge commit message should follow this format:",
731
+ "",
732
+ "```",
733
+ "Subject: <conventional-commit-title>",
728
734
  "",
729
- "Extended description:",
735
+ "Body:",
730
736
  "- Bullet points summarizing the changes",
731
737
  "- Closes #<issue-number>",
732
738
  "```",
@@ -750,7 +756,7 @@ var githubWorkflowBundle = {
750
756
  "",
751
757
  "- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
752
758
  "- Use conventional commit format for the PR title",
753
- "- Do not merge the PR \u2014 only create it and display the merge text"
759
+ "- Always enable auto-merge with squash \u2014 do not merge manually"
754
760
  ].join("\n"),
755
761
  tags: ["workflow"]
756
762
  }