claude-code-personal-workspace
CLAUDE.md4 starsChanged 28 days agoISCView on GitHub
This is a personal workspace for Claude Code to assist with various daily tasks including programming, documentation, research, consultation, translation, and generative-AI development. Package Manager: This workspace uses pnpm 12.14.0, pinned in package.json via packageManager (Corepack). Always use pnpm commands instead of npm; run corepack enable or prefix commands with corepack pnpm if pnpm is not on your PATH. Why Context Management Matters: Quality degrades at 20-40% usage, long before a window is full. The actual window depends on the…
- Installs packages
In this repository7 other files it gives its agents.
- context-managerSkill
- dependency-updateSkill
- document-writingSkill
- engineering-terminologySkill
- security-updateSkill
- translation-expertiseSkill
- web-browsingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Use external memory: - Write plans and progress into the task directory: tasks/<task-name-yymmdd>/plan.md and NOTES.md.
- Distinctive: line 21
The copy-paste reset: - When context gets bloated:
- Very specific: line 23
Run /compact to summarize
- Very specific: line 24
Run /clear to wipe context
- Very specific: line 27
Know when to clear: - If explaining the same thing 3+ times, /clear and reframe.
- Distinctive: line 44
Run these before finishing a change:
- Very specific: line 57
Ask for a translation, or invoke the trilingual-translator agent directly.
- Very specific: line 61
Use WebFetch for simple pages.
- Distinctive: line 65
Verify a third-party skill's runtime before invoking it.
- Very specific: line 74
Do not use pnpm add -g: its global bin directory is not on PATH, and global installs bypass the workspace lockfile and supply-chain …
- Distinctive: line 82
If a runtime is missing, tell the user what to install rather than silently switching tools.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Repository Purpose
This is a personal workspace for Claude Code to assist with various daily tasks including programming, documentation, research, consultation, translation, and generative-AI development.
Package Manager: This workspace uses pnpm 12.14.0, pinned in package.json via packageManager (Corepack). Always use pnpm commands instead of npm; run corepack enable or prefix commands with corepack pnpm if pnpm is not on your PATH.
Context Management
Why Context Management Matters: Quality degrades at 20-40% usage, long before a window is full. The actual window depends on the model (1M tokens by default; set CLAUDE_CONTEXT_WINDOW to override). A UserPromptSubmit hook (.claude/hooks/context_monitor.js) measures real usage from the transcript and injects [Context Monitor] warnings at 20/40/60%, so act on those warnings rather than estimating from message counts.
Best Practices:
- Scope conversations per feature - One conversation per task/feature prevents context bleeding. Don't build auth and refactor database in the same session.
- Use external memory - Write plans and progress into the task directory:
tasks/<task-name-yymmdd>/plan.mdandNOTES.md. These persist across sessions, allowing fresh context with preserved knowledge. - The copy-paste reset - When context gets bloated:
- Copy important info from terminal
- Run
/compactto summarize - Run
/clearto wipe context - Paste back only what matters
- Know when to clear - If explaining the same thing 3+ times,
/clearand reframe. Fresh context > fighting through degraded context. - Write plans to a file - For complex tasks, outline the approach in
tasks/<task-name-yymmdd>/plan.md. It survives context resets and keeps the implementation focused.
External Memory Files:
tasks/<task-name-yymmdd>/plan.md- Implementation plan and design decisionstasks/<task-name-yymmdd>/NOTES.md- Progress, findings, and handoff notes
Model Selection: important! use inherit model from the main session
Task Organization
Conventions for creating outputs (task directories under tasks/, content subdirectories, file naming) live in .claude/rules/task-organization.md.
Quality Checks
Run these before finishing a change:
pnpm lint
pnpm typecheck
pnpm test:coverage
pnpm format:checkAvailable Systems
Translation
Ask for a translation, or invoke the trilingual-translator agent directly. The translation-expertise skill supplies the methodology; engineering-terminology and document-writing add domain and style guidance.
Web Content
Use WebFetch for simple pages. For browser work, use the web-browsing skill and .claude/rules/browser-tools.md: pnpm exec agent-browser ... is the default for ad-hoc interaction, browser-use is for the user's real Chrome or autonomous/cloud work, and Playwright is e2e-only (e2e/*.e2e.*, pnpm test:e2e).
Skill Runtimes
Verify a third-party skill's runtime before invoking it. Full install notes are in README.md
under "Skill runtime prerequisites".
agent-browser— devDependency; always invoke aspnpm exec agent-browser ...(no global shim is installed)browser-use—browser-useCLI from thebrowser-usepackage (uv tool install --python 3.12 browser-use); it depends onbrowser-harnessfor troubleshootingplaywright-cli— local Playwright (pnpm exec playwright cli ...)skill-creator— Python scripts viauv run --with pyyaml --python 3.12 python ...gh— GitHub CLI for Dependabot PR review and PR attachments; not installed here (https://cli.github.com/)
Do not use pnpm add -g: its global bin directory is not on PATH, and global installs bypass the
workspace lockfile and supply-chain settings.
Third-party skills are not committed. Install them with pnpm skills:install (use --skip <name>
to omit optional skills, or --only <name> to select specific ones); third-party installs land in
.claude/skills/ and remain untracked. After installing or updating them, run
pnpm skills:check to verify every lock entry is installed with a matching frontmatter name.
If a runtime is missing, tell the user what to install rather than silently switching tools.
Additional Documentation
Task Memory:
tasks/<task-name-yymmdd>/plan.md- Implementation plan and design decisionstasks/<task-name-yymmdd>/NOTES.md- Progress, findings, and handoff notes
Quick Reference:
- Context degradation starts at 20-40%, not 100% - manage proactively
- Record complex plans in the task's
plan.mdso they survive context resets - Task files under
tasks/persist across sessions /clearwithout hesitation - fresh context beats degraded context
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

