@gallopsystems/agent-skills

中文文档
1.32.0发布于 2026/10/29UNLICENSED零依赖构建来源已验证近 30 天下载 3279

Gallop Systems agent skills, symlinked into .claude/skills (Claude Code) and .agents/skills (Codex) on install.

原始使用文档
文档目录15 节
  1. Installation
  2. Updating
  3. Install as an npm dependency (per-repo)
  4. Available Skills
  5. kysely-postgres
  6. nuxt-nitro-api
  7. nitro-testing
  8. linear
  9. doctl
  10. git-github
  11. copier-template
  12. gallop-ui
  13. generate-documentation
  14. Contributing a Lesson Back
  15. Adding New Skills

Claude Skills

A collection of Claude Code skills.

Installation

First, add the marketplace:

/plugin marketplace add gallop-systems/agent-skills

Then install the skills you want:

/plugin install kysely-postgres@gallop-systems-agent-skills
/plugin install nuxt-nitro-api@gallop-systems-agent-skills
/plugin install nitro-testing@gallop-systems-agent-skills
/plugin install linear@gallop-systems-agent-skills
/plugin install doctl@gallop-systems-agent-skills
/plugin install git-github@gallop-systems-agent-skills
/plugin install copier-template@gallop-systems-agent-skills
/plugin install vue-nuxt@gallop-systems-agent-skills
/plugin install frontend-design@gallop-systems-agent-skills
/plugin install gallop-ui@gallop-systems-agent-skills
/plugin install generate-documentation@gallop-systems-agent-skills

Updating

Update a specific skill to the latest version:

/plugin update kysely-postgres@gallop-systems-agent-skills

Auto-updates: Third-party marketplaces don't auto-update by default. To enable:

  1. Run /plugin and select Marketplaces
  2. Choose gallop-systems-agent-skills
  3. Select Enable auto-update

Install as an npm dependency (per-repo)

For JS/TS repos, you can pin the skills to a version via your lockfile instead of the marketplace. Add the package as a dev dependency:

yarn add -D @gallopsystems/agent-skills

On install, a postinstall script symlinks the package's content into the project, for both Claude Code and Codex:

  • skills — each directory containing a SKILL.md → .claude/skills/<name> (Claude Code) and .agents/skills/<name> (Codex). The SKILL.md format is identical for both agents, so each skill dir is linked verbatim. Everything ships as a skill: in current Claude Code a skill is both slash-invocable (/<name>) and model-invocable, so contribute-skill, for example, gives you /contribute-skill and gets auto-offered when relevant — no separate command needed.
  • commands — each .md file under any commands/ directory → .claude/commands/<name>.md (Claude only; Codex has no project command dir). Kept for legacy/Claude-only commands; this package ships none today.

Updating is just a version bump:

yarn up @gallopsystems/agent-skills

These links are generated artifacts (they point into node_modules and are recreated on every install), so ignore them in .gitignore:

.claude/skills
.claude/commands
.agents/skills

Notes:

  • The script never clobbers a real .claude/skills/<name>, .agents/skills/<name>, or .claude/commands/<name> you authored, and only removes symlinks it created. Run yarn unlink-skills to remove all managed links.
  • Works out of the box with Yarn (Classic, or Berry with nodeLinker: node-modules) and npm. pnpm (v10+) blocks dependency build scripts by default — add the package to pnpm.onlyBuiltDependencies for the postinstall to run.
  • Yarn Berry with the default PnP linker is not supported (no node_modules folder to link from); use nodeLinker: node-modules.

Available Skills

kysely-postgres

Type-safe Kysely query patterns for PostgreSQL. Automatically activates when working in Node.js/TypeScript projects with Kysely.

Covers:

  • Query patterns (SELECT, JOIN, WHERE, aggregations)
  • Migrations and recommended column types
  • JSON/JSONB and array handling
  • String concatenation
  • Common pitfalls to avoid

nuxt-nitro-api

Nuxt 4 / Nitro API patterns for building type-safe full-stack applications. Automatically activates when working in Nuxt 4 projects.

Covers:

  • Zod validation with h3 (Standard Schema support)
  • useFetch vs $fetch vs useAsyncData
  • Type inference (don't add manual types!)
  • nuxt-auth-utils (OAuth, WebAuthn, middleware)
  • Composables vs utils
  • SSR + localStorage patterns
  • Deep linking (URL params sync)
  • Nitro tasks and job queues
  • Server-Sent Events (SSE)
  • Third-party service integrations

nitro-testing

Test Nitro API handlers with real PostgreSQL using transaction rollback isolation. Each test runs in a transaction that auto-rolls back for complete isolation without cleanup overhead.

Covers:

  • Transaction rollback pattern (fast, isolated, real SQL)
  • Vitest custom fixtures (factories, db)
  • Mock event helpers (mockGet, mockPost, mockPatch, mockDelete)
  • Factory pattern for test data creation
  • Global stubs for Nuxt auto-imports
  • Async/automation testing utilities
  • CI/CD setup with GitHub Actions and PostgreSQL

linear

Create, triage, and manage Linear issues following team conventions, with a GraphQL CLI for operations the Linear MCP server doesn't expose.

Covers:

  • Issue creation and triage conventions
  • Tech-stack labels
  • A linear.mjs CLI for GraphQL operations

doctl

Manage DigitalOcean resources with the doctl CLI.

Covers:

  • Auth contexts (per-command --context over stateful switching)
  • Resolving the current git repo to its DO context + app
  • App Platform: deployments, bounded polling, logs and their retention quirks
  • App specs: env var/secret round-trips, validation, creating apps
  • --format / -o json gotchas
  • Managed databases, Spaces keys, droplets, DNS

git-github

Git and GitHub (gh CLI) workflows for agents.

Covers:

  • Ground rules and the branch → commit → PR loop
  • Reading PR and CI state (gh pr view --json, gh pr checks)
  • Debugging failed GitHub Actions runs (the full playbook)
  • Repair ladders: rejected pushes, rebase-after-squash-merge, shallow clones, worktrees
  • gh api recipes: PR comments, no-checkout file reads, repo settings, PAT gotchas
  • Releases: tags, npm Trusted Publishing, release-please
  • External review loop with the codex CLI

copier-template

Maintain a Copier project template and propagate updates to generated repos.

Covers:

  • Template anatomy: copier.yml, conditional files, tasks, jinja escaping in CI workflows
  • Testing template changes (--vcs-ref HEAD, generate-and-validate)
  • Releasing versions (tag + GitHub Release) and the update-checker workflow pattern
  • Applying copier update in descendants: conflict triage, .rej files, validation

gallop-ui

Use and change gallop-ui, Gallop's shared Nuxt UI layer, vendored into each app at layers/gallop-ui by git subtree. Activates in any repo with layers/gallop-ui.

Covers:

  • Using the layer in an app: auto-imports, pt, class, gallopUi in app.config, merge order, tokens and dark mode, /_ui
  • Finding the right component (exact, close or no match), primitives before composites, proposing a component
  • API principles and the bar for an API change (owner calls, semver, codemods)
  • Pulling a release: yarn ui:pull, ui:migrate, ui:tokens, ui:check, merge-commit subtree PRs
  • Changing the layer, checking every app with ui:impact and screenshot sweeps, and working rules learned the hard way

generate-documentation

Write a client-facing guide with real screenshots of the app, as a PDF, HTML page, email draft or WhatsApp messages. Run it as /generate-documentation <format> <what to document>.

Covers:

  • Two modes: answer (turn a client's questions into "you can already do this", "we changed it", "here's the fix") and announce (turn merged work into an unsolicited "you can now…" note)
  • Checking each answer in the code and the running app before writing it
  • Screenshots from a scratch copy of the app's fictional demo data only, never real data
  • bin/shots.mjs Playwright helpers (sign-in, still captures, highlight rings, region and element shots) and bin/render.mjs (HTML to PDF, plus a contact sheet for reviewing page breaks)
  • A guide template, writing rules for non-technical readers, and per-format rules

Contributing a Lesson Back

Every skill ends with a Contributing Back section: when Claude works through something the skill didn't cover, it offers to contribute the lesson upstream. The contribute-skill skill (run /contribute-skill on Claude Code, or let either agent invoke it when relevant) automates the flow: distill the generic lesson, privacy-sweep it, clone or fork this repo, and open a PR against the right skill file. PRs from forks are welcome — content must be generic (placeholders only, no project-specific names, IDs, or domains).

Adding New Skills

  1. Create a new plugin directory: plugins/my-skill/
  2. Add plugins/my-skill/.claude-plugin/plugin.json:
    {
      "name": "my-skill",
      "description": "Short description",
      "version": "1.0.0",
      "author": { "name": "yeedle" }
    }
    
  3. Add plugins/my-skill/skills/my-skill/SKILL.md with frontmatter:
    ---
    name: my-skill
    description: When to use this skill...
    ---
    
    # Skill content here
    
  4. Add any reference files alongside SKILL.md
  5. Register the plugin in .claude-plugin/marketplace.json
  6. Commit and push

版本与发布记录

@gallopsystems/agent-skills 共发布 39 个版本,首次发布于 2026/06/03;过去 12 个月发布了 39 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.32.0latest2026/10/2918 天前
1.31.22026/10/2027 天前
1.31.12026/10/1927 天前
1.31.02026/10/1927 天前
1.30.02026/10/011 个月前
1.29.02026/09/301 个月前

关于 @gallopsystems/agent-skills 的常见问题

@gallopsystems/agent-skills 是什么?

Gallop Systems agent skills, symlinked into .claude/skills (Claude Code) and .agents/skills (Codex) on install.

如何安装 @gallopsystems/agent-skills?

在项目目录运行 npm install @gallopsystems/agent-skills,或使用 pnpm add / yarn add / bun add。

@gallopsystems/agent-skills 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/gallopsystems__agent-skills 是否存在。

@gallopsystems/agent-skills 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=16。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@gallopsystems/agent-skills 可以商用吗?

@gallopsystems/agent-skills 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@gallopsystems/agent-skills 的下载量有多少?

根据 npm 官方下载统计,@gallopsystems/agent-skills 在 2026/10/16 – 2026/11/14 这 30 天内被下载 3,279 次,日均约 109 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@gallopsystems/agent-skills 还在维护吗?

最新版本 1.32.0 发布于 2026/10/29(18 天前);至今共发布 39 个版本,其中过去 12 个月发布了 39 个;首次发布于 2026/06/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。