Communitygithub.com

SamuelChien/mega-skills-collection

为AI代理提供持久化、可搜索的知识管理混合内存系统(架构、模式、决策)。

mega-skills-collection 是什么?

该技能实现了一个混合内存系统,为AI代理提供持久化、可搜索的知识管理能力,支持架构、模式与决策的存储与检索。它作为一个MCP服务器运行,允许代理读取、写入和搜索长期记忆,并能自动与项目文档同步。该技能适用于Claude Code、Cursor、Codex等支持MCP协议的AI代理平台,通过提供`memory_search`、`memory_write`、`memory_read`和`memory_stats`等工具,帮助代理维持跨会话的上下文一致性,记录关键决策,并优化知识重用。技能还附带一个独立仪表盘,用于可视化内存使用情况。设置简单,只需克隆仓库、安装依赖并启动MCP服务器即可。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Agent Memory 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".

相关技能