Skill站外收录 @skilllib/skill-2117939930272414933
skill-review
执行技能文件的系统性审查,确保代码与文档一致、依赖更新且符合规范,通过自动化检测与人工分析识别配置错误、过时版本及虚假接口,保障技能可靠性与可维护性。
软件开发 AI 技能
Skills.MD
# Skill Review Skill
## Process
Invoke: `/review-skill <skill-name>` or use this skill when detecting outdated patterns
**Production evidence**: better-auth audit (2025-11-08) - found 6 critical issues including non-existent API imports, removed 665 lines incorrect code, implemented v2.0.0
---
## 9-Phase Audit
1. **Pre-Review**: Install skill, check version/date, test discovery
2. **Standards**: Validate YAML, keywords, third-person style, directory structure
3. **Official Docs**: WebFetch/Context7 verify API patterns, GitHub updates, npm versions, production repos
4. **Code Examples**: Verify imports exist, API signatures match, schema consistency, templates work
5. **Cross-File Consistency**: Compare SKILL.md vs README.md, bundled resources match files
6. **Dependencies**: Run `./scripts/check-versions.sh`, check breaking changes, verify "Last Verified"
7. **Categorize**: Severity (🔴 Critical / 🟡 High / 🟠 Medium / 🟢 Low) with evidence (GitHub/docs/npm)
8. **Fix**: Auto-fix unambiguous, ask user for architectural, update all files, bump version
9. **Verify**: Test discovery, templates work, no contradictions, commit with changelog
**Automated** (via `./scripts/review-skill.sh`): YAML syntax, package versions, broken links, TODOs, file org, staleness
**Manual** (AI): API methods vs docs, GitHub issues, production comparisons, code correctness, schema consistency
---
## Severity Classification
🔴 **CRITICAL**: Non-existent API/imports, invalid config, missing dependencies
🟡 **HIGH**: Contradictory examples, inconsistent patterns, outdated major versions
🟠 **MEDIUM**: Stale minors (>90d), missing docs sections, incomplete errors
🟢 **LOW**: Typos, formatting, missing optional metadata
## Fix Decision
**Auto-fix**: Unambiguous (correct import from docs), clear evidence, no architectural impact
**Ask user**: Multiple valid approaches, breaking changes, architectural choices
## Version Bumps
- **Major** (v1→v2): API patterns change
- **Minor** (v1.0→v1.1): New features, backward compatible
- **Patch** (v1.0.0→v1.0.1): Bug fixes only
---
## Example: better-auth Audit (2025-11-08)
**🔴 CRITICAL #1**: Non-existent `d1Adapter` import from `'better-auth/adapters/d1'`
- **Evidence**: Official docs show drizzleAdapter, GitHub has no d1Adapter export, 4 production repos use Drizzle/Kysely
- **Fix**: Replaced with `drizzleAdapter` from `'better-auth/adapters/drizzle'`
**Result**: 3 files deleted (obsolete), 3 created (correct patterns), +1,266 lines, v1.0→v2.0, 3.5 hours
---
## Issues Prevented (10)
1. **Fake API adapters** - Non-existent imports
2. **Stale API methods** - Changed signatures
3. **Schema inconsistency** - Different table names
4. **Outdated scripts** - Deprecated approaches
5. **Version drift** - Packages >90 days old
6. **Contradictory examples** - Multiple conflicting patterns
7. **Broken links** - 404 URLs
8. **YAML errors** - Invalid frontmatter
9. **Missing keywords** - Poor discoverability
10. **Incomplete bundled resources** - Listed files don't exist
---
## Bundled Resources
**Planning**: `~/.claude/skills/../planning/SKILL_REVIEW_PROCESS.md` or repo `planning/SKILL_REVIEW_PROCESS.md` (complete 9-phase guide)
**Scripts**: Repo root `scripts/review-skill.sh` (automated validation)
**Commands**: Repo root `commands/review-skill.md` (slash command, symlinked to `~/.claude/commands/`)
**References**: `references/audit-report-template.md` (output template)
---
**Last Verified**: 2026-01-09 | **Version**: 1.0.1
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「skill-review」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次