Back to Inside ClaudeKit

Getting Started

Getting Started with Claude Code & ClaudeKit Engineer Kit

Claude Code is an agentic coding environment from Anthropic. ClaudeKit Engineer Kit transforms Claude from assistant into a true development partner with skills, hooks, and workflows.

What is Claude Code?

  • Agentic coding environment: reads files, runs commands, auto-solves problems.
  • Key constraint: context window fills up → performance degrades. Use /clear between unrelated tasks.
  • Claude Code works best when you understand how it manages context.

What is ClaudeKit Engineer Kit?

  • A .claude/ folder containing workflow templates: Skills, Hooks, Agents, Rules.
  • Philosophy: YAGNI + KISS + DRY — simplify work, avoid unnecessary complexity.
  • Engineer Kit transforms Claude from assistant into a true development partner.

Memory Loading Order

Claude reads and concatenates files in order, from global → project → path-specific:

1
~/.claude/CLAUDE.md Global — all projects
2
./CLAUDE.md + CLAUDE.local.md Project root
3
.claude/rules/*.md Topic rules (lazy-load if path-scoped)
→ Session Context (concatenated)

Tip: Keep CLAUDE.md < 200 lines. Split domain rules (api, testing, security) into .claude/rules/ to avoid context bloat.

CLAUDE.md vs rules/ — What's the difference?

CLAUDE.md .claude/rules/*.md
General instructions for whole project Modular instructions, split by topic/path
Always loads into context at launch No paths: load at launch · Has paths: lazy-load when files match
Target: under 200 lines One file per topic (code-style.md, testing.md...)
Build commands, general conventions Domain rules: API, frontend, security, DB...
Single file only Multiple files, recursive subdirectories
Path-specific rules

Use YAML frontmatter with paths field so rules only activate when Claude touches matching files:

# .claude/rules/api-design.md
---
paths:
- "src/api/**/*.ts"
- "src/server/**/*.ts"
---

Rules without paths field load unconditionally. With paths, triggers when Claude reads files matching pattern.

Best Practices for Creating Rules

DO THIS

  • Split rules by domain/concern (i18n-rules.md, testing-rules.md...)
  • Write concisely, bullet/checklist — Claude parses fast
  • Kebab-case, descriptive names (api-error-handling.md)
  • Include examples (good vs bad)
  • Reference exact paths when applying to specific folders

AVOID THIS

  • Writing verbose rules like documentation
  • Duplicate content between CLAUDE.md and rules/
  • Creating rules for YAGNI things (1-time use)

7 core commands for beginners

1
/ck:brainstorm Explore ideas and solutions before coding
2
/ck:plan Create detailed implementation plans with phases
3
/ck:cook Execute plan — build features step by step
4
/ck:fix Debug and fix bugs systematically
5
/ck:ask Quick Q&A about code or architecture
6
/ck:test Run tests and analyze coverage
7
/ck:watzup See summary of what was done in session

Do This

  • Give Claude clear verification criteria so it can self-check results.
  • Follow the flow: Brainstorm → Plan → Cook — don't jump straight to code.
  • Provide specific context: file paths, error messages, expected behavior.
  • Clear context frequently between unrelated tasks.

Avoid This

  • Kitchen-sink sessions: cramming too many tasks into one session.
  • Repeated corrections without clearing context → Claude repeats mistakes.
  • Skipping planning, jumping straight into implementation.
  • Trust without verify — always check Claude's output.
  • Vague prompts: "fix this" instead of describing the specific problem.

Real-World Use Cases

1 Build new feature Beginner

Add user settings page with dark mode toggle

/ck:brainstorm User settings page với dark mode toggle
→ brainstorm-report.md
/clear
/ck:plan plans/.../brainstorm-report.md
→ plan.md + phase-*.md
/clear
/ck:cook plans/.../plan.md
2 Quick bug fix Beginner

Form validation not showing error

/ck:fix Form validation trong src/components/LoginForm.tsx không hiện error message khi email invalid
3 Onboard codebase Intermediate

Join new team, understand codebase fast

/ck:scout src/
/ck:ask Authentication flow hoạt động thế nào? Tokens lưu ở đâu?

→ 30min instead of 2 days

4 Safe refactoring Intermediate

Old 500 LOC module needs cleanup

/ck:ask Analyze src/legacy/user.js — Hidden deps? Side effects?
/ck:plan Refactor user.js thành modules, giữ nguyên API

Read more details

Read the full article for workflow patterns, weekly skills roadmap, and cheat sheet →

Read full article