MM

metarhia/metaskills

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

60 stars 质量 73 趋势 14MIT

Metarhia技能

概览

Metarhia 技术栈的代理技能:AI 助手和集成开发环境(Cursor、VS Code、Claude Code、Windsurf 等)的可重用指令——代码风格、模式、架构和领域知识。 从你的项目根源,把技能链接到你的IDE中,让它能使用它们: 这会自动检测已安装的IDE,并在它们的技能目录下创建指向node_modules/metaskills/skills的符号链接,这样IDE就能加载技能而不复制文件。 安装后或更新包后运行一次。过时的符号链接会被移除,缺失的符号链接会自动添加。 - js-conventions — Metarhia JavaScript/TypeScript 风格与命名 - js-data-structures — JavaScript 集合和结构模式 - data-structures — 代理通用数据结构指南 - metautil-data-structures — 元工具结构(列表、队列、排队、外列、trie 等)

概述(AI 翻译)

Metarhia 技术栈的代理技能:AI 助手和集成开发环境(Cursor、VS Code、Claude Code、Windsurf 等)的可重用指令——代码风格、模式、架构和领域知识。

用途

从你的项目根源,把技能链接到你的IDE中,让它能使用它们:

这会自动检测已安装的IDE,并在其技能下创建符号链接 目录指向node_modules/metaskills/skills,因此IDE加载 技能,但不复制文件。

支持的IDEs:

IDE 指挥 目标导演
自动检测 npx metaskills 自动检测或菜单
光标 npx metaskills cursor .cursor/skills
克洛德 npx metaskills claude .claude/skills
风帆冲浪 npx metaskills windsurf .windsurf/skills
VS代码 npx metaskills vscode .github/skills
双子座 npx metaskills gemini .gemini/skills
反重力 npx metaskills antigravity .agents/skills
全部 npx metaskills all 以上皆是

安装后或更新包后运行一次。陈旧的符号链接有 被移除和缺失的会被自动添加。

技能

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Metarhia Skills

Agent skills for the Metarhia tech stack: reusable instructions for AI assistants and IDEs (Cursor, VS Code, Claude Code, Windsurf, etc.) — code style, patterns, architecture, and domain knowledge.

Usage

From your project root, link skills into your IDE so it can use them:

npx metaskills

This autodetects installed IDEs and symlinks each target directory in the table to node_modules/metaskills/skills. Agents then read .cursor/skills/js-conventions/SKILL.md, and the same / shape for the other rows. Skills are not copied, and each linked directory is added to .gitignore and .npmignore. A target you already use for your own skills is left unchanged and reported as skipped.

Supported IDEs:

IDE Command Target dir
Autodetect npx metaskills Autodetect or menu
Cursor npx metaskills cursor .cursor/skills
Claude npx metaskills claude .claude/skills
Windsurf npx metaskills windsurf .windsurf/skills
VS Code npx metaskills vscode .github/skills
Gemini npx metaskills gemini .gemini/skills
Antigravity npx metaskills antigravity .agents/skills
All npx metaskills all All of the above

Run once after install or after updating the package. A previous /metaskills link, or skill links inside an otherwise empty target directory, are replaced by that directory symlink. Missing links are added.

Skills

Skills live under skills//SKILL.md:

  • js-conventions — Metarhia JavaScript/TypeScript style and naming
  • js-data-structures — JavaScript collections and structural patterns
  • data-structures — general data-structure guidance for agents
  • metautil-data-structures — metautil structures (list, queue, deque, trie, …)
  • js-gof — GoF creational, structural, and related patterns in JavaScript
  • error-handling — error handling conventions
  • npm-publish — prepare an npm package for release

See the skills directory for the full list.

Development

Clone the repo and link skills for local testing:

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add metarhia/metaskills
新手?先看 mcpskill.org 教程 →