feat: split Claude Code project instructions into memory / rules / skills#459
Closed
akison1129 wants to merge 2 commits into
Closed
feat: split Claude Code project instructions into memory / rules / skills#459akison1129 wants to merge 2 commits into
akison1129 wants to merge 2 commits into
Conversation
Restructure the 31.9KB CLAUDE.md (~10k tokens always-on) into a 3-tier layout (~3.1k tokens always-on): - CLAUDE.md: overview, quick start, pre-commit scopes, structure map, key architecture, conventions (2.6k tokens) - .claude/rules/: git-workflow (always), uta + ui (path-scoped lazy) - .claude/skills/: uta-test-scenarios, openalice-session-start, openalice-demo-mode (loaded on invocation) Also: - .gitignore: un-ignore .claude/rules/ so rules ship to cloud sessions - docs/uta-live-testing.md: restore S1-S14 catalog (recovered from a stray sandbox clone; was referenced by CLAUDE.md but missing here) Path-scoped rule loading verified both directions via canary test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Conflict resolution: CLAUDE.md re-split against the latest upstream version (318 commits, TraderAlice#324 -> f6fb7fb). Upstream additions relocated into the 3-tier layout: - CLAUDE.md: cross-platform bootstrap.mjs/dugite section, portable data/ + global workspaces/ root model, logging convention fix (pino unused), templates list (finance-research removed) - .claude/rules/git-workflow.md: external-PR policy updated from REFUSE to quarantine-and-scan; Recognizing-contributors section added (IP-clean rule: no Co-Authored-By for humans) Verified: heading-level reconciliation of all upstream content, path-scoped rule lazy-loading both directions, /context clean.
|
@akison1129 is attempting to deploy a commit to the luokerenx4's Team Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Dear we dont accept the edits on dev workflow. You remind me to simplify the agents.md now so thanks for your help. We close the PR for recent attach from anoy github account. BUT I love your contribution. Happy to see you in our Discord or other community like QQ. : ) |
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
CLAUDE.md(~10k tokens always-loaded) into conciseproject memory (
CLAUDE.md, ~3.3k), path-scoped rules (.claude/rules/:git-workflow always-on, uta/ui lazy-loaded), and task skills
(
.claude/skills/: uta-test-scenarios, openalice-session-start, openalice-demo-mode).claude/rules/tracking (.gitignore:!.claude/rules/) so rulesship to cloud sessions like skills already do
docs/uta-live-testing.mdas the canonical UTA scenario source(S1–S14); the skill is its operational digest
upstream CLAUDE.md (external-PR quarantine-and-scan policy, contributors
section, bootstrap.mjs/dugite notes, data/+workspaces root model all preserved)
Validation
/contextshows reduced always-loaded memory (project CLAUDE.md ~10k → 3.3k + 0.9k rule)services/uta/**(canary: verbatim heading quoted)git status --shortcleanNotes
pnpm install, build, or test run — not applicable to this change🤖 Generated with Claude Code