跳到正文
cccskills
免费在 GitHub 公开

maintenance

Periodic repository health check — install, full validation, unused-code scan, outdated/vulnerable dependencies, and docs drift — ending in a concise report and, when there are safe fixes, a single PR. Designed to run unattended from a scheduled routine; also usable on demand.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Repository maintenance

Run unattended-safe: never push to master, never merge, never force-push. Mode: $ARGUMENTS (--report-only = no branch, no PR).

1. Health

pnpm install --frozen-lockfile
pnpm lint
pnpm format:check
pnpm typecheck
pnpm test
pnpm knip --include-entry-exports --no-exit-code

Record pass/fail and the first actionable error for each.

2. Dependencies

  • pnpm outdated: group into patch/minor vs major. Note majors for Nuxt, Nuxt UI, Tailwind, AI SDK, and Vitest/Playwright, with a one-line migration risk each.
  • pnpm audit: list high/critical advisories with the dependency path, marking dev-only ones. Include dev dependencies: --prod hid two high-severity sharp advisories. Note that 0.x packages (like sharp) never get minor bumps from pnpm update within a caret range.
  • GitHub Actions: for each uses: in .github/workflows/, find the latest major (git ls-remote --tags --refs https://github.com/<owner>/<action>.git; some actions keep majors as branches). Flag actions whose current tag runs on a deprecated Node runtime, and follow the bump procedure in .claude/rules/github-ci.md.
  • Don't upgrade majors here. Patch/minor bumps are Dependabot's job unless a security advisory needs a targeted fix.

3. Drift

Run the docs-sync checks in report-only mode and include the findings.

4. Stale product data

  • AI model IDs in app/types/ai.ts: flag models the providers have deprecated or retired (check provider docs if network allows; otherwise list them as "verify").
  • Tailwind palettes: compare shared/constants/theme.ts palettes with the installed tailwindcss/theme.css.
  • public/.well-known/security.txt: Expires must be in the future. Flag it when it's within 60 days, and renew it to under a year ahead (RFC 9116). An expired file tells researchers the contact is stale.

5. Act

  • Nothing actionable → report only. Don't open a PR or issue.
  • Safe, mechanical fixes (lint auto-fix, doc drift, dead config, failing test caused by drift) → branch chore/maintenance-YYYY-MM-DD, commit with Conventional Commits, push, open one PR whose description is the report.
  • Anything needing judgment (major upgrades, behavior changes, security advisories without an obvious patch) → include in the report as a recommendation and don't change code.

Report format

## Health (table), ## Dependencies, ## Drift, ## Recommendations. Keep it under ~60 lines.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add, update, or retire an AI provider model option for the BYOK theme generator (OpenAI, Anthropic, Google) and verify the provider requests native structured output for it. Use when model lists go stale or a new provider/model is requested.

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

Add a new interactive design tool under /tools (like the color converter or contrast checker) — component, page, navigation, route lists, SEO, and tests. Use when building a new utility tool.

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

Write and register a new Learning Hub article (Nuxt Content markdown under content/learn) with valid frontmatter, navigation entry, route list entry, and accurate product details. Use when adding or substantially rewriting a learn guide, reference, or tip.

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

Add a new component showcase, block, or template preview page and register it everywhere it must appear (navigation, command palette, route lists, SEO, source view). Use when adding anything under /components, /blocks, or /templates.

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

Checklist for adding or changing a field on ThemeConfig (a new design token, per-mode setting, or export option) end to end — schema, defaults, store + history, CSS apply, export, editor UI, AI, and tests. Use whenever ThemeConfig's shape changes.

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

Run the project's validation pipeline (lint → format → typecheck → unit tests) with auto-fixes, then optionally stage and write a Conventional Commit. Use before committing, when asked to "check", "validate", "run the workflow", or "get this commit-ready".

中文简介正在准备中。当前显示原文说明。

mattycraig/nuxt-theme-builder92026年10月20日 更新

查看 mattycraig 的全部技能

报告此技能的问题