ClaudeHack

Latest Hacks

Page 2 of 3

  1. 25.

    Cycle into plan mode (Shift+Tab) so Claude explores and proposes an approach for approval before editing.

  2. 26.

    Put domain-specific instructions in path-scoped `.claude/rules/` so they load only when Claude touches matching files.

    0 points·13 hours ago·Claude Code / CLAUDE.md·medium·discuss
  3. 27.

    Build slash skills that accept issue numbers, branch names, or formats via $ARGUMENTS / $0 so one command covers many cases.

  4. 28.

    Use `claude --worktree` (or git worktrees) so multiple agents edit isolated checkouts without colliding.

    0 points·13 hours ago·Git & GitHub / Pull Requests·medium·discuss
  5. 29.

    Add a Notification hook that plays a short sound when Claude is idle or waiting on permission so you can multitask without staring at the terminal.

  6. 30.

    Shift specialized playbooks into on-demand skills so every session does not pay for instructions you rarely need.

    0 points·13 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  7. 31.

    Trim project memory to under ~200 lines so Claude follows critical rules instead of drowning them in noise.

    0 points·13 hours ago·Claude Code / CLAUDE.md·easy·discuss
  8. 32.

    Define custom subagents with `isolation: worktree` so delegated edits happen on a temporary branch checkout.

    0 points·13 hours ago·MCP / Agents·medium·discuss
  9. 33.

    Run /context to break down token consumers—CLAUDE.md, MCP tools, conversation—and prune the expensive ones.

    0 points·13 hours ago·Context Management·easy·discuss
  10. 34.

    Add a deterministic PreToolUse hook that rejects destructive shell patterns before Claude can run them.

    0 points·13 hours ago·Testing / Debugging·hard·discuss
  11. 35.

    Use `claude --print --output-format json` in GitHub Actions to automate reviews or summaries without an interactive TTY.

    0 points·13 hours ago·Scheduled Tasks / Automation·hard·discuss
  12. 36.

    Add the GitHub MCP server so Claude can cross-reference issues, PRs, and repo state without leaving the session.

    0 points·13 hours ago·Git & GitHub / Pull Requests·medium·discuss
  13. 37.

    Use /config to set Explanatory or Learning output style so Claude explains the why behind changes — not just the diff.

  14. 38.

    Enable /memory auto-memory so Claude writes durable notes about build commands, corrections, and patterns that reload on every new session.

    0 points·13 hours ago·Claude Code / CLAUDE.md·easy·discuss
  15. 39.

    Use the bundled /doctor skill to find duplicate local memory, unused MCP/plugins, and slow hooks eating budget.

    0 points·13 hours ago·Usage & Limits·easy·discuss
  16. 40.

    Turn off MCP servers unrelated to the current project—their tool schemas still consume context at session start.

    0 points·13 hours ago·MCP / Agents·easy·discuss
  17. 41.

    Mark deploy/ship/destructive skills so only an explicit /command runs them—Claude cannot auto-trigger them mid-session.

  18. 42.

    Cron a useful headless Claude task each morning: failing CI, stale PRs, and TODO hotspots—not an empty warmup.

    0 points·13 hours ago·Scheduled Tasks / Automation·medium·discuss
  19. 43.

    Save repeatable workflows as SKILL.md (or .claude/commands) so you slash-invoke consistent PR reviews, releases, or checklists.

    0 points·13 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  20. 44.

    Declare a Compact Instructions section in CLAUDE.md so both manual /compact and autocompact preserve the project’s critical decisions by default.

    0 points·13 hours ago·Context Management·easy·discuss
  21. 45.

    Check in project settings so every teammate gets the same allow/deny rules, hooks, and env defaults without redoing /permissions.

    0 points·13 hours ago·Claude Code / CLAUDE.md·intermediate·discuss
  22. 46.

    Use /clear between unrelated tasks so leftover debugging does not bias the next feature.

    0 points·13 hours ago·Context Management·easy·discuss
  23. 47.

    Keep personal shortcuts and machine-specific notes in CLAUDE.local.md (gitignored) instead of polluting the shared CLAUDE.md.

    0 points·13 hours ago·Claude Code / CLAUDE.md·easy·discuss
  24. 48.

    Use /btw for single-turn clarifications that share full context but never enter conversation history or burn future tokens.

    0 points·13 hours ago·Context Management·easy·discuss