Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

arch-upkeep拱门维护

Agent Skill

arch-upkeep 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

724

周安装

29

GitHub Stars

15

下载量

234
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:arch-upkeep(拱门维护)
来源仓库:https://github.com/hairyf/skills
仓库路径:skills/arch-upkeep
安装命令:
npx skills add https://github.com/hairyf/skills --skill arch-upkeep
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hairyf/skills --skill arch-upkeep

简介

arch-upkeep 是一个元架构技能,用于判断现有项目是否符合特定 starter 栈结构(如 arch-tsdown-monorepo 等)。

  • 适合在项目演进过程中识别当前技术栈归属,并提供迁移路径或升级建议。
  • 使用时需提供项目根目录路径,工具将自动扫描结构特征并返回匹配结果与差异说明。
  • 安装前请确保有足够权限读取目标目录,注意该技能仅做模式识别,不涉及代码修改或强制迁移。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

arch-upkeep

arch-upkeep is a meta architecture skill for keeping existing projects aligned with the canonical starter stacks:

  • arch-tsdown-monorepo — pnpm monorepo for TS libs with tsdown per package
  • arch-tsdown — single-package TS library with tsdown
  • arch-tsdown-cli — CLI apps built on tsdown
  • arch-unplugin — libraries built as unplugin (Vite/Rollup/Webpack/ESBuild)
  • arch-webext-vue — browser extensions using Vue
  • arch-vscode — VS Code extensions

Use this skill when a project already exists and you want to:

  • Identify what architecture it currently matches (lib / CLI / monorepo / webext / vscode / unplugin / mixed)
  • Plan a migration to one of the canonical arch-* starters
  • Incrementally upgrade tooling, scripts, and CI without rewriting app logic
This skill does not re-specify each architecture in detail — it helps you pick which arch-skill to apply and in what order.

Quick start

  1. Classify the repo using the checks in 1. Detect current architecture.
  2. Map to target skills using 2. Choose the target architecture skill(s).
  3. **Ensure required arch-* skills are installed via 2.1 Check & install required skills**.
  4. Plan incremental migration using 3. Migration strategy (incremental) and 4. Architecture-specific notes.
  5. Run an upkeep pass with the checklist in 5. Checklist: running an “arch upkeep” on a repo.

1. Detect current architecture

Start by classifying the repo. Use these quick heuristics (you can apply multiple, projects may be “monorepo + CLI” etc.):

  • Monorepo (arch-tsdown-monorepo candidate)

- Has pnpm-workspace.yaml or packages/*, apps/*, or similar layout - Multiple package.json files under packages/ or apps/ - Shared tooling at root (eslint.config.*, vitest.config.*, tsconfig.base.json, etc.)

  • Single TS library (arch-tsdown candidate)

- Single package.json at root - Library-style exports (main, module, types, maybe exports) - No bin entrypoint, no browser manifest, no VS Code extension manifest

  • CLI (arch-tsdown-cli candidate)

- Root package.json with "bin" or "package.json#exports" pointing to CLI entry - Uses #!/usr/bin/env node in entry file - Often depends on cac, commander, yargs, etc.

  • unplugin-based library (arch-unplugin candidate)

- Depends on unplugin - Exports createUnplugin, or has files under src/core/, src/vite.ts, src/webpack.ts, etc. - Targets bundlers (Vite/Rollup/Webpack/ESBuild)

  • Browser extension + Vue (arch-webext-vue candidate)

- Has manifest.json/manifest.v3.json (Chrome/Firefox extension) - Vue SPA for popup/options or content scripts - Build tooling around web extension dev (web-ext, wxt, or custom scripts)

  • VS Code extension (arch-vscode candidate)

- Has package.json with "contributes", "activationEvents", "engines.vscode" - src/extension.ts or similar activation entry

Once you know what it “mostly is”, pick one primary architecture as the upgrade target. If the repo is mixed (e.g. monorepo with a CLI package), pair arch-tsdown-monorepo with the relevant per-package skill (arch-tsdown, arch-tsdown-cli, etc.).

2. Choose the target architecture skill(s)

Map your classification to the canonical skills:

  • pnpm multi-package repo → start with arch-tsdown-monorepo
  • Single TS libraryarch-tsdown
  • CLI (single or inside a monorepo package) → arch-tsdown-cli
  • unplugin lib → arch-unplugin (often inside an arch-tsdown or monorepo setup)
  • Browser extension + Vuearch-webext-vue (app layer) plus arch-tsdown for any shared libs
  • VS Code extensionarch-vscode (extension app) plus arch-tsdown for shared libs

Then:

  1. **Open the corresponding arch-* skill(s)**.
  2. Use their “overview” / “core” references as the target design you want your existing repo to converge to.
  3. Plan an incremental migration: configs and scripts first, CI next, then release automation.

2.1 Check & install required skills

Because arch-upkeep is only an orchestrator, it expects the concrete arch-* skills to be installed and usable in the agent environment.

Recommended flow:

  1. List installed skills in your agent runtime

- Use your platform’s “list skills” command / UI (for example, look for arch-tsdown-monorepo, arch-tsdown, arch-tsdown-cli, arch-unplugin, arch-webext-vue, arch-vscode). - If a target architecture skill is already present, you can call it directly.

  1. If a required skill is missing, install it by name

- From the Agent Skills catalog (or your platform’s marketplace), search for the exact name, e.g. arch-tsdown-monorepo. - Install it into the current agent profile / workspace.

  1. Verify installation before proceeding

- Re-run the “list skills” view and confirm the skill appears and is enabled. - Optionally open its SKILL.md (or skill details in UI) to confirm version and scope.

  1. Compose multiple skills in one upkeep session

- For monorepo + CLI: use arch-tsdown-monorepo + arch-tsdown-cli on the CLI package, and arch-tsdown for shared libs. - For VS Code extension with shared libs: use arch-vscode for the extension host + arch-tsdown for shared modules. - For web extension + shared TS libs: use arch-webext-vue for the extension app + arch-tsdown for the reusable packages.

Only after the relevant skills are installed and verified should you start applying the migration steps below.

3. Migration strategy (incremental)

General principles:

  • Do not rewrite app logic. Only swap out infrastructure (build, test, lint, CI, release).
  • One layer at a time. Avoid changing bundler, test runner, and tsconfig all in a single PR if you can split it.
  • Keep Git history readable. Separate commits for “tooling move” vs “code fixes”.

Recommended order:

  1. Normalize package layout

- For monorepos: align packages/* layout, root package.json, workspace ranges, pnpm catalogs as per arch-tsdown-monorepo. - For single packages: align folder structure (src/, dist/, tests/), tsconfig names, etc. with arch-tsdown.

  1. Migrate build to tsdown (where applicable)

- Replace legacy build scripts (tsc, rollup, tsup, etc.) with tsdown configs from the target skill. - Ensure package.json#exports, main/module/types, and files fields match the target pattern.

  1. Align testing and linting

- Move to the recommended test runner (Vitest) and ESLint setup from the relevant arch skill. - For monorepos, centralize configs at root with per-package overrides where needed.

  1. Synchronize scripts

- Standardize on the script names from the target architecture (build, dev, test, lint, typecheck, release, etc.). - For monorepos, prefer root scripts using pnpm -r or pnpm --filter.

  1. Upgrade CI and release

- Adopt the GitHub Actions / release workflows from the relevant arch skills. - If applicable, migrate to npm Trusted Publisher, tag-based release, and bumpp or similar.

  1. Clean up

- Remove obsolete configs, scripts, and unused devDependencies once the new pipeline is green.

4. Architecture-specific notes

  • When targeting arch-tsdown-monorepo:

- Centralize tooling (ESLint, Vitest, TS base config) at root. - Convert cross-package dependencies to workspace:* ranges. - Make each package buildable with tsdown independently.

  • When targeting arch-tsdown or arch-tsdown-cli:

- Treat the package as a canonical TS library/CLI; keep src/ clean and side-effect free where possible. - Ensure binary entrypoints are small bootstrap files that import from internal modules.

  • When targeting arch-unplugin:

- Keep the unplugin core small and composable. - Provide clear exports for different bundlers (Vite, Rollup, Webpack, ESBuild) via the unified unplugin API.

  • When targeting arch-webext-vue:

- Separate app UI (Vue) from background/service worker logic and shared utilities. - Prefer shared TS libs (using arch-tsdown) for logic that can be reused outside the extension.

  • When targeting arch-vscode:

- Keep the extension host code (activation, commands) thin. - Move heavy logic to shared TS libs where possible.

5. Checklist: running an “arch upkeep” on a repo

Use this as a repeatable workflow:

  1. Classify architecture (monorepo / lib / CLI / unplugin / webext / vscode).
  2. **Pick the primary arch-* skill(s)** that match the desired end state.
  3. Read their overview/core references and write down the target structure and scripts.
  4. Plan incremental steps (layout → build → test/lint → CI → release).
  5. Apply changes while keeping app logic intact.
  6. Delete legacy tooling once the new pipeline passes.

After this, the project should look and behave like it was originally scaffolded from the chosen starter, which makes future maintenance and onboarding much easier.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.73%
按下载量换算86

Claude

30.65%
按下载量换算72

Cursor

18.55%
按下载量换算43

Gemini CLI

11.27%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills