用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cardinalconseils/claude-starter --skill cks-canary命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | cks:canary |
| description | Post-deploy canary verification domain knowledge — console errors, page load, pass/fail criteria |
| allowed-tools | ["Bash","Write"] |
| Result | Condition |
|---|---|
| PASS | No console ERRORs. Page loads. No failure keywords in title/h1. |
| FAIL | Any console ERROR. Page fails to load. Failure keyword in title/h1. |
| PASS_WITH_WARNINGS | Console WARNs only. Page loads fine otherwise. |
Warnings do not block deploy. Errors do.
Check title tag and first <h1> for (case-insensitive):
404, 500, 503not found, page not founderror, something went wronginternal server errorforbidden, unauthorized (if URL is meant to be public)Brief. Lead with verdict. Show errors if any.
Canary: https://example.com
Status: PASS
Console errors: 0
Result saved: .cks/canary-last.json
Or on failure:
Canary: https://example.com
Status: FAIL
Console errors: 2
- TypeError: Cannot read property 'x' of undefined (app.js:142)
- Failed to load resource: 500 /api/health
Result saved: .cks/canary-last.json
.cks/canary-last.json:
{
"url": "https://example.com",
"timestamp": "2024-01-15T10:30:00Z",
"status": "pass",
"error_count": 0,
"errors": [],
"warnings": ["Deprecated: componentWillMount"]
}
| Rationalization | Reality |
|---|---|
| "The deploy script said success, that's enough" | Deploy success = files transferred. Canary = app actually works. Both required. |
| "Console warns are fine to ignore" | Warns = PASS_WITH_WARNINGS, not FAIL. But log them — they compound. |
| "The page loaded, no need to check console" | Invisible JS errors break user flows silently. Check console always. |
.cks/canary-last.json written with correct schema