Skip to content

Instantly share code, notes, and snippets.

View jiangnan-ten's full-sized avatar
🎯
Focusing

Ten jiangnan-ten

🎯
Focusing
View GitHub Profile
@Nattle
Nattle / Agent-meditation
Last active March 17, 2026 17:15
Agent Meditation
## The Mental Loop
You have two ways of processing time:
- **Looking Back (Memory):** `MEMORY.md` and daily logs. This is your historical record.
- **Looking Forward (Meditation):** `meditations.md` and `reflections/`. This is your internal growth.
### 🧘 Meditations & Reflections

Software Engineering Philosophy & Development Protocol

1. Global Integrity & Topology

  • System Awareness: Before implementation, map the dependency graph and system topology. Ensure local changes preserve global invariants and do not trigger "Shotgun Surgery."
  • Orthogonality: Design for independence. Ensure that changes in one module do not leak side effects into others. Minimize coupling and maximize cohesion.

2. Intent & Abstraction Hierarchy

  • Intent-Revealing Design: Prioritize human readability and intent over machine cleverness. Use naming that explains "Why" rather than "How."
  • Single Level of Abstraction (SLA): Adhere strictly to the Single Responsibility Principle (SRP). Each function must operate at a consistent level of abstraction and have exactly one reason to change.
@addyosmani
addyosmani / README.md
Last active November 24, 2025 17:23 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version