Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ddd2ea068 | |||
| 4cbadee0ba | |||
| 351b717add | |||
| a24c2bb778 |
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: Molecule AI coding discipline. Enforces Think Before Coding, Simplicity First, Surgical Changes, and Goal-Driven Execution on all code changes.
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Molecule Coding Discipline
|
||||
|
||||
Follow the 4 principles on every code change:
|
||||
|
||||
1. **Think Before Coding** — State assumptions. Present tradeoffs. Ask when unclear.
|
||||
2. **Simplicity First** — Minimum code. No speculative features. No single-use abstractions.
|
||||
3. **Surgical Changes** — Only touch what the task requires. Match existing style exactly. Don't "improve" adjacent code.
|
||||
4. **Goal-Driven Execution** — Define success criteria before coding. Verify after.
|
||||
|
||||
Every changed line must trace directly to the user's request.
|
||||
@@ -1,3 +1,16 @@
|
||||
# Coding Discipline (Karpathy 4)
|
||||
|
||||
All code changes in this workspace follow these principles:
|
||||
|
||||
1. **Think Before Coding** — State assumptions explicitly. If unclear, ask, don't guess.
|
||||
2. **Simplicity First** — Minimum code that solves the problem. No speculative abstractions.
|
||||
3. **Surgical Changes** — Only touch what the task requires. Match existing style exactly.
|
||||
4. **Goal-Driven Execution** — Define verifiable success criteria before implementing.
|
||||
|
||||
For concrete anti-pattern examples, see the `coding-discipline` skill or `EXAMPLES.md` in the Karpathy guidelines repo.
|
||||
|
||||
---
|
||||
|
||||
# Agent Workspace
|
||||
|
||||
You are an AI agent running inside an Molecule AI workspace container. You are part of a multi-agent organization managed by a central platform.
|
||||
|
||||
Reference in New Issue
Block a user