@codedrifters/configulator 0.0.169 → 0.0.171

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
@@ -592,7 +592,7 @@ var baseBundle = {
592
592
  },
593
593
  {
594
594
  name: "branch-naming-conventions",
595
- description: "Branch format (type/[issue-]description), create-on-GitHub-then-fetch workflow",
595
+ description: "Branch format (type/issue-description), create-on-GitHub-then-fetch workflow",
596
596
  scope: AGENT_RULE_SCOPE.ALWAYS,
597
597
  content: [
598
598
  "# Branch Naming Conventions",
@@ -600,19 +600,19 @@ var baseBundle = {
600
600
  "## Format",
601
601
  "",
602
602
  "```",
603
- "<type>/[<issue>-]<description>",
603
+ "<type>/<issue-number>-<issue-slug>",
604
604
  "```",
605
605
  "",
606
606
  "- **type** (required): One of `feat`, `fix`, `docs`, `chore`, `refactor`, `release`, `hotfix`",
607
- "- **issue** (optional): Issue number (e.g., `25`). Include when known.",
608
- "- **description** (required): Short, lowercase, kebab-case summary",
607
+ "- **issue-number** (required): The GitHub issue number (e.g., `25`)",
608
+ "- **issue-slug** (required): Short, lowercase, kebab-case summary derived from the issue title",
609
609
  "",
610
610
  "## Examples",
611
611
  "",
612
612
  "- `feat/25-add-cursor-rules`",
613
613
  "- `fix/23-rename-cursor-rules-mdc`",
614
- "- `chore/upgrade-eslint`",
615
- "- `docs/update-readme`"
614
+ "- `chore/42-upgrade-eslint`",
615
+ "- `docs/18-update-readme`"
616
616
  ].join("\n"),
617
617
  tags: ["workflow"]
618
618
  },
@@ -691,7 +691,7 @@ var githubWorkflowBundle = {
691
691
  " - `chore:` / `refactor:` \u2192 `chore/`",
692
692
  " - `test:` \u2192 `test/`",
693
693
  " - No prefix \u2192 `feat/`",
694
- "4. **Create a branch** following the naming convention: `<type>/<short-slug>-<issue-number>` (e.g., `feat/add-login-42`)",
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
697
  "7. **Stop and wait** for user instructions \u2014 do **NOT** start implementing",
@@ -748,7 +748,7 @@ var githubWorkflowBundle = {
748
748
  "",
749
749
  "### Important",
750
750
  "",
751
- "- Always derive the issue number from the branch name (e.g., `feat/add-login-42` \u2192 `#42`)",
751
+ "- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
752
752
  "- Use conventional commit format for the PR title",
753
753
  "- Do not merge the PR \u2014 only create it and display the merge text"
754
754
  ].join("\n"),