Chuyển đến nội dung
Skillpedia
Prompt và LLM33k · #8534

claude-code-guide

Skill này làm gì

Skill này là hướng dẫn thực tế để thiết lập và dùng Claude Code hiệu quả. Skill dành cho người mới với Claude Code hoặc người muốn kết quả tốt hơn từ công cụ này.

Khi nào nên dùng

  • ✓Khi ai đó đang thiết lập Claude Code cho một dự án mới và muốn có cấu hình khởi đầu.
  • ✓Khi người dùng muốn prompt tốt hơn để có câu trả lời rõ ràng và sâu hơn từ agent.
  • ✓Khi Claude Code bị kẹt hoặc hoạt động bất thường và cần các bước gỡ rối.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/claude-code-guide/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/claude-code-guide/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi viết tệp CLAUDE.md cho dự án web mới để Claude Code làm theo quy ước của chúng tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill cung cấp một mẫu cấu hình dự án, cùng các mẹo viết prompt và bước gỡ rối. Bạn điều chỉnh mẫu theo lệnh và phong cách của dự án.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Claude Code Guide

Purpose

To provide a comprehensive reference for configuring and using Claude Code (the agentic coding tool) to its full potential. This skill synthesizes best practices, configuration templates, and advanced usage patterns.

Configuration (CLAUDE.md)

When starting a new project, create a CLAUDE.md file in the root directory to guide the agent.

Template (General)

# Project Guidelines

## Commands

- Run app: `npm run dev`
- Test: `npm test`
- Build: `npm run build`

## Code Style

- Use TypeScript for all new code.
- Functional components with Hooks for React.
- Tailwind CSS for styling.
- Early returns for error handling.

## Workflow

- Read `README.md` first to understand project context.
- Before editing, read the file content.
- After editing, run tests to verify.

Advanced Features

Thinking Keywords

Use these keywords in your prompts to trigger deeper reasoning from the agent:

  • "Think step-by-step"
  • "Analyze the root cause"
  • "Plan before executing"
  • "Verify your assumptions"

Debugging

If the agent is stuck or behaving unexpectedly:

  1. Clear Context: Start a new session or ask the agent to "forget previous instructions" if confused.
  2. Explicit Instructions: Be extremely specific about paths, filenames, and desired outcomes.
  3. Logs: Ask the agent to "check the logs" or "run the command with verbose output".

Best Practices

  1. Small Contexts: Don't dump the entire codebase into the context. Use grep or find to locate relevant files first.
  2. Iterative Development: Ask for small changes, verify, then proceed.
  3. Feedback Loop: If the agent makes a mistake, correct it immediately and ask it to "add a lesson" to its memory (if supported) or CLAUDE.md.

Reference

Based on Claude Code Guide by zebbern.

Câu hỏi thường gặp

CLAUDE.md là gì?

Đó là một tệp dự án ở thư mục gốc, cung cấp cho Claude Code các hướng dẫn như lệnh và phong cách code.

Nếu Claude Code bị nhầm lẫn thì sao?

Skill gợi ý bắt đầu một phiên mới, nêu rõ đường dẫn và kết quả mong muốn, và yêu cầu kiểm tra log.

Các mẹo viết prompt có được đảm bảo không?

Đó là các cách tiếp cận được gợi ý, thường hữu ích nhưng không đảm bảo kết quả.

Chi tiết

Mô tả gốc của tác giả

Master guide for using Claude Code effectively. Includes configuration templates, prompting strategies "Thinking" keywords, debugging techniques, and best practices for interacting with the agent.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8534
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự