Files
claude-howto/.gitignore
Lukasandluongnv89 48a8a40f3b docs(CLAUDE): tell Claude the user may be a learner, not a contributor (#214)
## What

- `CLAUDE.md`: new **If the user is learning** section. Unless the user
asks for a change to the repo, Claude treats the rules as maintainer
conventions, not the user's preferences, and points them to
`CLAUDE.local.md`. Once they ask for a change, commit or PR, every rule
applies in full.
- `.gitignore`: add `CLAUDE.local.md`, so learners can use it without a
dirty `git status`.

## Why

Learners cloning the repo to run `/self-assessment` or `/lesson-quiz`
currently get steered toward maintainer work (lesson edits, CLAUDE.md
fixes, commit-rule hooks).

## Checks

`pre-commit run --files CLAUDE.md .gitignore` passes. Mermaid hooks
skipped: no diagrams changed.

Closes #213

---------

Co-authored-by: luongnv89 <luongnv89@users.noreply.github.com>
2026-10-28 23:52:41 +01:00

107 lines
1.5 KiB
Plaintext

# macOS
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# IDEs
.vscode/
.idea/
*.swp
*.swo
*~
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Environment variables
.env
.env.local
.env.*.local
# Temporary files
*.tmp
*.temp
# Keep .claude/ clean for hand-on section — except project skills
.claude/*
!.claude/skills/
.claude/skills/*
!.claude/skills/self-assessment/
!.claude/skills/lesson-quiz/
blog-posts/
# Local progress tracker — HTML ships in repo, but exported JSON data files stay local
local-progress/*.json
# EPUB files in root directory
/*.epub
# Python virtual environment
.venv/
# Python cache
__pycache__/
*.py[cod]
*$py.class
*.so
.pytest_cache/
.mypy_cache/
*.egg-info/
dist/
build/
# Coverage reports
.coverage
htmlcov/
# uv lockfile
uv.lock
blog-post/
openspec/
.opencode/
# Promo video project
promo-video/
.agents/
.codex/
# Video files (too large for git)
*.mp4
update-plan*.md
site/
.gstack/
# Cached vendor binaries/assets (Tailwind CLI, Pele bundle, fonts) for the website,
# EPUB and Mermaid checks.
scripts/.vendor-cache/
# Local agent/tooling state
.asm-improver/
.gitissue/
.idd/
# Personal Claude Code instructions (learners and contributors)
CLAUDE.local.md