worclaude 2.2.6 → 2.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +113 -0
  2. package/README.md +114 -37
  3. package/package.json +7 -2
  4. package/src/commands/doctor.js +507 -104
  5. package/src/commands/init.js +103 -19
  6. package/src/core/detector.js +34 -10
  7. package/src/core/merger.js +48 -3
  8. package/src/core/scaffolder.js +58 -1
  9. package/src/data/agent-registry.js +17 -2
  10. package/src/data/agents.js +7 -0
  11. package/src/index.js +2 -1
  12. package/src/prompts/claude-md-merge.js +5 -0
  13. package/templates/agents/universal/build-validator.md +23 -0
  14. package/templates/agents/universal/code-simplifier.md +11 -0
  15. package/templates/agents/universal/plan-reviewer.md +39 -0
  16. package/templates/agents/universal/test-writer.md +25 -0
  17. package/templates/agents/universal/upstream-watcher.md +120 -0
  18. package/templates/agents/universal/verify-app.md +12 -0
  19. package/templates/commands/build-fix.md +5 -0
  20. package/templates/commands/commit-push-pr.md +6 -0
  21. package/templates/commands/compact-safe.md +5 -0
  22. package/templates/commands/conflict-resolver.md +5 -0
  23. package/templates/commands/end.md +10 -0
  24. package/templates/commands/learn.md +33 -0
  25. package/templates/commands/refactor-clean.md +10 -0
  26. package/templates/commands/review-changes.md +5 -0
  27. package/templates/commands/review-plan.md +5 -0
  28. package/templates/commands/setup.md +5 -0
  29. package/templates/commands/start.md +10 -0
  30. package/templates/commands/status.md +5 -0
  31. package/templates/commands/sync.md +5 -0
  32. package/templates/commands/techdebt.md +5 -0
  33. package/templates/commands/test-coverage.md +5 -0
  34. package/templates/commands/update-claude-md.md +5 -0
  35. package/templates/commands/upstream-check.md +85 -0
  36. package/templates/commands/verify.md +11 -0
  37. package/templates/core/agents-md.md +25 -0
  38. package/templates/core/claude-md.md +17 -0
  39. package/templates/hooks/README.md +106 -0
  40. package/templates/hooks/correction-detect.cjs +48 -0
  41. package/templates/hooks/examples/prompt-hook-commit-validator.json +16 -0
  42. package/templates/hooks/learn-capture.cjs +179 -0
  43. package/templates/hooks/pre-compact-save.cjs +60 -0
  44. package/templates/hooks/skill-hint.cjs +66 -0
  45. package/templates/memory/decisions.md +11 -0
  46. package/templates/memory/preferences.md +17 -0
  47. package/templates/settings/base.json +56 -8
  48. package/templates/skills/templates/backend-conventions.md +1 -0
  49. package/templates/skills/templates/frontend-design-system.md +1 -0
  50. package/templates/skills/templates/project-patterns.md +1 -0
  51. package/templates/skills/universal/coding-principles.md +60 -0
  52. package/templates/skills/universal/context-management.md +21 -0
  53. package/templates/skills/universal/planning-with-files.md +11 -0
  54. package/templates/skills/universal/verification.md +18 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,113 @@
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.4.0] — 2026-04-16
6
+
7
+ Worclaude 2.4.0 adds **upstream awareness**: every scaffolded project now ships a `/upstream-check` command and an `upstream-watcher` universal agent that consume the [anthropic-watch](https://github.com/sefaertunc/anthropic-watch) feeds at runtime (16 Anthropic sources — Claude Code releases, SDK changelogs, docs, engineering blog, status page, and more) and report what's new, what's critical, and what affects the current project. No new npm dependencies — fetching happens via `curl` inside Claude Code.
8
+
9
+ ### Added
10
+
11
+ - `/upstream-check` command (scaffolded template) — on-demand, stateless status check. Fetches `run-report.json` and `all.json`, reports source health (`Y/16 healthy`) and the 10 most recent items grouped by category, and flags items from `claude-code-releases`, `claude-code-changelog`, `npm-claude-code`, `agent-sdk-ts-changelog`, or `agent-sdk-py-changelog` as `[CRITICAL]`. Graceful fetch-failure handling.
12
+ - `upstream-watcher` universal agent — deep upstream impact analysis (Sonnet, `isolation: none`, read-only: `disallowedTools: [Edit, Write, NotebookEdit]`). Cross-references new upstream items against the project's scaffolded `.claude/` surface area (agents, commands, hooks, skills, settings) and produces a three-part report: direct impact, informational, recommended actions. Feeds fetched in parallel to bound worst-case latency by a single `--max-time`.
13
+ - Agent routing entry for `upstream-watcher` (manual trigger, Stage 1: Context, `/upstream-check` as the paired command).
14
+ - Worclaude-internal `.claude/commands/upstream-check.md` (dogfood) — same fetch/flag behavior as the scaffolded template, plus a Worclaude-specific cross-reference layer that checks each `[CRITICAL]` item against `src/data/agents.js`, `src/data/agent-registry.js`, `src/core/scaffolder.js`, `src/core/merger.js`, `templates/hooks/*.cjs`, `docs/spec/BACKLOG-v2.1.md`, `templates/skills/universal/*.md`, and `CLAUDE.md` Critical Rules. Each cross-reference classified as Action needed / No impact detected / Needs investigation.
15
+
16
+ ### Changed
17
+
18
+ - `UNIVERSAL_AGENTS` 5 → 6, `COMMAND_FILES` 17 → 18, `AGENT_REGISTRY` 25 → 26. Manifest audit tests and `init` / `merger` / `agent-routing` generator tests updated to iterate over `UNIVERSAL_AGENTS` instead of hardcoded lists — adding future universals no longer requires updating those tests.
19
+ - Stale literal counts dropped from `src/data/agent-registry.js` doc-comment and Universal section header so they stop drifting.
20
+
21
+ ## [2.3.0] — 2026-04-15
22
+
23
+ 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.
24
+
25
+ ### Learning loop: capture once, replay everywhere
26
+
27
+ - 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.
28
+ - 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.
29
+ - New `learn-capture.cjs` hook (Stop) scans the session transcript for `[LEARN]` blocks and persists them automatically, updating `.claude/learnings/index.json`.
30
+ - 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.
31
+ - 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.
32
+
33
+ ### Hook lifecycle: 3 → 8 events
34
+
35
+ - **PreCompact** — new emergency git snapshot to `.claude/sessions/` before auto-compaction, so context truncation never loses in-flight state.
36
+ - **UserPromptSubmit** — correction detection (above) + skill-hint matcher that surfaces relevant installed skills based on token overlap with your prompt.
37
+ - **Stop** — learning capture (above) and desktop notification.
38
+ - **SessionEnd / Notification** — quiet-by-default session-end and tool-use alerts.
39
+ - Existing `SessionStart`, `PostToolUse`, `PostCompact` hooks retained and enriched.
40
+
41
+ ### Cross-tool compatibility: AGENTS.md
42
+
43
+ - `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.
44
+ - `worclaude upgrade` and `/sync` regenerate `AGENTS.md` when `CLAUDE.md` changes.
45
+ - `worclaude doctor` verifies `AGENTS.md` exists and flags drift.
46
+
47
+ ### New universal skill: `coding-principles`
48
+
49
+ - 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).
50
+ - Three new critical rules (10–12 in the scaffolded CLAUDE.md) enforce these principles at the always-loaded layer.
51
+
52
+ ### Agent enrichment (all 25 agents)
53
+
54
+ Every agent template now includes:
55
+
56
+ - **Confidence thresholds** for when to spawn vs defer
57
+ - **Worked examples** showing input → output shape
58
+ - **Verification depth levels** (quick check vs full audit)
59
+ - **Severity classification** for findings
60
+ - New frontmatter fields: `tools`, `effort`, `color`, `permissionMode`, `mcpServers`, per-agent `hooks`, `criticalSystemReminder`, `skills`, `initialPrompt`, `memory`.
61
+
62
+ ### Skill enrichment (all 12 universal skills)
63
+
64
+ - **Must-Haves Contract** (planning-with-files) — lists non-negotiable elements of a good implementation plan.
65
+ - **Gate Taxonomy** (verification) — classifies verification gates by cost and confidence.
66
+ - **Context Budget Tiers** (context-management) — explicit budgets for main-session vs subagent context.
67
+ - `version: "1.0.0"` frontmatter on all universal + template skills for future migration tracking.
68
+
69
+ ### Command enrichment (17 slash commands)
70
+
71
+ - **Trigger phrases** — every command template declares natural-language triggers (e.g., `/learn` triggers on "remember this", "save this rule").
72
+ - **`$ARGUMENTS` placeholders** — `/start`, `/end`, `/verify`, `/refactor-clean` now support explicit arguments.
73
+
74
+ ### Doctor improvements
75
+
76
+ - **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`.
77
+ - **CLAUDE.md line budget check** — fails at the 200-line threshold so the always-loaded file stays lean.
78
+ - **Deprecated-model check** — warns when agents reference models scheduled for retirement.
79
+ - **Learnings integrity check** — validates `index.json` parses, referenced files exist, no orphans, frontmatter is well-formed.
80
+ - **Gitignore coverage** — verifies `.claude/sessions/`, `.claude/learnings/`, and backup directories are properly ignored.
81
+
82
+ ### `plugin.json` generation (opt-in)
83
+
84
+ - `worclaude init` can now write a Claude Code plugin manifest. Useful for publishing your scaffolded workflow as a shareable plugin.
85
+ - Paired with `templates/hooks/README.md` and a `disableSkillShellExecution` awareness note on shell-heavy skill templates.
86
+
87
+ ### GTD memory scaffold (opt-in)
88
+
89
+ - 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.
90
+
91
+ ### Other
92
+
93
+ - Template version fields synced: all skill templates carry `version: "1.0.0"`.
94
+ - `$ARGUMENTS` placeholder added to `/start`, `/end`, `/verify`, `/refactor-clean` templates so their argument descriptions match the actual runtime substitution.
95
+ - 497 tests across 31 test files (up from 383 / 26).
96
+
97
+ ### Upgrade notes
98
+
99
+ Upgrading from 2.2.x:
100
+
101
+ ```bash
102
+ npm install -g worclaude@latest
103
+ cd your-project
104
+ worclaude upgrade
105
+ ```
106
+
107
+ `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.
108
+
109
+ 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.
110
+
111
+ ### Breaking changes
112
+
113
+ None. All 2.3.0 changes are additive.
package/README.md CHANGED
@@ -1,13 +1,40 @@
1
- # Worclaude
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
- > One command. Best practices baked in. Your Claude Code environment, production-ready.
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
- [![npm version](https://img.shields.io/npm/v/worclaude.svg)](https://www.npmjs.com/package/worclaude)
6
- [![license](https://img.shields.io/npm/l/worclaude.svg)](LICENSE)
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
+ &nbsp;
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
- [Full Documentation](https://sefaertunc.github.io/Worclaude/) · [npm](https://www.npmjs.com/package/worclaude)
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>
9
25
 
10
- Worclaude scaffolds a complete Claude Code workflow into any project in seconds. It implements all [tips by Boris Cherny](https://www.howborisusesclaudecode.com/) — the creator of Claude Code at Anthropic — as a reusable, upgradable scaffold. One `init` command gives you 25 agents, 16 slash commands, 15 skills, hooks, permissions, and a CLAUDE.md template tuned for your tech stack. Whether you're starting fresh or adding structure to an existing project, Worclaude handles the setup so you can focus on building.
26
+ # Worclaude The Workflow Layer for Claude Code
27
+
28
+ Worclaude scaffolds a complete Claude Code workflow into any project in seconds. One `init` command installs 26 agents, 18 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.
29
+
30
+ <div align="center">
31
+
32
+ | CLI Commands | Agents | Slash Commands | Skills | Hooks | Tech Stacks |
33
+ | :----------: | :-----------------------: | :------------: | :-------------------: | :--------------: | :-----------: |
34
+ | 8 | 6 universal + 20 optional | 18 | 16 | 8 events | 16 |
35
+ | subcommands | across 6 categories | session tools | universal + templates | lifecycle events | auto-detected |
36
+
37
+ </div>
11
38
 
12
39
  ---
13
40
 
@@ -15,38 +42,65 @@ Worclaude scaffolds a complete Claude Code workflow into any project in seconds.
15
42
 
16
43
  `worclaude init` installs a production-ready Claude Code workflow:
17
44
 
18
- **Agents (25 total)**
45
+ ### Agents (26 total)
46
+
47
+ - **6 universal:** plan-reviewer (Opus), code-simplifier (Sonnet, worktree), test-writer (Sonnet, worktree), build-validator (Haiku), verify-app (Sonnet, worktree), upstream-watcher (Sonnet)
48
+ - **20 optional** across 6 categories — Backend, Frontend, DevOps, Quality, Documentation, Data/AI. Worclaude recommends agents based on your project type.
49
+
50
+ ### Slash Commands (18)
51
+
52
+ Session lifecycle, review, verification, memory, upstream awareness, and git automation:
53
+
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` `/upstream-check`
55
+
56
+ ### Skills (16)
57
+
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
61
+
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.
63
+
64
+ ### Hooks (8 lifecycle events)
65
+
66
+ Worclaude scaffolds hooks across the full Claude Code lifecycle:
67
+
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
75
+
76
+ Three profiles via `WORCLAUDE_HOOK_PROFILE`: `minimal` (context hooks only), `standard` (all hooks, default), `strict` (standard + TypeScript checking on every edit).
19
77
 
20
- - 5 universal: plan-reviewer, code-simplifier, test-writer, build-validator, verify-app
21
- - 20 optional across 6 categories: Backend, Frontend, DevOps, Quality, Documentation, Data/AI
78
+ ### Learnings System
22
79
 
23
- **Slash Commands (16)**
24
- `/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`
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.
25
81
 
26
- **Skills (15)**
82
+ ### Cross-Tool Compatibility
27
83
 
28
- - 11 universal knowledge files (testing, git conventions, context management, security, coordinator mode, and more)
29
- - 3 project-specific templates filled in by `/setup`
30
- - 1 generated agent routing guide (dynamically built from your agent selection)
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.
31
85
 
32
- **Hooks**
86
+ ### Doctor
33
87
 
34
- - SessionStart context injection (auto-loads CLAUDE.md, PROGRESS.md, and last session on launch)
35
- - PostToolUse formatter (auto-formats on every write)
36
- - PostCompact re-injection (re-reads key files after compaction)
37
- - Stop notifications (desktop alert when Claude finishes)
38
- - Hook profiles (`WORCLAUDE_HOOK_PROFILE`) — minimal, standard, or strict
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.
39
89
 
40
- **Configuration**
90
+ ### Configuration
41
91
 
42
- - Pre-configured permissions per tech stack (Node.js, Python, Go, Rust, and more)
43
- - CLAUDE.md template with progressive disclosure
44
- - Sandbox, effort, and output defaults ready out of the box
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.
45
93
 
46
94
  ---
47
95
 
48
96
  ## Quick Start
49
97
 
98
+ ```bash
99
+ npx worclaude init
100
+ ```
101
+
102
+ Or install globally:
103
+
50
104
  ```bash
51
105
  npm install -g worclaude
52
106
  cd your-project
@@ -55,22 +109,26 @@ worclaude init
55
109
 
56
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.
57
111
 
58
- For parallel tasks, run Claude with worktrees: `claude --worktree --tmux`
112
+ For parallel tasks, launch Claude with worktrees:
113
+
114
+ ```bash
115
+ claude --worktree --tmux
116
+ ```
59
117
 
60
118
  ---
61
119
 
62
120
  ## Commands
63
121
 
64
- | Command | Description |
65
- | ------------------- | ---------------------------------------------- |
66
- | `worclaude init` | Scaffold workflow into new or existing project |
67
- | `worclaude upgrade` | Update universal components to latest version |
68
- | `worclaude status` | Show current workflow state and version |
69
- | `worclaude backup` | Create timestamped backup of workflow files |
70
- | `worclaude restore` | Restore from a previous backup |
71
- | `worclaude diff` | Compare current setup vs latest version |
72
- | `worclaude delete` | Remove worclaude workflow from project |
73
- | `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 |
74
132
 
75
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.
76
134
 
@@ -78,8 +136,27 @@ See the [full command reference](https://sefaertunc.github.io/Worclaude/referenc
78
136
 
79
137
  ---
80
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
+
81
150
  ## Links
82
151
 
83
- - [Full Documentation](https://sefaertunc.github.io/Worclaude/)
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)
84
155
  - [Contributing](CONTRIBUTING.md)
156
+ - [Code of Conduct](CODE_OF_CONDUCT.md)
157
+ - [Security Policy](SECURITY.md)
85
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.2.6",
4
- "description": "CLI tool that scaffolds a comprehensive Claude Code workflow into any project",
3
+ "version": "2.4.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",