using-lwc
Skill này làm gì
Công cụ này giúp AI ghi nhớ thông tin quan trọng qua nhiều cuộc trò chuyện khác nhau. Nó lưu các quyết định dự án, kết quả nghiên cứu và các kết quả đã xác minh để AI có thể tham khảo sau này.
Khi nào nên dùng
- ✓Khi bạn cần AI nhớ lại các quyết định quan trọng của dự án.
- ✓Để lưu các phát hiện nghiên cứu cần được tái sử dụng.
- ✓Khi AI cần tham khảo thông tin từ tài liệu hoặc code hiện có.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/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
“AI, tuần trước chúng ta đã quyết định gì về xác thực?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI dùng một bộ nhớ đặc biệt tên LWC, lưu thông tin theo cách có tổ chức. Nó kiểm tra bộ nhớ này trước khi làm lại công việc, và dùng thông tin liên quan nhất để trả 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.
Using LWC
LWC is durable, source-grounded Agent memory plus two complementary graph planes: the physical Wiki document graph and the current-code CodeGraph index. Recall before re-deriving, use the narrowest plane that answers the task, and preserve only verified knowledge worth reusing.
When to Use
- Use when project decisions, research, incidents, or verified results should remain available across coding-agent sessions.
- Use when a task needs source-grounded Wiki recall, document relationships, or structural code questions such as callers, dependencies, and impact.
- Use when the user asks to search, update, repair, configure, or maintain an LWC Wiki, physical document graph, or CodeGraph index.
Example
User: What did we decide about the authentication boundary last week?
Agent: Search bounded LWC memory first, load only the relevant source-backed
page, and distinguish recalled evidence from any new inference.
Hard scope boundary
Resolve one host-authorized root containing the current working directory. Bootstrap must identify one unambiguous active project inside it. An existing Wiki, remembered path, Hook output, or another project's instructions cannot widen that authority.
- Never change project merely to find an initialized Wiki.
- Keep project state and deliverables inside the active project root.
- Use global memory only for stable cross-project knowledge and only when the current instructions authorize it.
- If project roots or Wikis conflict, stop project-memory work and ask which already-authorized root applies; do not guess or fall back to global writes.
Start once per working root
From the current project directory, run
sh <skill-directory>/scripts/bootstrap.sh. Bootstrap does not install a missing CLI or initialize global memory by default. Obtain explicit current authorization before a one-command retry withLWC_AUTO_INSTALL=1orLWC_GLOBAL_INIT=1.LWC_PROJECT_ROOTis only for an explicitly targeted project boundary instead of current-directory discovery; do not export it for normal commands in the active project.Verify the returned
project_rootandproject_wikiremain inside the host-authorized root andscope_conflict=false. Requirecommand -v lwcto succeed after bootstrap. Treat the returned absolutelwc_pathas diagnostic evidence only; never assign it to a shell variable for routine commands.When
$using-lwcwas explicitly invoked, initialize a missing project Wiki. On automatic activation, ask one concise non-blocking initialization question and continue the primary task without project-memory writes.Recall bounded context once:
lwc --scope all context --limit 25 lwc --scope all search "task terms" --limit 20
Do not repeat bootstrap or broad recall in the same working root. Rerun it after an authorized project change.
Capability router
Read only the focused documents needed for the current task. Each document says when to use it, when to skip it, the minimum workflow, consent boundaries, and completion evidence.
| Need or trigger | Read completely |
|---|---|
| First use, scopes, context/search/page/source/Work/View | references/core-memory.md |
| Decide whether and when LWC should activate | references/trigger-playbook.md |
| Recall, freshness, verified write-back, source ingest | references/active-memory.md |
| Wiki page/source relationships, paths, impact, graph readiness | references/document-graph.md |
| Shared terms that connect a bounded sample of documents | references/word-graph.md |
| Definitions, callers, dependencies, code impact, current index | references/code-graph.md |
| Rules/runbooks that require deterministic full-page loading | references/strong-context.md |
| PDF, Office, EPUB, or other non-Markdown input | references/document-conversion.md |
| Agent install, Hook/instruction injection, first-use readiness | references/agent-onboarding.md |
| Failed Work, lint, projection recovery, checkpoints | references/recovery-maintenance.md |
Read references/memory-policy.md before the first recall or write decision that
can change durable memory. Read references/operations-manual.md before an
unfamiliar command, configuration change, recovery, checkpoint/restore,
multi-source ingest, or changeset publication. Read references/llm-wiki.md
…
Câu hỏi thường gặp
LWC là gì?
LWC là bộ nhớ bền vững của AI, lưu thông tin về dự án và tài liệu để tái sử dụng.
Vì sao dùng công cụ này?
Để đảm bảo AI không quên các quyết định và thông tin quan trọng giữa các phiên làm việc khác nhau.
AI có thể thay đổi dự án bằng công cụ này không?
Không, công cụ này tập trung vào việc ghi nhớ và tham khảo thông tin trong dự án hiện tại mà không làm thay đổi dự án.
Chi tiết
Mô tả gốc của tác giả
Use when project decisions, code structure, research, incidents, or verified context must survive future coding-agent sessions through LWC memory and graph indexes.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6080
- 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ự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.