本文へスキップ
Skillpedia
エージェント48k · #6080

using-lwc

できること

このツールは、AIが別々の会話をまたいで重要な情報を覚えておくのに役立ちます。プロジェクトの決定事項、調査内容、確認済みの結果を保存しておくので、AIは後からそれらを参照できます。

使う場面

  • ✓AIにプロジェクトの重要な決定事項を思い出してもらいたいとき。
  • ✓再利用すべき調査結果を保存したいとき。
  • ✓AIがドキュメントや既存のコードの情報を確認する必要があるとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/using-lwc/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“AI、先週、認証について何を決めたか覚えていますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIはLWCと呼ばれる特別なメモリを使います。このメモリは情報を整理して保存します。AIは作業をやり直す前にこのメモリを確認し、最も関連性の高い情報を使って回答します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

…

よくある質問

LWCとは何ですか?

LWCは、プロジェクトやドキュメントの情報を保存して再利用するための、AIの永続的なメモリです。

なぜthis ツールを使うのですか?

作業の回をまたいでも、AIが重要な決定事項や情報を忘れないようにするためです。

AIはこのツールを使ってプロジェクトを変更できますか?

いいえ。このツールは、現在のプロジェクト内の情報を覚えて参照することに特化しており、情報を変更することはありません。

詳細

作者による元の説明

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

人気

GitHubのスター
48k
ランキング
#6080
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル