Communitygithub.com

SamuelChien/mega-skills-collection

一種混合式記憶系統,為 AI 代理提供持久、可搜尋的知識管理(架構、模式、決策)。

mega-skills-collection 是什麼?

這項技能(Agent Memory Skill)為 AI 代理提供了一個持久且可搜尋的記憶庫,能夠自動與專案文件同步,實現長期知識的有效管理。它作為 MCP 伺服器運行,支援讀取、寫入和搜尋記憶,特別適合記錄架構決策、設計模式與專案知識。此技能支援 Node.js 環境,並可整合至主流 AI 代理平台(如 Claude Code 或 Cursor)。透過簡單的 Git 克隆與 npm 安裝步驟即可快速設定,使用者可指定專案 ID 與工作區路徑來啟動記憶庫。此外,它還提供獨立儀表板供視覺化記憶使用情況,並透過 `memory_search`、`memory_write`、`memory_read` 與 `memory_stats` 等 MCP 工具,讓 AI 代理能靈活查詢、記錄與分析記憶內容。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/agent-memory-mcp

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

代理記憶技能

此技能提供一個持久、可搜尋的記憶庫,會自動與專案文件同步。它以 MCP 伺服器方式運行,允許讀取、寫入和搜尋長期記憶。

先決條件

  • Node.js(v18 以上)

設定

  1. 複製儲存庫: 將 agentMemory 專案複製到代理的工作區或平行目錄中:

    git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
    
  2. 安裝依賴項:

    cd .agent/skills/agent-memory
    npm install
    npm run compile
    
  3. 啟動 MCP 伺服器: 使用輔助腳本為當前專案啟動記憶庫:

    npm run start-server <project_id> <absolute_path_to_target_workspace>
    

    當前目錄範例:

    npm run start-server my-project $(pwd)
    

功能(MCP 工具)

memory_search

透過查詢、類型或標籤搜尋記憶。

  • 引數:query(字串),type?(字串),tags?(字串陣列)
  • 用法:「尋找所有身份驗證模式」 -> memory_search({ query: "authentication", type: "pattern" })

memory_write

記錄新知識或決策。

  • 引數:key(字串),type(字串),content(字串),tags?(字串陣列)
  • 用法:「儲存此架構決策」 -> memory_write({ key: "auth-v1", type: "decision", content: "..." })

memory_read

透過金鑰擷取特定記憶內容。

  • 引數:key(字串)
  • 用法:「取得身份驗證設計」 -> memory_read({ key: "auth-v1" })

memory_stats

檢視記憶使用情況的分析。

  • 用法:「顯示記憶統計」 -> memory_stats({})

儀表板

此技能包含一個獨立的儀表板,用於視覺化記憶使用情況。

npm run start-dashboard <absolute_path_to_target_workspace>

存取位置:http://localhost:3333

使用時機

當任務明確符合概述中描述的工作流程或動作時,適用此技能。

限制

  • 僅在任務清楚符合上述範圍時才使用此技能。
  • 請勿將輸出視為環境特定驗證、測試或專家審查的替代品。
  • 如果缺少必要的輸入、權限、安全邊界或成功標準,請暫停並要求澄清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相關技能