Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
SkillAn toànQuy trình & bộ nhớ agentCần cài đặt chút

claude-code-best-practice

shanraisshan · shanraisshan/claude-code-best-practice

Hướng dẫn về các phương pháp hay nhất này cung cấp một bộ sưu tập tài nguyên tuyển chọn cho Claude Code, bao gồm subagent, lệnh, kỹ năng, quy trình làm việc, MCP server và plugin, tập trung vào kỹ thuật agentic.

từ vibe coding đến kỹ thuật tác nhân - thực hành giúp Claude hoàn hảo

68k sao6.7kGiấy phép: MITCập nhật 3 ngày trước1 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Học cách cấu trúc các quy trình làm việc agent phức tạp bằng cách sử dụng subagent và hook.
  • Khám phá các phương pháp hay nhất để tạo và quản lý các kỹ năng của Claude Code.
  • Hiểu cách tích hợp MCP server và plugin vào thiết lập agent của bạn.

Thử hỏi agent của bạn

  • “Giải thích khái niệm `subagents` trong Claude Code và cung cấp một ví dụ đơn giản về cách định nghĩa một subagent.”
  • “Cách `hooks` hoạt động trong Claude Code? Cho tôi một ví dụ về pre-commit hook kiểm tra phong cách mã.”
  • “Mô tả các loại `memory` khác nhau có sẵn trong Claude Code và các trường hợp sử dụng của chúng, tham chiếu tài liệu chính thức.”

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

= Agents · = Commands · = Skills

    

Boris Cherny on X (tweet 1 · tweet 2 · tweet 3)

[!TIP] Visit the How to Use section to take full advantage of this repo.

🧠 CONCEPTS

FeatureLocationDescription
Subagents.claude/agents/<name>.md
Commands.claude/commands/<name>.md
Skills.claude/skills/<name>/SKILL.mdOfficial Skills · Skills for Mono-repos
Workflows.claude/commands/weather-orchestrator.md
Hooks.claude/hooks/Guide
MCP Servers.claude/settings.json, .mcp.json
Pluginsdistributable packagesMarketplaces · Create Marketplaces
Settings.claude/settings.jsonPermissions · Model Config · Output Styles · Sandboxing · Keybindings · Auto Mode Config
Status Line.claude/settings.json
MemoryCLAUDE.md, .claude/rules/, ~/.claude/rules/, ~/.claude/projects//memory/Auto Memory · Auto Memory Deep-dive · Rules
Checkpointingautomatic (file-edit tracking)
Sessions--resume, --continue, /resume, /branch
Context Window/compact, /clear, /context
CLI Startup Flagsclaude [flags]Interactive Mode · Env Vars
AI Terms
Best PracticesPrompt Engineering · Extend Claude Code
Prompt Library

🔥 Hot

FeatureLocationDescription
Ultrareview/code-review ultra, claude ultrareview [target]Tasks tracking
Devcontainers.devcontainer/
Channels--channels, plugin-basedReference
No Flicker Mode/tui fullscreen, CLAUDE_CODE_NO_FLICKER=1
Auto Mode--permission-mode auto, Shift+TabBlog
Power-ups/powerup
Fast Mode/fast, "fastMode": true
Advisor/advisor, advisorModel, --advisorBlog
Computer Usecomputer-use MCP serverDesktop
Agent SDKnpm / pip packageQuickstart · Examples
Ralph Wiggum Loopplugin
Chrome--chrome, extension
Claude Code Webclaude.ai/codeRoutines
Artifacts/share, Artifact tool
Slack@Claude in Slack
Code ReviewGitHub App (managed)Blog Local /code-review
GitHub Actions.github/workflows/GitLab CI/CD
Remote Control/remote-control, /rcHeadless Mode
[Deep Links](https://code.claude.com/docs/en
Xem mã nguồn trên GitHub