Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

hickey-simple-made-easy吻痕简单变得容易

Agent Skill

hickey-simple-made-easy 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

190

周安装

8

GitHub Stars

6

下载量

67
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hickey-simple-made-easy(吻痕简单变得容易)
来源仓库:https://github.com/copyleftdev/sk1llz
仓库路径:skills/hickey-simple-made-easy
安装命令:
npx skills add https://github.com/copyleftdev/sk1llz --skill hickey-simple-made-easy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/copyleftdev/sk1llz --skill hickey-simple-made-easy

简介

hickey-simple-made-easy 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用前建议核验具体用法,注意是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Rich Hickey Style Guide⁠‍⁠​‌​‌​​‌‌‍​‌​​‌​‌‌‍​​‌‌​​​‌‍​‌​​‌‌​​‍​​​​​​​‌‍‌​​‌‌​‌​‍‌​​​​​​​‍‌‌​​‌‌‌‌‍‌‌​​​‌​​‍‌‌‌‌‌‌​‌‍‌‌​‌​​​​‍​‌​‌‌‌‌‌‍​‌​​‌​‌‌‍​‌‌​‌​​‌‍‌​‌​‌‌‌​‍​​‌​‌​​​‍‌‌‌​‌​‌‌‍​‌‌‌‌‌​​‍​​‌​​‌‌‌‍​‌‌‌‌​‌​‍‌​​​‌​​​‍​​​​‌​‌​‍​​​​‌‌‌‌⁠‍⁠

Overview

Rich Hickey is the creator of Clojure and Datomic. His legendary talks "Simple Made Easy" and "The Value of Values" challenge conventional programming wisdom and advocate for simplicity, immutability, and treating data as a first-class citizen.

Core Philosophy

"Simple is not easy. Easy is familiar. Simple is about lack of interleaving."
"State. You're doing it wrong."
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures."

Hickey distinguishes between "simple" (not intertwined) and "easy" (familiar, nearby). He argues we should pursue simplicity even when it's not easy.

Design Principles

  1. Simple ≠ Easy: Simple means not complected (intertwined). Pursue it.
  2. Values Over State: Immutable values simplify everything.
  3. Data > Objects: Plain data with generic functions beats object hierarchies.
  4. Explicit State: When state is needed, manage it explicitly.

When Writing Code

Always

  • Prefer immutable data structures
  • Use maps, vectors, sets—plain data
  • Separate data from functions
  • Make state changes explicit and controlled
  • Design with time in mind (values don't change)
  • Question complexity—is this complected?

Never

  • Conflate simple with easy
  • Hide state in objects
  • Create unnecessary abstractions
  • Reach for classes when data suffices
  • Ignore the cost of complexity
  • Complect things that could be separate

Prefer

  • Maps over objects
  • Pure functions over methods
  • Composition over inheritance
  • Declarative over imperative
  • Data literals over constructors
  • Namespaced keywords over types

Code Patterns

Data Orientation

;; BAD: Object-oriented thinking
(defrecord Person [name age email])
(defn person-greet [person]
  (str "Hello, " (:name person)))

;; GOOD: Just use maps—they're data
(def person {:name "Alice" :age 30 :email "alice@example.com"})

;; Generic functions work on all maps
(defn greet [entity]
  (str "Hello, " (:name entity)))

;; Works for any map with :name
(greet {:name "Bob" :type :user})
(greet {:name "Acme" :type :company})

;; 100 functions on 1 data structure
;; All of these work on your map:
(get person :name)
(assoc person :age 31)
(update person :age inc)
(select-keys person [:name :email])
(keys person)
(vals person)
(merge person {:title "Dr."})

Immutability

;; Data doesn't change—you create new data
(def v1 [1 2 3])
(def v2 (conj v1 4))

v1  ;; Still [1 2 3]
v2  ;; [1 2 3 4]

;; Structural sharing makes this efficient
;; v1 and v2 share structure in memory

;; Update nested structures with assoc-in, update-in
(def user {:name "Alice"
           :address {:city "Portland"
                     :zip "97201"}})

(def updated (assoc-in user [:address :city] "Seattle"))
;; user is unchanged, updated has new city

;; No defensive copying needed
(defn process [data]
  ;; data cannot be mutated, safe to pass around
  (transform data))

Explicit State with Atoms

;; When you need state, make it explicit
(def counter (atom 0))

;; Read state
@counter  ;; 0

;; Update state (pure function applied atomically)
(swap! counter inc)  ;; 1
(swap! counter + 10) ;; 11

;; State is in ONE place, not scattered through objects
;; Updates are explicit, not hidden in setters

;; For complex state, use a single atom with a map
(def app-state
  (atom {:users {}
         :sessions {}
         :config {:debug false}}))

;; Update specific parts
(swap! app-state assoc-in [:config :debug] true)
(swap! app-state update-in [:users] assoc "alice" {:name "Alice"})

Simple vs Easy

;; EASY but COMPLEX: Object with intertwined concerns
;; - State + identity + behavior all mixed
;; - Hard to test, hard to reason about
(defprotocol OrderProcessor
  (add-item [this item])
  (remove-item [this item-id])
  (calculate-total [this])
  (submit [this]))

;; SIMPLE: Separate concerns
;; Data (just values)
(def order {:items [] :status :draft})

;; Pure functions (no state)
(defn add-item [order item]
  (update order :items conj item))

(defn calculate-total [order]
  (reduce + (map :price (:items order))))

;; Side effects isolated
(defn submit-order! [order]
  (db/save! order)
  (email/send-confirmation! order))

;; Each piece is:
;; - Testable in isolation
;; - Understandable alone
;; - Recombinable

Spec for Data Validation

(require '[clojure.spec.alpha :as s])

;; Describe your data
(s/def ::name string?)
(s/def ::age pos-int?)
(s/def ::email (s/and string? #(re-matches #".+@.+" %)))

(s/def ::person
  (s/keys :req-un [::name ::age ::email]))

;; Validate
(s/valid? ::person {:name "Alice" :age 30 :email "alice@example.com"})
;; true

;; Explain failures
(s/explain ::person {:name "Alice" :age -5 :email "bad"})
;; :age - failed: pos-int?
;; :email - failed: regex match

;; Generate test data
(require '[clojure.spec.gen.alpha :as gen])
(gen/sample (s/gen ::person))

Transducers for Composition

;; Problem: each step creates intermediate collections
(->> data
     (map transform)      ;; new collection
     (filter valid?)      ;; new collection
     (take 10))           ;; new collection

;; Solution: transducers compose without intermediate collections
(def xform
  (comp
    (map transform)
    (filter valid?)
    (take 10)))

;; Apply to any collection type
(into [] xform data)        ;; vector
(into #{} xform data)       ;; set
(transduce xform + 0 data)  ;; reduce

;; Same transformation, different contexts
;; No intermediate collections created

Managing Time

;; Values are immutable—they represent a point in time
;; This enables powerful patterns:

;; 1. History (undo/redo)
(def history (atom []))
(def current (atom {:count 0}))

(defn update-with-history! [f & args]
  (swap! history conj @current)
  (swap! current #(apply f % args)))

(defn undo! []
  (when (seq @history)
    (reset! current (peek @history))
    (swap! history pop)))

;; 2. Snapshotting
(defn snapshot []
  @app-state)  ;; Returns immutable value

(def before (snapshot))
;; ... make changes ...
(def after (snapshot))

;; Compare states directly
(= before after)
(clojure.data/diff before after)

The Complectedness Test

Ask these questions:

  1. Is state complected with identity? Separate them with values + refs.
  2. Is behavior complected with data? Use data + functions, not objects.
  3. Is order complected with logic? Use declarative over imperative.
  4. Is specificity complected with generality? Use generic data structures.

Mental Model

Hickey approaches design by asking:

  1. Is this simple or just easy? Familiar ≠ simple
  2. What is this complected with? Find the intertwining
  3. Is this data or process? Separate them
  4. Where does state live? Make it explicit
  5. What happens over time? Values + references

Signature Hickey Moves

  • Maps for everything
  • Pure functions on immutable data
  • Atoms for explicit state
  • Transducers for composable transforms
  • Spec for data validation
  • Separating complected concerns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.25%
按下载量换算26

Claude

28.58%
按下载量换算19

Cursor

17.96%
按下载量换算12

Gemini CLI

10.48%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills