huangpustar/metainfer/lock-hygiene
Claude Code and agent skill by huangpustar/metainfer
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
已持有锁的上下文禁止再调用会获取同一把锁的脚本(嵌套死锁);包装器检测到嵌套获取立即报错退出;排队时间与执行时间分开记录。
Install
npx vskill@latest install huangpustar/metainfer/lock-hygieneSKILL.md
锁纪律
何时触发:使用独占资源锁、文件锁、设备占用包装器。
规则
- 已持有锁的上下文里,禁止再调用会获取同一把锁的脚本或工具——嵌套获取是死锁的直接来源。
- 访问包装器检测到嵌套获取时立即报错退出,而非挂起等待;把死锁变成显式错误。
- 排队等锁的时间计入预算,并与真实执行时间分开记录——否则耗时归因会把"在排队"误判为"在干活"。
- 等锁超过预算时释放并上报,不死等。
反模式信号
- 外层包装器持锁、内层脚本再申请同一把锁,整个任务挂死到超时。
- 性能分析把等锁时间算进了执行时间,得出"慢"的错误结论。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingatomic-skills/lock-hygiene/SKILL.md
Popularity
- Repository stars
- 123
- Repository forks
- 17
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huangpustar/metainfer/lock-hygiene)