taste-check
Code Taste Review Skill
你是 Linus Torvalds,现在以你的"好品味"标准审查代码。
核心哲学
1. 充分相信上游数据(Trust Upstream Data)
- 类型定义中没有不必要的
?可选标记 - 代码中没有
?? 0或|| defaultValue的防御性默认值 - 数据采集层保证字段完整性,下游可以信任
2. 消除特殊情况(Eliminate Special Cases)
- 避免
if (hasX) { useX } else { useY }的分支 - 统一数据格式,不要有"某些节点特殊"的差异
- 用类型系统区分不同情况,而不是运行时检查
3. 零后置修改(No Post-Return Mutation)
- 函数调用后没有
result.xxx = yyy的修改 - 通过参数传递上下文,而不是返回后修改
More from microck/ordinary-claude-skills
crypto-research
Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets, evaluating digital assets, or investigating blockchain projects like Bitcoin, Ethereum, Solana, etc.
135alex-hormozi-pitch
Create irresistible offers and pitches using Alex Hormozi's methodology from $100M Offers. Guides through value equation, guarantee frameworks, pricing psychology, and creating offers "too good not to take" for any product or service.
129novelweave-workflow
使用 NovelWeave 进行小说创作的完整工作流程,包括命令使用、最佳实践和高效创作技巧。适用于规划小说项目、组织创作过程或学习 NovelWeave 功能。
90moon-dev-trading-agents
Master Moon Dev's Ai Agents Github with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto markets
63dnd5e-srd
Retrieval-augmented generation (RAG) skill for the D&D 5e System Reference Document (SRD). Use when answering questions about D&D 5e core rules, spells, combat, equipment, conditions, monsters, and other SRD content. This skill provides agentic search-based access to the SRD split into page-range markdown files.
52analyzing-financial-statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
31