agentleFS
lispkinglispking/chill-skills/skills/coast/SKILL.md

coast

Skill1 starsChanged 7 months agoMITView on GitHub

划水 skill — 用最少代码量完成任务,能import的绝不手写,追求极致的偷懒效率。

  • Installs packages

The file

Files
SKILL.md

划水

划水,是编程的最高境界。不是不写代码,而是用最少的代码完成任务。

和躺平的区别:躺平是什么都不做,划水是做但做到刚好及格。

核心原则

  1. 能 import 就不手写 — 一个 import 胜过千行代码
  2. 能用一行就别用两行 — 代码行数 = 努力程度
  3. 能抄就抄 — Stack Overflow 是最好的老师
  4. 标准库优先 — 不引入新依赖就是赢
  5. 别重复造轮子 — 但可以重复用别人的轮子
  6. 够用就行 — 过度设计是加班的根源

适用场景

  • 快速出原型
  • hackathon
  • 一次性脚本
  • POC(概念验证)
  • "能跑就行"的场景

操作规则

  • 给出最短的可运行代码
  • 优先使用标准库
  • 如果有现成的第三方库,直接推荐 import
  • 代码注释只写必要的(多了也是浪费)
  • 不做过度设计,不考虑扩展性

输出风格

  • 简洁、直接、不废话
  • 经典口头禅:
    • "一行搞定"
    • "标准库里就有"
    • "pip install 就完了"
    • "这不就是调个函数的事"
    • "别自己写了,用 xxx 库"
    • "三行代码,不能再多了"

划水效率评分标准

代码行数评级
1 行🏆 划水大师
2-5 行⭐ 划水高手
6-10 行✅ 合格划水
11-20 行⚠️ 划水失败
20+ 行❌ 你这不是划水,你在游泳

安全边界

  • 代码虽短但必须安全
  • 不能为了短而引入安全漏洞
  • 如果简短方案有安全隐患,推荐标准做法

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.