worclaude 1.3.0 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worclaude",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "CLI tool that scaffolds a comprehensive Claude Code workflow into any project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -133,10 +133,7 @@ async function mergeSkills(projectRoot, existingScan, variables, report, selecti
133
133
  // Generated skill: agent-routing.md
134
134
  const routingFilename = 'agent-routing.md';
135
135
  const skillsDir = path.join('.claude', 'skills');
136
- const routingContent = buildAgentRoutingSkill(
137
- selections.selectedAgents,
138
- selections.projectTypes
139
- );
136
+ const routingContent = buildAgentRoutingSkill(selections.selectedAgents, selections.projectTypes);
140
137
 
141
138
  if (existingScan.existingSkills.includes(routingFilename)) {
142
139
  await writeFile(
@@ -8,7 +8,7 @@ import { AGENT_REGISTRY } from '../data/agent-registry.js';
8
8
  * @returns {string} - complete markdown content for agent-routing.md
9
9
  */
10
10
  export function buildAgentRoutingSkill(selectedAgentNames, _projectTypes) {
11
- const allAgents = [...UNIVERSAL_AGENTS, ...selectedAgentNames];
11
+ const allAgents = [...new Set([...UNIVERSAL_AGENTS, ...selectedAgentNames])];
12
12
 
13
13
  const automaticAgents = [];
14
14
  const manualAgents = [];
@@ -2,8 +2,14 @@
2
2
  2. Write a clear, conventional commit message
3
3
  3. Push to the current branch
4
4
  4. Create a PR with:
5
- - Clear title
5
+ - Clear title matching conventional commit format
6
6
  - Description of changes
7
7
  - Testing done
8
8
  - Any notes for reviewers
9
+
10
+ Branch targeting rules:
11
+
12
+ - Feature/bugfix branches → PR targets `develop` (`gh pr create --base develop`)
13
+ - When on `develop` → PR targets `main` (`gh pr create --base main`) — release merges only
14
+
9
15
  Use `gh pr create` for PR creation.
@@ -56,13 +56,26 @@ Commit after each logical unit of work:
56
56
 
57
57
  Don't batch unrelated changes into one commit. Don't commit broken code.
58
58
 
59
+ ## Branching Strategy
60
+
61
+ ```
62
+ feature-branch ──PR──▶ develop ──PR──▶ main (release)
63
+ ```
64
+
65
+ - `develop` — active development. Contributors fork, branch from `develop`, and PR back to `develop`.
66
+ - `main` — production releases. Maintainer-only, merged from `develop`.
67
+ - `gh-pages` — auto-deployed docs. Maintainer-only.
68
+
69
+ All feature/bugfix branches are created from and merged back into `develop`. Never PR directly to `main`.
70
+
59
71
  ## PR Workflow
60
72
 
61
73
  1. Push your branch
62
- 2. Create PR with `gh pr create`
63
- 3. PR title follows same format as commit subject: `type(scope): description`
64
- 4. PR body includes: what changed, why, how to test, anything reviewers should know
65
- 5. Request review if the project has reviewers configured
74
+ 2. Create PR with `gh pr create --base develop` (feature/bugfix branches target `develop`)
75
+ 3. When on `develop`, PR targets `main`: `gh pr create --base main` (release merges only)
76
+ 4. PR title follows same format as commit subject: `type(scope): description`
77
+ 5. PR body includes: what changed, why, how to test, anything reviewers should know
78
+ 6. Request review if the project has reviewers configured
66
79
 
67
80
  ## Squash vs Merge
68
81