KPBoardsby Dang Khoi
Skip to main content
KPBoardsby Dang Khoi

Ship better products with AI-assisted workflows

KPBoards — hands-on AI tool reviews, developer productivity, and web engineering notes from Khoi Pham, a senior frontend engineer.

Quick links

  • Home
  • Blog
  • Portfolio
  • Services
  • Playbooks
  • Labs
  • About

Legal

  • Privacy notice
  • Terms of service

Contact

pldkhoi@gmail.com+84 901 430 110
Copyright 2026 KPBoards. All rights reserved.
Privacy noticeTerms of service
Back to Blog
Tools & Productivity

7 Advanced Claude Code Tips Most Developers Don't Know

Discover 7 powerful Claude Code features: CLAUDE.md, custom agents, slash commands, memory system, plan mode, hooks, and smart model selection to cut costs by 10x.

KPBoardsApril 19, 20268 min read13 views
Chia sẻ:
~1 min read
7 Advanced Claude Code Tips Most Developers Don't Know

Claude Code is more than just an AI terminal. After using it daily for months, I noticed most developers only tap into 20% of its capabilities. Here are 7 advanced features you should master today.

1. CLAUDE.md - The Project Brain

This is the most important file, yet most developers do not use it properly. CLAUDE.md is a context file Claude reads automatically at the start of every new session - like briefing a new team member before they start working.

What should go in CLAUDE.md:

  • Tech stack and conventions: Next.js 16 App Router, bun, Tailwind CSS 4, shadcn/ui, no React.FC
  • Session start protocol: run git log --oneline -5 first, which files to read
  • Coding conventions: kebab-case file names, @/ alias, no ../../
  • Known issues: existing type debt, why ignoreBuildErrors: true
  • Model selection rules: Haiku for search, Sonnet for implementation, Opus only for architecture

If Claude keeps asking basic questions about your project, that is a sign your CLAUDE.md is incomplete. A good file reduces token waste by 50% per session.

2. Custom Agents - Domain Specialists

Instead of using Claude Code for everything in one conversation, create specialized agents in .claude/agents/. Each agent has its own system prompt and runs independently with its own context window.

.claude/agents/
├── security-reviewer.md    # audits security issues only
├── seo-reviewer.md         # checks SEO for public pages
├── accessibility-reviewer.md
└── code-reviewer.md        # reviews diffs before commits

When you add a new form, call the accessibility-reviewer - this agent is not polluted by your main conversation context, producing much more focused results.

3. Slash Commands - Reusable Workflows

Slash commands are workflows packaged as Markdown files in .claude/commands/. Instead of memorizing procedures every time, just type /command-name.

/deploy-check      # complete checklist before deploying to production
/new-article       # create a new blog post with correct format
/db-migrate        # run Prisma migrations safely with verification
/pr-review         # review PR: security, perf, a11y checklist

4. Memory System - Persistence Across Sessions

The memory system uses persistent files in ~/.claude/projects/. Four types: user (your background), feedback (what Claude should avoid - most important), project (decisions), reference (external system links).

5. Plan Mode - Design Before You Code

For complex multi-file tasks, enable Plan Mode first. In Plan Mode, Claude can only read files and research - no code editing. After you approve the plan, Claude implements exactly what was agreed upon.

6. Hooks - Automate Everything

Hooks are shell commands that run automatically when Claude performs specific actions. Configure in .claude/settings.json. Use them to auto-format files, run linters, validate schemas, or notify Slack.

7. Smart Model Selection - Cut Costs by 10x

Haiku: search, grep, file reads. Sonnet: implementation, debugging (default). Opus: architecture, complex debugging (most expensive). Default subagents to Haiku - this is the single biggest cost saving.

Where to Start?

  1. Write CLAUDE.md for your current project - 15 minutes, immediate impact
  2. Create 1-2 slash commands for your most repeated workflows
  3. Write feedback memory entries after every Claude mistake
Tags:#AI#Productivity#Claude#Developer Tools#Developer Workflow
Chia sẻ:

Read next

Hand-picked articles and tools based on what you just read.

I Built an AI Finance Assistant for Vietnamese Freelancers — Here's Why
Tools & Productivity

I Built an AI Finance Assistant for Vietnamese Freelancers — Here's Why

FinanceAI helps Vietnamese freelancers track income/expenses, get weekly AI insights, set savings goals and forecast cash flow — start free, Pro just $4.99/month.

Top 20 VS Code Extensions for Frontend Developers in 2026
Tools & Productivity

Top 20 VS Code Extensions for Frontend Developers in 2026

The best VS Code extensions for frontend development in 2026: productivity, debugging, formatting, and AI assistance.

Claude Code vs Cursor vs Copilot: 3-Month Benchmark (2026)
AI Tools

Claude Code vs Cursor vs Copilot: 3-Month Benchmark (2026)

40 matched tasks, two real codebases, three months of blind scoring. The honest head-to-head of Claude Code, Cursor, and GitHub Copilot in 2026.

Related tool

Claude Code

Anthropic official AI coding CLI for professional developers

See the review

Get the AI Stack for Solo Founders

Get the AI Stack for Solo Founders — 10 tools I use daily + the prompts that make them work.

No spam. Unsubscribe in one click.

Comments

Loading comments...

Leave a comment

0/2000