Inversion Exercise by aaaaqwq/claude-code-skills
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill 'Inversion Exercise'翻转每一个假设,看看哪些仍然成立。有时对立面反而揭示了真相。
核心原则: 逆向思考能暴露隐藏的假设和替代方案。
| 常规假设 | 逆向思考 | 揭示的要点 |
|---|---|---|
| 缓存以减少延迟 | 增加延迟以实现缓存 | 防抖模式 |
| 需要时拉取数据 | 在需要前推送数据 | 预取、预加载 |
| 错误发生时处理 | 使错误不可能发生 | 类型系统、契约 |
| 构建用户想要的功能 | 移除用户不需要的功能 | 简化胜于添加 |
| 为常见情况优化 | 为最坏情况优化 | 弹性模式 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
问题: 用户抱怨应用运行缓慢
常规方法: 让一切更快(缓存、优化、CDN)
逆向思考: 在某些地方故意让速度变慢
洞见: 策略性的"慢"可以提升用户体验
每周安装量
0
代码仓库
GitHub 星标数
11
首次出现时间
1970年1月1日
安全审计
Flip every assumption and see what still works. Sometimes the opposite reveals the truth.
Core principle: Inversion exposes hidden assumptions and alternative approaches.
| Normal Assumption | Inverted | What It Reveals |
|---|---|---|
| Cache to reduce latency | Add latency to enable caching | Debouncing patterns |
| Pull data when needed | Push data before needed | Prefetching, eager loading |
| Handle errors when occur | Make errors impossible | Type systems, contracts |
| Build features users want | Remove features users don't need | Simplicity >> addition |
| Optimize for common case | Optimize for worst case | Resilience patterns |
Problem: Users complain app is slow
Normal approach: Make everything faster (caching, optimization, CDN)
Inverted: Make things intentionally slower in some places
Insight: Strategic slowness can improve UX
Weekly Installs
0
Repository
GitHub Stars
11
First Seen
Jan 1, 1970
Security Audits
测试策略完整指南:单元/集成/E2E测试金字塔与自动化实践
11,200 周安装