claude-code-guide
Skill này làm gì
Hướng dẫn này chỉ cách thiết lập và dùng Claude Code, một công cụ hỗ trợ lập trình. Nó cho thấy cách đưa ra hướng dẫn rõ ràng cho AI, tổ chức mã và giải quyết vấn đề.
Khi nào nên dùng
- ✓Khi bạn muốn quy định cách AI nên tổ chức một dự án lập trình.
- ✓Khi AI gặp khó khăn trong việc hiểu hướng dẫn về mã của bạn.
- ✓Để tạo hướng dẫn về cách chạy, kiểm thử và xây dựng dự án của bạn.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/claude-code-guide/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi thiết lập tệp CLAUDE.md cho một dự án React với TypeScript, bao gồm các lệnh chạy và kiểm thử.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Claude Code hoạt động bằng cách đọc một tệp đặc biệt tên CLAUDE.md. Bạn viết các quy tắc và lệnh vào tệp này để AI tuân theo cho dự án của bạn. Nó cũng gợi ý các từ khóa giúp AI suy nghĩ tốt hơn và giải quyết lỗi.
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)
Read existing project instructions first. Add or update a project CLAUDE.md only within the requested scope, preserving repository conventions and existing instructions. The template below illustrates a React/TypeScript npm project; replace its commands and stack rules with verified project facts.
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
State the desired investigation and verification criteria explicitly. These phrases describe tasks; they are not guaranteed switches for model reasoning effort:
- "Think step-by-step"
- "Analyze the root cause"
- "Plan before executing"
- "Verify your assumptions"
Debugging
If the agent is stuck or behaving unexpectedly:
- Clear Context: Save the task state and relevant evidence before starting a new session. A prompt to forget instructions does not erase loaded project rules.
- Explicit Instructions: Be extremely specific about paths, filenames, and desired outcomes.
- Logs: Ask the agent to "check the logs" or "run the command with verbose output".
Best Practices
- Small Contexts: Don't dump the entire codebase into the context. Use
rgorrg --filesto locate relevant files first. - Iterative Development: Ask for small changes, verify, then proceed.
- 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.
Verification
Inspect the resulting diff and confirm the intended instructions actually load in the installed host. Project instructions guide behavior; they do not enforce a security boundary. Keep secrets out of tracked instructions. Check current features against official memory documentation.
Reference
Based on Claude Code Guide by zebbern.
When to Use
Use when configuring project instructions, diagnosing conflicting Claude Code guidance, or defining verified build/test workflows.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp
Tệp CLAUDE.md là gì?
Đó là tệp nơi bạn viết hướng dẫn cho Claude Code về cách làm việc với dự án của bạn. Nó chứa các quy tắc viết mã, lệnh chạy dự án và cách giải quyết vấn đề.
Làm sao để AI sửa một lỗi?
Bạn có thể yêu cầu AI “kiểm tra nhật ký” hoặc “chạy lệnh với đầu ra chi tiết”. Đưa ra hướng dẫn rất cụ thể về điều bạn muốn nó làm cũng rất hữu ích.
Tôi có thể đưa mật khẩu hoặc thông tin bí mật vào CLAUDE.md không?
Không. Tệp CLAUDE.md dùng để hướng dẫn hành vi của AI, không dùng để bảo vệ thông tin. Hãy giữ thông tin bí mật ngoài các hướng dẫn.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4143
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.