worclaude 1.3.8 → 1.4.0
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,8 +1,15 @@
|
|
|
1
1
|
1. Update docs/spec/PROGRESS.md with what was completed this session
|
|
2
|
-
2.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
2. **Version bump (only when on `develop` targeting `main`):**
|
|
3
|
+
- Check what changed since last version using the versioning policy in git-conventions.md
|
|
4
|
+
- Template or CLI behavior changes → patch bump
|
|
5
|
+
- New command/feature → minor bump
|
|
6
|
+
- Breaking change → major bump
|
|
7
|
+
- Only docs/CI/tests/PROGRESS.md → no bump needed
|
|
8
|
+
- If bump needed: update `version` in package.json
|
|
9
|
+
3. Stage all changes: git add -A
|
|
10
|
+
4. Write a clear, conventional commit message
|
|
11
|
+
5. Push to the current branch
|
|
12
|
+
6. Create a PR with:
|
|
6
13
|
- Clear title matching conventional commit format
|
|
7
14
|
- Description of changes
|
|
8
15
|
- Testing done
|
|
@@ -15,11 +15,14 @@
|
|
|
15
15
|
## Skills (read on demand, not upfront)
|
|
16
16
|
See `.claude/skills/` — load only what's relevant:
|
|
17
17
|
- context-management.md — Session lifecycle
|
|
18
|
-
-
|
|
18
|
+
- claude-md-maintenance.md — CLAUDE.md self-healing
|
|
19
|
+
- git-conventions.md — Commits, branches, versioning
|
|
19
20
|
- planning-with-files.md — Implementation planning
|
|
21
|
+
- prompt-engineering.md — Prompting patterns and quality
|
|
20
22
|
- review-and-handoff.md — Session endings
|
|
21
23
|
- verification.md — How to verify work
|
|
22
24
|
- testing.md — Test philosophy and patterns
|
|
25
|
+
- subagent-usage.md — When and how to use subagents
|
|
23
26
|
- agent-routing.md — When and how to use each installed agent (READ EVERY SESSION)
|
|
24
27
|
{project_specific_skills}
|
|
25
28
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Branch naming, commit message format, PR workflow, worktree conventions"
|
|
2
|
+
description: "Branch naming, commit message format, PR workflow, worktree conventions, versioning policy"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Git Conventions
|
|
@@ -97,6 +97,29 @@ When using `git worktree` for parallel work:
|
|
|
97
97
|
Agents that use worktree isolation (code-simplifier, test-writer, ci-fixer, etc.)
|
|
98
98
|
create and clean up their own worktrees automatically.
|
|
99
99
|
|
|
100
|
+
## Versioning Policy
|
|
101
|
+
|
|
102
|
+
Follow [semver](https://semver.org/) when the project publishes releases:
|
|
103
|
+
|
|
104
|
+
| What changed | Bump | Example |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| Bug fix, patch to existing behavior | **patch** | Fixed edge case in date parser |
|
|
107
|
+
| New feature, command, or API surface | **minor** | Added CSV export option |
|
|
108
|
+
| Breaking change to public API or CLI | **major** | Renamed config key, removed flag |
|
|
109
|
+
| Only docs, CI, tests, internal refactor | **no bump** | Updated README, added test |
|
|
110
|
+
|
|
111
|
+
**Publish from the primary branch (usually `main`),** not from feature or development branches. What is published must always match what is on the release branch.
|
|
112
|
+
|
|
113
|
+
**When to bump:** Include the version change in the same PR as the work — no separate "bump version" commits after the fact.
|
|
114
|
+
|
|
115
|
+
**How to publish:**
|
|
116
|
+
1. Merge the release PR into `main`
|
|
117
|
+
2. Pull locally: `git checkout main && git pull`
|
|
118
|
+
3. Publish using your ecosystem's tool (`npm publish`, `cargo publish`, `twine upload`, etc.)
|
|
119
|
+
4. Sync develop: `git checkout develop && git merge main && git push origin develop`
|
|
120
|
+
|
|
121
|
+
**Rule of thumb:** If the change affects what users see, install, or depend on, it needs a version bump. If it only affects the project's internal development workflow, it does not.
|
|
122
|
+
|
|
100
123
|
## Gotchas
|
|
101
124
|
|
|
102
125
|
- Never force-push to main/master. Force-push to feature branches only when you
|