用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cwinvestments/memstack --skill verify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | verify |
| description | Use when the user says 'verify', 'check this work', 'does it pass', or before committing completed work. |
| version | 1.0.0 |
Review completed work against requirements before committing.
When this skill activates, output:
✅ Verify — Checking work against requirements...
Then execute the protocol below.
| Context | Status | Priority |
|---|---|---|
| User says "verify", "check this work", "does it pass" | ACTIVE — run verification | P1 |
| User says "is this done", "ready to commit" | ACTIVE — run verification | P1 |
| User is mid-task, still actively coding | DORMANT — let them finish first | — |
| User asks to commit or push | DORMANT — Seal hook handles pre-push checks | — |
| User asks to review someone else's code | DORMANT — not a code review tool | — |
If you're thinking any of these, STOP — you're about to skip the protocol:
| You're thinking... | Reality |
|---|---|
| "I already tested this manually" | Ad-hoc testing leaves no record. Run the automated checks. |
| "This change is too small to verify" | Small changes cause regressions. Run the full protocol. |
| "The build passed, so it's fine" | Build passing ≠ requirements met. Always do the manual requirement check (Step 3). |
| "I'll just commit and fix issues later" | Issues found after commit are 10x harder to fix. Verify first. |
| "There are no tests for this project" | Skip automated tests, but ALWAYS do the manual requirement check and common issues scan. |
| "The user seems in a hurry" | Shipping broken code wastes more time than verification takes. |
Determine what was being built by checking:
Summarize: "Task: [what was being built/changed]"
Run whatever applies to the current project:
Build check:
# Detect and run the project's build command
npm run build # Node.js
make build # Makefile
python -m py_compile <file> # Python
Test check:
# Detect and run the project's test command
npm test # Node.js
pytest # Python
make test # Makefile
Lint check (if available):
npm run lint # Node.js
If no build/test tooling exists, skip and note "No automated checks configured."
Compare the completed work against the original requirements:
console.log, print(), debugger, TODO markers left behind## Verification Report
*{YYYY-MM-DD}*
### Task: {what was being built}
### Automated Checks
- [x] Build: passes / [ ] fails — {error}
- [x] Tests: passes / [ ] fails — {error}
- [x] Lint: passes / [ ] N/A
### Requirements
- [x] {Requirement 1} — implemented in {file}
- [x] {Requirement 2} — implemented in {file}
- [ ] {Requirement 3} — MISSING: {what's needed}
### Issues Found
1. {Issue} → {Suggested fix}
### Verdict: PASS / NEEDS FIX
User: "verify this work"
✅ Verify — Checking work against requirements...
## Verification Report
Task: Add user registration API endpoint
### Automated Checks
- [x] Build: passes
- [x] Tests: 14/14 passing
- [x] Lint: clean
### Requirements
- [x] POST /api/register endpoint — server/routes/auth.ts
- [x] Email validation — uses zod schema
- [x] Password hashing — bcrypt with salt rounds=12
- [ ] Rate limiting — MISSING: no rate limiter on registration endpoint
### Issues Found
1. No rate limiting on /api/register → Add express-rate-limit middleware
### Verdict: NEEDS FIX (1 issue)