worclaude 2.2.5 → 2.3.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/CHANGELOG.md +97 -0
- package/README.md +102 -74
- package/package.json +7 -2
- package/src/commands/doctor.js +507 -104
- package/src/commands/init.js +103 -19
- package/src/core/detector.js +34 -10
- package/src/core/merger.js +48 -3
- package/src/core/scaffolder.js +58 -1
- package/src/data/agents.js +5 -0
- package/src/index.js +2 -1
- package/src/prompts/claude-md-merge.js +5 -0
- package/templates/agents/universal/build-validator.md +23 -0
- package/templates/agents/universal/code-simplifier.md +11 -0
- package/templates/agents/universal/plan-reviewer.md +39 -0
- package/templates/agents/universal/test-writer.md +25 -0
- package/templates/agents/universal/verify-app.md +12 -0
- package/templates/commands/build-fix.md +5 -0
- package/templates/commands/commit-push-pr.md +6 -0
- package/templates/commands/compact-safe.md +5 -0
- package/templates/commands/conflict-resolver.md +5 -0
- package/templates/commands/end.md +10 -0
- package/templates/commands/learn.md +33 -0
- package/templates/commands/refactor-clean.md +10 -0
- package/templates/commands/review-changes.md +5 -0
- package/templates/commands/review-plan.md +5 -0
- package/templates/commands/setup.md +5 -0
- package/templates/commands/start.md +10 -0
- package/templates/commands/status.md +5 -0
- package/templates/commands/sync.md +5 -0
- package/templates/commands/techdebt.md +5 -0
- package/templates/commands/test-coverage.md +5 -0
- package/templates/commands/update-claude-md.md +5 -0
- package/templates/commands/verify.md +11 -0
- package/templates/core/agents-md.md +25 -0
- package/templates/core/claude-md.md +17 -0
- package/templates/hooks/README.md +106 -0
- package/templates/hooks/correction-detect.cjs +48 -0
- package/templates/hooks/examples/prompt-hook-commit-validator.json +16 -0
- package/templates/hooks/learn-capture.cjs +179 -0
- package/templates/hooks/pre-compact-save.cjs +60 -0
- package/templates/hooks/skill-hint.cjs +66 -0
- package/templates/memory/decisions.md +11 -0
- package/templates/memory/preferences.md +17 -0
- package/templates/settings/base.json +56 -8
- package/templates/skills/templates/backend-conventions.md +1 -0
- package/templates/skills/templates/frontend-design-system.md +1 -0
- package/templates/skills/templates/project-patterns.md +1 -0
- package/templates/skills/universal/coding-principles.md +60 -0
- package/templates/skills/universal/context-management.md +21 -0
- package/templates/skills/universal/planning-with-files.md +11 -0
- package/templates/skills/universal/verification.md +18 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to worclaude are documented in this file. Format loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow [semver](https://semver.org/). Older releases (pre-2.3.0) are documented in [docs/spec/PROGRESS.md](./docs/spec/PROGRESS.md) and the [GitHub releases page](https://github.com/sefaertunc/Worclaude/releases).
|
|
4
|
+
|
|
5
|
+
## [2.3.0] — 2026-04-15
|
|
6
|
+
|
|
7
|
+
Worclaude 2.3.0 expands the workflow from a setup scaffold into a full **learning system**: Claude captures corrections automatically, replays them across sessions, and now generates cross-tool rule files so switching from Claude Code to Cursor or Codex does not mean re-writing your conventions. Eight lifecycle hooks (up from three) plus a dedicated `coding-principles` reference card tighten the feedback loop between you and Claude.
|
|
8
|
+
|
|
9
|
+
### Learning loop: capture once, replay everywhere
|
|
10
|
+
|
|
11
|
+
- New `/learn <rule>` slash command writes rules to `.claude/learnings/{category}.md` with structured YAML frontmatter. Trigger phrases (`remember this`, `learn this`, `save this rule`) also invoke it.
|
|
12
|
+
- New `correction-detect.cjs` hook (UserPromptSubmit) watches for correction signals in your prompts — "no, that's wrong", "you forgot", "actually, …" — and surfaces a suggestion to capture the correction as a `[LEARN]` block.
|
|
13
|
+
- New `learn-capture.cjs` hook (Stop) scans the session transcript for `[LEARN]` blocks and persists them automatically, updating `.claude/learnings/index.json`.
|
|
14
|
+
- SessionStart hook now reloads the most recent learnings on every session start, so rules you captured last week are already in context when you open Claude today.
|
|
15
|
+
- Learnings are gitignored by default — personal to the developer, not shared. Promote a learning into CLAUDE.md when it matures into a team-wide rule.
|
|
16
|
+
|
|
17
|
+
### Hook lifecycle: 3 → 8 events
|
|
18
|
+
|
|
19
|
+
- **PreCompact** — new emergency git snapshot to `.claude/sessions/` before auto-compaction, so context truncation never loses in-flight state.
|
|
20
|
+
- **UserPromptSubmit** — correction detection (above) + skill-hint matcher that surfaces relevant installed skills based on token overlap with your prompt.
|
|
21
|
+
- **Stop** — learning capture (above) and desktop notification.
|
|
22
|
+
- **SessionEnd / Notification** — quiet-by-default session-end and tool-use alerts.
|
|
23
|
+
- Existing `SessionStart`, `PostToolUse`, `PostCompact` hooks retained and enriched.
|
|
24
|
+
|
|
25
|
+
### Cross-tool compatibility: AGENTS.md
|
|
26
|
+
|
|
27
|
+
- `worclaude init` now writes `AGENTS.md` alongside `CLAUDE.md`. Cursor, OpenAI Codex, GitHub Copilot, and other tools read `AGENTS.md`; Claude Code reads `CLAUDE.md`. Both are generated from the same source, so switching tools does not require maintaining parallel rule files.
|
|
28
|
+
- `worclaude upgrade` and `/sync` regenerate `AGENTS.md` when `CLAUDE.md` changes.
|
|
29
|
+
- `worclaude doctor` verifies `AGENTS.md` exists and flags drift.
|
|
30
|
+
|
|
31
|
+
### New universal skill: `coding-principles`
|
|
32
|
+
|
|
33
|
+
- Karpathy-derived reference card covering four behavioral principles: **Think Before Coding** (state assumptions, surface ambiguity), **Simplicity First** (minimum code, no speculative abstractions), **Surgical Changes** (touch only what traces to the request), **Goal-Driven Execution** (define success criteria up front, close the feedback loop before committing).
|
|
34
|
+
- Three new critical rules (10–12 in the scaffolded CLAUDE.md) enforce these principles at the always-loaded layer.
|
|
35
|
+
|
|
36
|
+
### Agent enrichment (all 25 agents)
|
|
37
|
+
|
|
38
|
+
Every agent template now includes:
|
|
39
|
+
|
|
40
|
+
- **Confidence thresholds** for when to spawn vs defer
|
|
41
|
+
- **Worked examples** showing input → output shape
|
|
42
|
+
- **Verification depth levels** (quick check vs full audit)
|
|
43
|
+
- **Severity classification** for findings
|
|
44
|
+
- New frontmatter fields: `tools`, `effort`, `color`, `permissionMode`, `mcpServers`, per-agent `hooks`, `criticalSystemReminder`, `skills`, `initialPrompt`, `memory`.
|
|
45
|
+
|
|
46
|
+
### Skill enrichment (all 12 universal skills)
|
|
47
|
+
|
|
48
|
+
- **Must-Haves Contract** (planning-with-files) — lists non-negotiable elements of a good implementation plan.
|
|
49
|
+
- **Gate Taxonomy** (verification) — classifies verification gates by cost and confidence.
|
|
50
|
+
- **Context Budget Tiers** (context-management) — explicit budgets for main-session vs subagent context.
|
|
51
|
+
- `version: "1.0.0"` frontmatter on all universal + template skills for future migration tracking.
|
|
52
|
+
|
|
53
|
+
### Command enrichment (17 slash commands)
|
|
54
|
+
|
|
55
|
+
- **Trigger phrases** — every command template declares natural-language triggers (e.g., `/learn` triggers on "remember this", "save this rule").
|
|
56
|
+
- **`$ARGUMENTS` placeholders** — `/start`, `/end`, `/verify`, `/refactor-clean` now support explicit arguments.
|
|
57
|
+
|
|
58
|
+
### Doctor improvements
|
|
59
|
+
|
|
60
|
+
- **Hook-event validation** — flags invalid event names, deprecated events, and hook handlers referencing nonexistent scripts. `BLOCKING_BY_DESIGN_EVENTS` set correctly exempts events (SessionStart, PreToolUse, etc.) that must be blocking by design and should not be flagged as needing `async: true`.
|
|
61
|
+
- **CLAUDE.md line budget check** — fails at the 200-line threshold so the always-loaded file stays lean.
|
|
62
|
+
- **Deprecated-model check** — warns when agents reference models scheduled for retirement.
|
|
63
|
+
- **Learnings integrity check** — validates `index.json` parses, referenced files exist, no orphans, frontmatter is well-formed.
|
|
64
|
+
- **Gitignore coverage** — verifies `.claude/sessions/`, `.claude/learnings/`, and backup directories are properly ignored.
|
|
65
|
+
|
|
66
|
+
### `plugin.json` generation (opt-in)
|
|
67
|
+
|
|
68
|
+
- `worclaude init` can now write a Claude Code plugin manifest. Useful for publishing your scaffolded workflow as a shareable plugin.
|
|
69
|
+
- Paired with `templates/hooks/README.md` and a `disableSkillShellExecution` awareness note on shell-heavy skill templates.
|
|
70
|
+
|
|
71
|
+
### GTD memory scaffold (opt-in)
|
|
72
|
+
|
|
73
|
+
- Optional structured-memory layer at `docs/memory/decisions.md` and `docs/memory/preferences.md` for teams that want a more explicit GTD-style capture than `.claude/learnings/` provides.
|
|
74
|
+
|
|
75
|
+
### Other
|
|
76
|
+
|
|
77
|
+
- Template version fields synced: all skill templates carry `version: "1.0.0"`.
|
|
78
|
+
- `$ARGUMENTS` placeholder added to `/start`, `/end`, `/verify`, `/refactor-clean` templates so their argument descriptions match the actual runtime substitution.
|
|
79
|
+
- 497 tests across 31 test files (up from 383 / 26).
|
|
80
|
+
|
|
81
|
+
### Upgrade notes
|
|
82
|
+
|
|
83
|
+
Upgrading from 2.2.x:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
npm install -g worclaude@latest
|
|
87
|
+
cd your-project
|
|
88
|
+
worclaude upgrade
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
`worclaude upgrade` preserves your customizations via the partial-hash update fixed in 2.2.5. New templates (coding-principles skill, /learn command, four hook scripts, AGENTS.md) land automatically; files you modified stay untouched. Run `worclaude doctor` after upgrade to verify everything registered.
|
|
92
|
+
|
|
93
|
+
If you have customizations to files that changed in 2.3.0, `upgrade` saves the new templates as `.workflow-ref.md` sidecars for manual reconciliation — see the [Upgrading guide](https://sefaertunc.github.io/Worclaude/guide/upgrading) for the reconciliation flow.
|
|
94
|
+
|
|
95
|
+
### Breaking changes
|
|
96
|
+
|
|
97
|
+
None. All 2.3.0 changes are additive.
|
package/README.md
CHANGED
|
@@ -1,100 +1,106 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/worclaude.png" alt="Worclaude — The Workflow Layer for Claude Code" width="100%" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/worclaude"><img src="https://img.shields.io/npm/v/worclaude" alt="npm version" /></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/worclaude"><img src="https://img.shields.io/npm/dm/worclaude" alt="downloads" /></a>
|
|
8
|
+
<a href="https://github.com/sefaertunc/Worclaude/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/sefaertunc/Worclaude/ci.yml?label=tests" alt="tests" /></a>
|
|
9
|
+
<a href="LICENSE"><img src="https://img.shields.io/github/license/sefaertunc/Worclaude" alt="license" /></a>
|
|
10
|
+
<img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen" alt="node >= 18" />
|
|
11
|
+
<img src="https://img.shields.io/badge/built%20for-Claude%20Code-cc785c" alt="Built for Claude Code" />
|
|
12
|
+
</p>
|
|
4
13
|
|
|
5
|
-
|
|
6
|
-
|
|
14
|
+
<p align="center">
|
|
15
|
+
<a href="https://github.com/sponsors/sefaertunc"><img src="https://img.shields.io/badge/GitHub%20Sponsors-support-ea4aaa?logo=githubsponsors&style=for-the-badge" alt="GitHub Sponsors" height="40" /></a>
|
|
16
|
+
|
|
17
|
+
<a href="https://buymeacoffee.com/sefaertunc"><img src="https://img.shields.io/badge/Buy%20Me%20a%20Coffee-support-yellow?logo=buymeacoffee&style=for-the-badge" alt="Buy Me a Coffee" height="40" /></a>
|
|
18
|
+
</p>
|
|
7
19
|
|
|
8
|
-
|
|
9
|
-
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="https://sefaertunc.github.io/Worclaude/">Documentation</a> ·
|
|
22
|
+
<a href="https://www.npmjs.com/package/worclaude">npm</a> ·
|
|
23
|
+
<a href="https://github.com/sefaertunc/Worclaude/issues">Issues</a>
|
|
24
|
+
</p>
|
|
10
25
|
|
|
11
|
-
|
|
26
|
+
# Worclaude — The Workflow Layer for Claude Code
|
|
12
27
|
|
|
13
|
-
Worclaude scaffolds a complete Claude Code workflow into any project in seconds.
|
|
28
|
+
Worclaude scaffolds a complete Claude Code workflow into any project in seconds. One `init` command installs 25 agents, 17 slash commands, 16 skills, 8 lifecycle hooks, a two-store memory system, and a CLAUDE.md template tuned for your tech stack. It implements the patterns in [howborisusesclaudecode.com](https://www.howborisusesclaudecode.com/) as a reusable, upgradable scaffold, so you stop rebuilding the same configuration for every new project.
|
|
14
29
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## What You Get
|
|
30
|
+
<div align="center">
|
|
18
31
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
32
|
+
| CLI Commands | Agents | Slash Commands | Skills | Hooks | Tech Stacks |
|
|
33
|
+
| :----------: | :-----------------------: | :------------: | :-------------------: | :--------------: | :-----------: |
|
|
34
|
+
| 8 | 5 universal + 20 optional | 17 | 16 | 8 events | 16 |
|
|
35
|
+
| subcommands | across 6 categories | session tools | universal + templates | lifecycle events | auto-detected |
|
|
22
36
|
|
|
23
|
-
|
|
24
|
-
- 20 optional across 6 categories: Backend, Frontend, DevOps, Quality, Documentation, Data/AI
|
|
37
|
+
</div>
|
|
25
38
|
|
|
26
|
-
|
|
27
|
-
`/start` `/end` `/commit-push-pr` `/review-plan` `/techdebt` `/verify` `/compact-safe` `/status` `/update-claude-md` `/setup` `/sync` `/conflict-resolver` `/review-changes` `/build-fix` `/refactor-clean` `/test-coverage`
|
|
39
|
+
---
|
|
28
40
|
|
|
29
|
-
|
|
41
|
+
## What You Get
|
|
30
42
|
|
|
31
|
-
|
|
32
|
-
- 3 project-specific templates filled in by `/setup`
|
|
33
|
-
- 1 generated agent routing guide (dynamically built from your agent selection)
|
|
43
|
+
`worclaude init` installs a production-ready Claude Code workflow:
|
|
34
44
|
|
|
35
|
-
|
|
45
|
+
### Agents (25 total)
|
|
36
46
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- PostCompact re-injection (re-reads key files after compaction)
|
|
40
|
-
- Stop notifications (desktop alert when Claude finishes)
|
|
41
|
-
- Hook profiles (`WORCLAUDE_HOOK_PROFILE`) — minimal, standard, or strict
|
|
47
|
+
- **5 universal:** plan-reviewer (Opus), code-simplifier (Sonnet, worktree), test-writer (Sonnet, worktree), build-validator (Haiku), verify-app (Sonnet, worktree)
|
|
48
|
+
- **20 optional** across 6 categories — Backend, Frontend, DevOps, Quality, Documentation, Data/AI. Worclaude recommends agents based on your project type.
|
|
42
49
|
|
|
43
|
-
|
|
50
|
+
### Slash Commands (17)
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
- CLAUDE.md template with progressive disclosure
|
|
47
|
-
- Sandbox, effort, and output defaults ready out of the box
|
|
52
|
+
Session lifecycle, review, verification, memory, and git automation:
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+
`/start` `/end` `/commit-push-pr` `/review-plan` `/techdebt` `/verify` `/compact-safe` `/status` `/update-claude-md` `/learn` `/setup` `/sync` `/conflict-resolver` `/review-changes` `/build-fix` `/refactor-clean` `/test-coverage`
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
### Skills (16)
|
|
52
57
|
|
|
53
|
-
|
|
58
|
+
- **12 universal** — context-management, git-conventions, planning-with-files, review-and-handoff, prompt-engineering, verification, testing, claude-md-maintenance, coding-principles, subagent-usage, security-checklist, coordinator-mode
|
|
59
|
+
- **3 project templates** filled in automatically by `/setup` — backend-conventions, frontend-design-system, project-patterns
|
|
60
|
+
- **1 generated** — agent-routing, dynamically built from your agent selections
|
|
54
61
|
|
|
55
|
-
|
|
62
|
+
Skills use Claude Code's directory format (`skill-name/SKILL.md`) and support **conditional activation** via path globs, so Claude only carries knowledge relevant to the current file.
|
|
56
63
|
|
|
57
|
-
|
|
58
|
-
- Agents include `description` frontmatter and register with `/agents`
|
|
59
|
-
- Run `worclaude doctor` to verify everything is wired up correctly
|
|
64
|
+
### Hooks (8 lifecycle events)
|
|
60
65
|
|
|
61
|
-
|
|
66
|
+
Worclaude scaffolds hooks across the full Claude Code lifecycle:
|
|
62
67
|
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
68
|
+
- **SessionStart** — auto-loads CLAUDE.md, PROGRESS.md, last session summary, and recent learnings
|
|
69
|
+
- **PostToolUse** — auto-formats code after every edit, using the right formatter for your stack
|
|
70
|
+
- **PostCompact** — re-reads key files after context compaction so Claude stays oriented
|
|
71
|
+
- **PreCompact** — emergency git snapshot before auto-compaction
|
|
72
|
+
- **UserPromptSubmit** — detects correction signals and suggests skills based on prompt content
|
|
73
|
+
- **Stop** — extracts `[LEARN]` blocks from the transcript and persists them to disk
|
|
74
|
+
- **SessionEnd / Notification** — quiet-by-default session-end and desktop alerts
|
|
66
75
|
|
|
67
|
-
|
|
76
|
+
Three profiles via `WORCLAUDE_HOOK_PROFILE`: `minimal` (context hooks only), `standard` (all hooks, default), `strict` (standard + TypeScript checking on every edit).
|
|
68
77
|
|
|
69
|
-
|
|
70
|
-
- Background execution for long-running agents (verify-app, build-validator, e2e-runner)
|
|
71
|
-
- Turn limits (`maxTurns`) prevent runaway token consumption
|
|
72
|
-
- Persistent memory for agents that learn across sessions (test-writer, security-reviewer, doc-writer)
|
|
78
|
+
### Learnings System
|
|
73
79
|
|
|
74
|
-
|
|
80
|
+
A personal, gitignored store at `.claude/learnings/` captures corrections and rules Claude picks up mid-session and replays them at the start of future sessions. The `correction-detect.cjs` and `learn-capture.cjs` hooks do this automatically; the `/learn` slash command is the explicit capture path. Unlike CLAUDE.md (shared rules, in git), learnings are yours — useful for personal conventions that should not leak into the repo. Promote a learning to CLAUDE.md when it matures into something every contributor should follow.
|
|
75
81
|
|
|
76
|
-
|
|
77
|
-
- Agents with `memory: project` leverage Claude Code's native memory system
|
|
78
|
-
- Enhanced verify-app agent with structured verdicts and adversarial probe requirements
|
|
79
|
-
- Per-tech-stack permission presets (16 languages)
|
|
82
|
+
### Cross-Tool Compatibility
|
|
80
83
|
|
|
81
|
-
|
|
84
|
+
`AGENTS.md` is scaffolded alongside `CLAUDE.md` as a single source of truth for Cursor, Codex, GitHub Copilot, and other AI coding tools that expect `AGENTS.md`. Switching tools does not require maintaining parallel rule files.
|
|
82
85
|
|
|
83
|
-
|
|
84
|
-
- `worclaude doctor` detects old formats and missing fields
|
|
86
|
+
### Doctor
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
`worclaude doctor` runs a four-category health check: core files (workflow-meta, CLAUDE.md, settings.json), components (agents, commands, skills, agent-routing), documentation (PROGRESS.md, SPEC.md), and integrity (file hashes, hook-event validity, deprecated models, CLAUDE.md line budget, learnings index integrity, gitignore coverage). Every check reports PASS/WARN/FAIL with actionable diagnostics.
|
|
87
89
|
|
|
88
|
-
|
|
89
|
-
- Expanded context-management, claude-md-maintenance, and coordinator-mode skills with deeper guidance
|
|
90
|
-
- Enhanced verify-app agent with mobile, database migration, and data/ML pipeline verification patterns
|
|
90
|
+
### Configuration
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
Pre-configured permissions per tech stack (Node.js, Python, Go, Rust, and 12 more), a CLAUDE.md template with progressive disclosure via skills, sandbox / effort / output defaults out of the box.
|
|
93
93
|
|
|
94
94
|
---
|
|
95
95
|
|
|
96
96
|
## Quick Start
|
|
97
97
|
|
|
98
|
+
```bash
|
|
99
|
+
npx worclaude init
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Or install globally:
|
|
103
|
+
|
|
98
104
|
```bash
|
|
99
105
|
npm install -g worclaude
|
|
100
106
|
cd your-project
|
|
@@ -103,22 +109,26 @@ worclaude init
|
|
|
103
109
|
|
|
104
110
|
Follow the interactive prompts to select your project type, tech stack, and agents. Then open Claude Code and run `/setup` to fill in your project-specific content.
|
|
105
111
|
|
|
106
|
-
For parallel tasks,
|
|
112
|
+
For parallel tasks, launch Claude with worktrees:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
claude --worktree --tmux
|
|
116
|
+
```
|
|
107
117
|
|
|
108
118
|
---
|
|
109
119
|
|
|
110
120
|
## Commands
|
|
111
121
|
|
|
112
|
-
| Command | Description
|
|
113
|
-
| ------------------- |
|
|
114
|
-
| `worclaude init` | Scaffold workflow into new or existing project
|
|
115
|
-
| `worclaude upgrade` | Update universal components to latest version
|
|
116
|
-
| `worclaude status` | Show current workflow state and
|
|
117
|
-
| `worclaude backup` | Create timestamped backup of workflow files
|
|
118
|
-
| `worclaude restore` | Restore from a previous backup
|
|
119
|
-
| `worclaude diff` | Compare current setup vs latest
|
|
120
|
-
| `worclaude delete` | Remove worclaude workflow from project
|
|
121
|
-
| `worclaude doctor` | Validate workflow installation health
|
|
122
|
+
| Command | Description |
|
|
123
|
+
| ------------------- | ----------------------------------------------------------- |
|
|
124
|
+
| `worclaude init` | Scaffold workflow into new or existing project |
|
|
125
|
+
| `worclaude upgrade` | Update universal components to the latest version |
|
|
126
|
+
| `worclaude status` | Show current workflow state, version, and npm update status |
|
|
127
|
+
| `worclaude backup` | Create a timestamped backup of workflow files |
|
|
128
|
+
| `worclaude restore` | Restore from a previous backup |
|
|
129
|
+
| `worclaude diff` | Compare current setup vs latest template |
|
|
130
|
+
| `worclaude delete` | Remove worclaude workflow from project |
|
|
131
|
+
| `worclaude doctor` | Validate workflow installation health |
|
|
122
132
|
|
|
123
133
|
The `init` command detects existing setups and merges intelligently — no data is overwritten without your confirmation. Use `upgrade` to pull in new features while preserving your customizations.
|
|
124
134
|
|
|
@@ -126,9 +136,27 @@ See the [full command reference](https://sefaertunc.github.io/Worclaude/referenc
|
|
|
126
136
|
|
|
127
137
|
---
|
|
128
138
|
|
|
139
|
+
## Why Worclaude
|
|
140
|
+
|
|
141
|
+
- **Split architecture.** CLAUDE.md stays under 200 lines for speed; detail lives in skills loaded on demand. Personal rules live in `.claude/learnings/` (gitignored); shared rules live in CLAUDE.md.
|
|
142
|
+
- **Learning loop.** Correct Claude once, it captures the rule, the next session picks it up at start — no re-stating.
|
|
143
|
+
- **Cross-tool ready.** `AGENTS.md` generated from the same source as CLAUDE.md, so your rules work in Cursor / Codex / Copilot too.
|
|
144
|
+
- **Hook profiles.** Dial strictness up or down via one environment variable. `minimal` for CI, `standard` for daily work, `strict` for type-heavy projects.
|
|
145
|
+
- **Smart merge.** Detects existing Claude Code setups and merges additively — existing files never overwritten without confirmation. Three-tier strategy: additive for missing content, safe-alongside for conflicts, interactive for CLAUDE.md.
|
|
146
|
+
- **Self-healing doctor.** Catches drift, stale hashes, deprecated models, broken learnings — before they bite.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
129
150
|
## Links
|
|
130
151
|
|
|
131
|
-
- [Full Documentation](https://sefaertunc.github.io/Worclaude/)
|
|
132
|
-
- [
|
|
152
|
+
- [Full Documentation](https://sefaertunc.github.io/Worclaude/) — VitePress site with guides and reference
|
|
153
|
+
- [npm Package](https://www.npmjs.com/package/worclaude)
|
|
154
|
+
- [GitHub Issues](https://github.com/sefaertunc/Worclaude/issues)
|
|
133
155
|
- [Contributing](CONTRIBUTING.md)
|
|
156
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
157
|
+
- [Security Policy](SECURITY.md)
|
|
134
158
|
- [License: MIT](LICENSE)
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
Built on [Boris Cherny's Claude Code tips](https://www.howborisusesclaudecode.com/). MIT licensed.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worclaude",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.3.0",
|
|
4
|
+
"description": "The Workflow Layer for Claude Code — scaffold agents, commands, skills, hooks, and memory into any project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"worclaude": "./src/index.js"
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"src/",
|
|
12
12
|
"templates/",
|
|
13
13
|
"README.md",
|
|
14
|
+
"CHANGELOG.md",
|
|
14
15
|
"LICENSE"
|
|
15
16
|
],
|
|
16
17
|
"repository": {
|
|
@@ -39,8 +40,12 @@
|
|
|
39
40
|
"keywords": [
|
|
40
41
|
"claude",
|
|
41
42
|
"claude-code",
|
|
43
|
+
"claude-code-workflow",
|
|
44
|
+
"claude-code-scaffolding",
|
|
42
45
|
"workflow",
|
|
43
46
|
"scaffolding",
|
|
47
|
+
"hooks",
|
|
48
|
+
"memory",
|
|
44
49
|
"cli",
|
|
45
50
|
"developer-tools",
|
|
46
51
|
"productivity",
|