Skip to content

Latest commit

 

History

History
207 lines (135 loc) · 9.69 KB

ClaudeCodePowerUserGuide.md

File metadata and controls

207 lines (135 loc) · 9.69 KB

Claude Code Power User Guide

shortcuts

Generate key shortcuts for Claude Code. c -> claude

add a bat file 'c.bat' to your path notepad "C:\Users<Your-Username>.local\bin\c.bat"

with the following content:

    @claude %*

Now, when you are in the explorer, enter "CTRL+L" to select the path, then type "cmd" and hit enter to open a command prompt in that directory. Type "c" and hit enter to run Claude Code in that directory.

keyboard text replacement shortcuts for Claude Code

u=> ultrathink w => what happened

YOLO Mode (You Only Live Once)

YOLO mode" has a specific meaning too: it refers to running a tool with all safety confirmations disabled. For example, Claude Code has a --dangerously-skip-permissions flag that people informally call "YOLO mode," where it stops asking for approval before each action and just executes. Handy but risky, hence the name.

    claude --dangerously-skip-permissions

Install Claude Code Docs

Session Tracker Tool for Claude Code usage

Usage Monitor

AskForUserQuestion

AskForUserQuestion is a built-in tool in Claude Code that prompts the user for input before executing certain actions. It ensures that the user explicitly confirms or provides necessary information, adding an extra layer of safety and interactivity to the workflow.

Useful Claude Code Skills

Claude Code Skills are modular, file-based extensions — each one a folder with a SKILL.md (plus optional scripts/resources) that packages domain knowledge or a specific workflow. Claude loads a skill's full instructions only when it's relevant (matched by its description or invoked explicitly via /skill-name), keeping the rest of the context window free. They're how you give Claude reusable, specialized capabilities — like a particular review process, a design system, or a deployment routine — without bloating every conversation with instructions it doesn't need yet.

Running the skill below will audit your skills, and it will find a bunch of potential issues or improvements in your prompts.

/claude-api prompt-audit

Built-in skills (ship with Claude Code)

Migrate API code to a newer Claude model. Sibling of prompt-audit: it classifies every file that calls the Claude API, applies the breaking changes for the target model, and then audits the prompts for patterns written for the old model.

/claude-api migrate

Fewer permission prompts. Scans your past session transcripts for read-only Bash and MCP calls you keep approving, then writes a prioritized allowlist into .claude/settings.json so those prompts stop appearing.

/fewer-permission-prompts

Simplify the current diff. A quality-only pass over your changed code (reuse, simplification, efficiency) that applies the fixes for you. It does not hunt for bugs; use /code-review for that.

/simplify

Code review with effort levels and auto-fix. Reviews the current diff, a PR number, a branch or a path. low/medium give fewer high-confidence findings, high/max go broader. --fix applies the findings to the working tree, --comment posts them as inline PR comments.

/code-review high
/code-review 42 --comment
/code-review --fix

Security review of pending changes. Runs a dedicated security review on the uncommitted or unpushed changes on the current branch.

/security-review

Run the app to prove a change works. Detects the project type (CLI, server, TUI, Electron, browser app) and launches it so Claude can see the change working in the real app instead of only in tests.

/run

Recurring tasks with /loop. Runs a prompt or slash command on an interval. Omit the interval and Claude paces itself.

/loop 5m /standup
/loop check whether the deploy on staging finished

Scheduled cloud agents. Creates routines that run on a cron schedule in the cloud, or a one-time run at a given time, without keeping your terminal open.

/schedule

Configure hooks, permissions and env vars in plain English. Anything phrased as "from now on when X" needs a hook in settings.json; this skill writes it for you. Also handles "allow npm commands" or "set DEBUG=true".

/update-config when a file is edited run prettier on it

Customize keyboard shortcuts. Rebind keys, add chord bindings or change the submit key via ~/.claude/keybindings.json.

/keybindings-help

Skill health check. Reports on the quality of your installed skills (descriptions, triggering, structure). Pair it with claude plugin eval to run eval suites against a plugin in CI.

/skill-doctor

Plugin skills worth installing

skill-creator (official marketplace). A meta-skill that guides you through creating your own Claude Code Skill, with best practices for writing clear instructions, defining triggers and structuring files. It generates a boilerplate SKILL.md and folder structure from your input, runs evals against the skill, benchmarks variance between runs and optimizes the description so the skill triggers when it should.

/plugin marketplace add anthropics/skills
/skill-creator

mattpocock-skills (official marketplace). A small set of workflow skills:

  • /grilling stress-tests a plan or decision by relentlessly questioning it before you build.
  • /wizard generates an interactive bash wizard for steps only a human can do (credentials, CI secrets, third-party dashboards).
  • /diagnosing-bugs is a structured diagnosis loop for hard bugs and performance regressions.
  • /writing-for-agents gives guidance for writing CLAUDE.md, AGENTS.md and skill files that agents actually follow.
claude plugin install mattpocock-skills@claude-plugins-official

anthropic-agent-skills marketplace. Besides claude-api it ships mcp-builder (scaffold an MCP server), webapp-testing (drive a web app with Playwright), frontend-design, and document skills for docx, pptx, xlsx and pdf.

/plugin marketplace add anthropics/skills

Community skills

Frontend Design Skill by Anthropic. Guides Claude to commit to a distinctive design direction (purpose, tone, constraints, differentiation) before writing any UI code, and bans generic AI defaults like Inter, Roboto, and purple gradients — so output doesn't look templated.

npx skills add https://github.com/anthropics/skills --skill frontend-design

/frontend-design

Grill with Docs by Matt Pocock. A Socratic, interview-style planning skill: it grills you on a proposed change one question at a time, checks your answers against the codebase and existing docs, and writes confirmed terminology and decisions back into CONTEXT.md and ADRs (Architecture Decision Records) as you go. Best used before starting a significant change.

npx skills@latest add mattpocock/skills

/grill-with-docs

Test Driven Development Workflow by Affaan-m. Enforces a strict red-green-refactor TDD cycle (user journeys → write failing tests → minimal implementation → pass tests → refactor → verify 80%+ coverage → evidence report) for new features, bug fixes, and refactors, with Git checkpoints at each stage.

npx skills add https://github.com/affaan-m/ECC --skill tdd-workflow

/tdd-workflow

Code Reviewer Skill by Shubhamsaboo. A prioritized code review skill that checks security (SQL injection, XSS, secrets) first, then performance, correctness, maintainability, and test coverage, surfacing findings by severity with concrete fix suggestions. Use it on PRs, pre-deployment code, or security audits.

npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps --skill code-reviewer

/code-reviewer

next-steps plugin

next-steps is a small productivity plugin by Thariq Shihipar (MIT, v1.0.0) that suggests what to type next after Claude finishes a turn. It isn't a skill or slash command but a mod: a function-hooks plugin (hooks/register.tsx).

It is available in the anthropics/claude-plugins-community marketplace. In Claude Code, add the marketplace (skip if you already have it), then install the plugin:

/plugin marketplace add anthropics/claude-plugins-community
/plugin install next-steps@claude-community

After each answer it shows up to three suggested prompts above the input box:

next:
  1: run the tests you just wrote
  2: do the same for the settings page
  3: /code-review high
  0: dismiss
  • Press 1, 2 or 3 on an empty prompt to put that suggestion into the box as an editable draft; 0 dismisses them. The top suggestion also shows as ghost text, so Tab accepts it. Nothing is submitted until you press Enter.
  • Suggestions come from a fork of your session that shares its prompt cache, so it costs about one short reply and never blocks your turn. Your skills and slash commands are passed along, so a suggestion can be a command like /code-review high.
  • The output is treated as untrusted: escape sequences, control and invisible Unicode characters are stripped, and text containing Unicode tag characters is rejected, so a hidden prompt injection can't reach your prompt box.

Config options: minAnswerChars (default 80, no suggestions after shorter answers) and suggestSkills (default true, passes your skills and commands to the suggester).