Skip to main content

code-change-verification

Run the verification stack (format, lint, typecheck, test) when changes affect runtime code, tests, or build config.

来源信息

仓库
pproenca/unifi-mcp
最近来源活动
2026年4月7日 07:52
检测到的 SKILL.md 语言
英语
星标
2
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
code-change-verification
description
Run the verification stack (format, lint, typecheck, test) when changes affect runtime code, tests, or build config.
# Code Change Verification ## Overview Ensure work is only marked complete after formatting, linting, type checking, and tests pass. Use this skill when changes affect runtime code (`src/`), tests, or build configuration. Skip it for docs-only or repository metadata changes unless a user asks for the full stack. ## Quick start ```bash bash .agents/skills/code-change-verification/scripts/run.sh ``` The script runs `npm run format` first, then `npm run lint`, `npm run typecheck`, and `npm test` in parallel with fail-fast semantics. ## Manual workflow Run from the repository root: 1. `npm run format` — apply formatting fixes 2. Then in parallel: `npm run lint`, `npm run typecheck`, `npm test` 3. Stop and fix issues immediately when a command fails. 4. Re-run the full stack after applying fixes. ## When to run - Changes to `src/` (server code, tools, types) - Changes to `tests/` - Changes to `package.json`, `tsconfig.json`, or CI config
在 GitHub 查看