docs: add Claude Code token efficiency playbook#1
Merged
Conversation
…5088) Merged via squash. Prepared head SHA: 99eb3fd Co-authored-by: velvet-shark <[email protected]> Co-authored-by: velvet-shark <[email protected]> Reviewed-by: @velvet-shark
Auto-updates docs/repo-map.json exports and dependencies when src/ or extensions/ .ts files are committed. Preserves existing purpose fields, removes deleted files, adds new files with empty purpose. Regex-based extraction, no dependencies.
Arry8
added a commit
that referenced
this pull request
Mar 15, 2026
* fix(node-host): harden pnpm approval binding * fix(node-host): harden perl approval binding * docs(plugins): clarify workspace shadowing * fix(ui): keep shared auth on insecure control-ui connects (openclaw#45088) Merged via squash. Prepared head SHA: 99eb3fd Co-authored-by: velvet-shark <[email protected]> Co-authored-by: velvet-shark <[email protected]> Reviewed-by: @velvet-shark * docs: add Claude Code token efficiency playbook * docs: compress playbook for agent consumption * docs: restructure playbook for long-context patterns * pre-commit: add incremental repo-map updater Auto-updates docs/repo-map.json exports and dependencies when src/ or extensions/ .ts files are committed. Preserves existing purpose fields, removes deleted files, adds new files with empty purpose. Regex-based extraction, no dependencies. --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Radek Sienkiewicz <[email protected]> Co-authored-by: velvet-shark <[email protected]>
Arry8
added a commit
that referenced
this pull request
Mar 16, 2026
* fix(node-host): harden pnpm approval binding * fix(node-host): harden perl approval binding * docs(plugins): clarify workspace shadowing * fix(ui): keep shared auth on insecure control-ui connects (openclaw#45088) Merged via squash. Prepared head SHA: 99eb3fd Co-authored-by: velvet-shark <[email protected]> Co-authored-by: velvet-shark <[email protected]> Reviewed-by: @velvet-shark * docs: add Claude Code token efficiency playbook * docs: compress playbook for agent consumption * docs: restructure playbook for long-context patterns * pre-commit: add incremental repo-map updater Auto-updates docs/repo-map.json exports and dependencies when src/ or extensions/ .ts files are committed. Preserves existing purpose fields, removes deleted files, adds new files with empty purpose. Regex-based extraction, no dependencies. --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Radek Sienkiewicz <[email protected]> Co-authored-by: velvet-shark <[email protected]>
Arry8
added a commit
that referenced
this pull request
Mar 23, 2026
* fix(node-host): harden pnpm approval binding * fix(node-host): harden perl approval binding * docs(plugins): clarify workspace shadowing * fix(ui): keep shared auth on insecure control-ui connects (openclaw#45088) Merged via squash. Prepared head SHA: 99eb3fd Co-authored-by: velvet-shark <[email protected]> Co-authored-by: velvet-shark <[email protected]> Reviewed-by: @velvet-shark * docs: add Claude Code token efficiency playbook * docs: compress playbook for agent consumption * docs: restructure playbook for long-context patterns * pre-commit: add incremental repo-map updater Auto-updates docs/repo-map.json exports and dependencies when src/ or extensions/ .ts files are committed. Preserves existing purpose fields, removes deleted files, adds new files with empty purpose. Regex-based extraction, no dependencies. --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Radek Sienkiewicz <[email protected]> Co-authored-by: velvet-shark <[email protected]>
Arry8
added a commit
that referenced
this pull request
Mar 29, 2026
* fix(node-host): harden pnpm approval binding * fix(node-host): harden perl approval binding * docs(plugins): clarify workspace shadowing * fix(ui): keep shared auth on insecure control-ui connects (openclaw#45088) Merged via squash. Prepared head SHA: 99eb3fd Co-authored-by: velvet-shark <[email protected]> Co-authored-by: velvet-shark <[email protected]> Reviewed-by: @velvet-shark * docs: add Claude Code token efficiency playbook * docs: compress playbook for agent consumption * docs: restructure playbook for long-context patterns * pre-commit: add incremental repo-map updater Auto-updates docs/repo-map.json exports and dependencies when src/ or extensions/ .ts files are committed. Preserves existing purpose fields, removes deleted files, adds new files with empty purpose. Regex-based extraction, no dependencies. --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Radek Sienkiewicz <[email protected]> Co-authored-by: velvet-shark <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/claude-workflow.md) adapted to TypeScript/pnpm/Vitest/OpenClaw stack, structured with<context>/<rules>XML tags following Anthropic's long-context prompt engineering patternsdocs/repo-map.json) mapping coresrc/modules to purpose, exports, and dependencies — enables file discovery without directory scanningdocs/architecture_summary.md) covering modules, channel architecture, skill system, build pipeline, and data flowsprompts/) for implement-issue, debug-issue, write-test, refactor, and review-diff workflowsscripts/run-issue.sh) — issue to PR pipeline using Haiku for decomposition and Sonnet for implementationAGENTS.md+ coding style additions (descriptive identifiers, comment guidelines, boundary-only error handling)Test plan
CLAUDE.mdsymlink resolves toAGENTS.mddocs/repo-map.jsonis valid JSONdocs/claude-workflow.mdcontains zero .NET/C# referencesscripts/run-issue.shusespnpm build/pnpm testchmod +x scripts/run-issue.sh(needs manual run)