Chuyển đến nội dung
Skillpedia
Agent48k · #6080

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.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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/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

“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

  1. 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 with LWC_AUTO_INSTALL=1 or LWC_GLOBAL_INIT=1. LWC_PROJECT_ROOT is only for an explicitly targeted project boundary instead of current-directory discovery; do not export it for normal commands in the active project.

  2. Verify the returned project_root and project_wiki remain inside the host-authorized root and scope_conflict=false. Require command -v lwc to succeed after bootstrap. Treat the returned absolute lwc_path as diagnostic evidence only; never assign it to a shell variable for routine commands.

  3. When $using-lwc was 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.

  4. 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.

repo: sickn33/agentic-awesome-skills

Độ 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

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ự